GFX_RESOURCE Enumeration

Microchip Graphics Library

Microchip Graphics Library
GFX_RESOURCE Enumeration
C
typedef enum {
  FLASH = 0x0000,
  EXTERNAL = 0x0001,
  FLASH_JPEG = 0x0002,
  EXTERNAL_JPEG = 0x0003,
  RAM = 0x0004,
  EDS_EPMP = 0x0005,
  IMAGE_MBITMAP = 0x0000,
  IMAGE_JPEG = 0x0100,
  COMP_NONE = 0x0000,
  COMP_RLE = 0x1000,
  COMP_IPU = 0x2000
} GFX_RESOURCE;
Overview

Memory type enumeration to determine the source of data. Used in interpreting bitmap and font from different memory sources.

Members
Members 
Description 
FLASH = 0x0000 
internal flash 
EXTERNAL = 0x0001 
external memory 
FLASH_JPEG = 0x0002 
internal flash 
EXTERNAL_JPEG = 0x0003 
external memory 
RAM = 0x0004 
RAM 
EDS_EPMP = 0x0005 
memory in EPMP, base addresses are are set in the hardware profile 
IMAGE_MBITMAP = 0x0000 
data resource is type Microchip bitmap 
IMAGE_JPEG = 0x0100 
data resource is type JPEG 
COMP_NONE = 0x0000 
no compression 
COMP_RLE = 0x1000 
compressed with RLE 
COMP_IPU = 0x2000 
compressed with DEFLATE (for IPU) 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved