The tcDspLcd class provides access to a 16-bit color (5-6-5) display device. It is derived from the tcDspDisplayDriver base class to provide a consistent interface to the underlying frame buffer. Additional functions to set and get the display backlighting are provided. This driver in turn may be used to setup direct access to the device's frame buffer, or may be used in conjunction with the tcDisplay class.
A flag is provided to allow use with portrait or landscape devices.
This is a simple example of tcDspQvga16 creation and usage:
#define LCD_BASE 0xB0000480 { tcDspLcd *mpLcdDisplay; // create interface to QVGA display, and provide DMA access and channel mpLcdDisplay = new tcDspLCd((void *)QVGA_DISPLAY_BASE); // Usually used in conjunction with tcDspDisplay, see this class // for example usage... ... }