Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Members
Members Description
union {
uint32_t extAddress;
GFX_FONT_SPACE char * progByteAddress;
char * ramAddress;
__eds__ char * edsAddress;
} location;
This defines the location of the font resource in memory.
Depending on the type, the address location is interpreted
accordingly.
uint32_t extAddress; An external address.
GFX_FONT_SPACE char * progByteAddress; An 8-bit addresses in the program section.
char * ramAddress; An addresses in RAM.
__eds__ char * edsAddress; An addresses in EDS.
GFX_FONT_HEADER header; The header that describes the font resource.
Description
Typedef: GFX_RESOURCE_FONT
Defines the structure used for the font type resource.
Remarks
None.
1.6.1.2.18 GFX_RESOURCE_HDR Type
Defines the structure used for the resource types.
File
gfx_types_resource.h
Syntax
typedef struct {
GFX_RESOURCE type;
uint16_t ID;
union {
GFX_RESOURCE_IMAGE image;
GFX_RESOURCE_FONT font;
GFX_RESOURCE_BINARY binary;
GFX_RESOURCE_PALETTE palette;
} resource;
} GFX_RESOURCE_HDR;
Members
Members Description
GFX_RESOURCE type; Graphics resource type, determines the type and location of
data
uint16_t ID; memory ID, user defined value to differentiate between
graphics resources of the same type When using
EDS_EPMP the following ID values are reserved and used
by the Microchip display driver 0 - reserved (do not use) 1 -
reserved for base address of EPMP CS1 2 - reserved for
base address of EPMP CS2
union {
GFX_RESOURCE_IMAGE image;
GFX_RESOURCE_FONT font;
GFX_RESOURCE_BINARY binary;
GFX_RESOURCE_PALETTE palette;
} resource;
This defines the type of the resource. Depending on the
type, the resource is accessed and rendered accordingly.
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
152

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh