Device Driver Options Macros

Microchip Graphics Library

Microchip Graphics Library
Device Driver Options Macros
Macros
Name 
Description 
Defines the display controller's physical interface to the display panel. Valid Values:
  • 1, 4, 8, 16, 18, 24
  • 1, 4, 8 are usually used in MSTN and CSTN displays
  • 16, 18 and 24 are usually used in TFT displays.
 
Defines the display rotation with respect to its native orientation. For example, if the display has a resolution specifications that says 240x320 (QVGA), the display is natively in portrait mode. If the application uses the display in landscape mode (320x240), then the orientation must be defined as 90 or 180 degree rotation. Graphics Library will calculate the actual pixel location to rotate the contents of the screen. So when users view the display, the image on the screen will come out in the correct orientation. Valid values:
  • 0 : display in its native orientation
  • 90 : rotated 90 degrees clockwise... more 
Defines the native horizontal dimension of the screen. This is the horizontal pixel count given by the display's data sheet. For example a 320x240 display will have DISP_HOR_RESOLUTION of 320. Valid Values:
  • dependent on the display glass resolution used.
 
Defines the native vertical dimension of the screen. This is the vertical pixel count given by the display's data sheet. For xxample a 320x240 display will have DISP_VER_RESOLUTION of 240. Valid Values:
  • dependent on the display glass resolution used.
 
Defines the horizontal front porch. DISP_HOR_BACK_PORCH + DISP_HOR_FRONT_PORCH + DISP_HOR_PULSE_WIDTH makes up the horizontal blanking period. Value used will be based on the display panel used. 
Defines the horizontal back porch. DISP_HOR_BACK_PORCH + DISP_HOR_FRONT_PORCH + DISP_HOR_PULSE_WIDTH makes up the horizontal blanking period. Value used will be based on the display panel used. 
Defines the vertical front porch. DISP_VER_BACK_PORCH + DISP_VER_FRONT_PORCH + DISP_VER_PULSE_WIDTH makes up the vertical blanking period. Value used will be based on the display panel used. 
Defines the vertical back porch. DISP_VER_BACK_PORCH + DISP_VER_FRONT_PORCH + DISP_VER_PULSE_WIDTH makes up the vertical blanking period. Value used will be based on the display panel used. 
Defines the horizontal sync signal pulse width in pixels. Value used will be based on the display panel used. 
Defines the vertical sync signal pulse width in lines. Value used will be based on the display panel used. 
Indicates that the color data is sampled in the falling edge of the pixel clock. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved