IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


Constants And Macro Functions

This section documents constants and macro functions used thoughout the graphics library. More...

Defines

#define GC_LIB_VER   0x0220
#define GC_MIN_SW_INTERFACE_VER   0x0000
#define GC_CONTROLLER_TYPE_GC01
#define GC_CONTROLLER_TYPE_GC02
#define GC_CONTROLLER_TYPE_GC04
#define GC_I2C_SLAVE_ADDRESS
#define GC_I2C_SPEED_PARAM_N
#define GC_I2C_SPEED_PARAM_M
#define GC_BLACK   0x00000000UL
#define GC_GRAY   0x00808080UL
#define GC_MAROON   0x00800000UL
#define GC_RED   0x00FF0000UL
#define GC_GREEN   0x00008000UL
#define GC_LIME   0x0000FF00UL
#define GC_OLIVE   0x00808000UL
#define GC_YELLOW   0x00FFFF00UL
#define GC_NAVY   0x00000080UL
#define GC_BLUE   0x000000FFUL
#define GC_PURPLE   0x00800080UL
#define GC_FUCHSIA   0x00FF00FFUL
#define GC_TEAL   0x00008080UL
#define GC_AQUA   0x0000FFFFUL
#define GC_SILVER   0x00C0C0C0UL
#define GC_WHITE   0x00FFFFFFUL
#define GC_FONT_MAX_NAME_LENGTH   63
#define GC_INIT_PARAMS_GC01_POWER_UP_SIZE   5
#define GC_INIT_PARAMS_GC02_POWER_UP_SIZE   GC_INIT_PARAMS_GC01_POWER_UP_SIZE
#define GC_INIT_PARAMS_GC01_CTRL_HSYNC_ENABLE
#define GC_INIT_PARAMS_GC02_CTRL_HSYNC_ENABLE
#define GC_INIT_PARAMS_GC01_CTRL_HSYNC_INVERT
#define GC_INIT_PARAMS_GC02_CTRL_HSYNC_INVERT
#define GC_INIT_PARAMS_GC01_CTRL_VSYNC_ENABLE
#define GC_INIT_PARAMS_GC02_CTRL_VSYNC_ENABLE
#define GC_INIT_PARAMS_GC01_CTRL_VSYNC_INVERT
#define GC_INIT_PARAMS_GC02_CTRL_VSYNC_INVERT
#define GC_INIT_PARAMS_GC01_CTRL_DATA_ENABLE_ENABLE
#define GC_INIT_PARAMS_GC02_CTRL_DATA_ENABLE_ENABLE
#define GC_INIT_PARAMS_GC01_CTRL_DATA_ENABLE_INVERT
#define GC_INIT_PARAMS_GC02_CTRL_DATA_ENABLE_INVERT
#define GC_INIT_PARAMS_GC01_CTRL_DATA_INVERT
#define GC_INIT_PARAMS_GC02_CTRL_DATA_INVERT
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_INVERT
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_INVERT
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_DISABLE
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_DISABLE
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_DIVIDER_1
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_DIVIDER_1
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_DIVIDER_2
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_DIVIDER_2
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_DIVIDER_4
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_DIVIDER_4
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_DIVIDER_8
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_DIVIDER_8
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_24_MHZ
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_24_MHZ
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_32_MHZ
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_32_MHZ
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_38_MHZ
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_38_MHZ
#define GC_INIT_PARAMS_GC01_CTRL_CLOCK_48_MHZ
#define GC_INIT_PARAMS_GC02_CTRL_CLOCK_48_MHZ
#define GC_INIT_PARAMS_GC01_CTRL_DISABLE_MUXED_MODE
#define GC_INIT_PARAMS_GC02_CTRL_DISABLE_MUXED_MODE
#define GC_INIT_PARAMS_GC01_POWER_UP_BACKLIGHT
#define GC_INIT_PARAMS_GC02_POWER_UP_BACKLIGHT
#define GC_INIT_PARAMS_GC01_POWER_UP_DISPLAY
#define GC_INIT_PARAMS_GC02_POWER_UP_DISPLAY
#define GC_INIT_PARAMS_GC01_POWER_UP_DISPLAY_LOGIC
#define GC_INIT_PARAMS_GC02_POWER_UP_DISPLAY_LOGIC
#define GC_INIT_PARAMS_GC01_POWER_UP_VIDEO_ENABLE
#define GC_INIT_PARAMS_GC02_POWER_UP_VIDEO_ENABLE
#define GC_INIT_PARAMS_GC04_SCREENMODE_MIRROR_X
#define GC_INIT_PARAMS_GC04_SCREENMODE_MIRROR_Y
#define GC_INIT_PARAMS_GC04_SCREENMODE_SWAP_XY
#define GC_INIT_PARAMS_GC04_SCREENMODE_24BIT
#define GC_SYSTEM_ERROR_COMM   1000
#define GC_COLOR_RGB(red, green, blue)
#define GC_TA_HORIZONTAL

Variables

const GcFont gGcSystemFont
const GcInitParamsGc01 gGcInitParamsGc01HitachiTx09d70vm1cca
 Initialisation parameters for FB60-GC01.
const GcInitParamsGc02 gGcInitParamsFb54Gc02
 Initialisation parameters for FB54-GC02.
const GcInitParamsGc04 gGcInitParamsGc04DLC0430EZG_T_2
 Initialisation parameters for DLC display for GC04 4,3 inch display.
const GcInitParamsGc04 gGcInitParamsGc04DLC0700BZG_T
 Initialisation parameters for DLC display for GC04 7 inch display.
const GcInitParamsGc04V2 gGcInitParamsGc04DLC0430EZG_T_2_V2
 Initialisation parameters for DLC display for GC04 4,3 inch display, extended version 2.
const GcInitParamsGc04V2 gGcInitParamsGc04DLC0700BZG_T_V2
 Initialisation parameters for DLC display for GC04 7 inch display, extended version 2.

Detailed Description

In this section several constants and macro functions are defined that simplify the usage of this library.

The constants and macros are defined in the header file gclib_defines.h, which will be automatically included along with gclib.h.






Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1