µC/GUI LCD1200 Driver
You are here : Micrium
: Products : µC/GUI :
LCD1200 Driver
Supported controllers
This driver has been tested with the following LCD controllers:
- Toppoly C0C0
- Toppoly C0E0
It should be assumed that it will also work with any controller
of similar organization.
Bits per pixel
The supported color depth is 16 bpp.
Interfaces
The driver supports 16-bit parallel (simple bus) interface.
Display data RAM organization

The picture above shows the relation between the display memory and the SEG and COM lines of the LCD.
Additional RAM requirements of the driver
The driver can be used with a write buffer used for drawing multiple pixels of the same color. If multiple pixels of the same color should be drawn the driver first fills the buffer and then executes only one time the macro LCD_WRITEM_A1 to transfer the data to the display controller. The default buffer size is 500 words.
Additional driver functions
None.
Hardware configuration
This driver accesses the hardware with a simple bus interface as
described in the "Low-Level Configuration" chapter of the user manual. The following
table lists the macros which must be defined for hardware access:
| Macro |
Description |
| LCD_INIT_CONTROLLER |
Initialization sequence for the LCD controller. |
| LCD_WRITE_BUFFER_SIZE |
Using a write buffer increases the performance of the driver. If multiple pixels should be written with the same color the driver first fills the buffer and then writes the contents of the buffer with one execution of the macro LCD_WRITEM_A1 instead of multiple executions. The default buffer size is 500 words. |
| LCD_READ_A1 |
Reads a word from display controller with RS-line high. |
| LCD_WRITEM_A1 |
Writes multiple words to display controller with RS-line high. |
| LCD_WRITE_A0 |
Writes multiple words to display controller with RS-line low. |
| LCD_WRITE_A1 |
Writes multiple words to display controller with RS-line high. |
Additional configuration switches
None.
Special requirements for certain LCD controllers
The driver needs to work in the fixed palette mode 565, which is the default value for 16 bit per pixel configurations. The driver does not work with other palettes. Further the driver needs to swap the red and the blue part of the color index. You should use the following macro definitions in the file LCDConf.h:
#define LCD_SWAP_RB 1
|