Download uC/GUI user manual

Transcript
793
Type
Macro
Default
Explanation
Full bus interface configuration
F
LCD_READ_MEM(Index)
---
Read the contents of video memory of controller.
F
LCD_READ_REG(Index)
---
Read the contents of a configuration register of
controller.
F
LCD_WRITE_MEM(Index,Data) ---
Write to video memory (display data RAM) of
controller.
F
LCD_WRITE_REG(Index,Data) ---
Write to a configuration register of controller.
S
LCD_BUSWIDTH
16
Select bus-width (8/16) of LCD controller/CPU
interface.
F
LCD_ENABLE_REG_ACCESS
---
Switch the M/R signal to register access. Not
applicable with all controllers.
F
LCD_ENABLE_MEM_ACCESS
---
Switch the M/R signal to memory access. Not
applicable with all controllers.
B
LCD_SWAP_BYTE_ORDER
0
Activate to invert the endian mode (swap the
high and low bytes) between CPU and LCD controller when using a 16-bit bus interface.
LCD controller configuration: common/segment lines
N
LCD_XORG<n>
0
LCD controller <n>: leftmost (lowest) X-position.
N
LCD_YORG<n>
0
LCD controller <n>: topmost (lowest) Y-position.
N
LCD_FIRSTSEG<n>
LCD_LASTSEG<n>
LCD_FIRSTCOM<n>
LCD_LASTCOM<n>
0
LCD controller <n>: first segment line used.
N
N
N
LCD_XSIZE-1 LCD controller <n>: last segment line used.
0
LCD controller <n>: first common line used.
LCD_YSIZE-1 LCD controller <n>: last common line used.
COM/SEG lookup tables
A
A
LCD_LUT_COM
LCD_LUT_SEG
---
COM lookup table for controller.
---
SEG lookup table for controller.
Miscellaneous
N
LCD_NUM_CONTROLLERS
1
Number of LCD controllers used.
B
LCD_CACHE
1
Deactivate to disable use of display data cache,
which slows down the speed of the driver. Not
applicable with all drivers.
B
LCD_USE_BITBLT
1
Deactivate to disable BitBLT engine. If set to 1,
the driver will use all available hardware acceleration.
B
LCD_SUPPORT_CACHECONTROL
0
LCD_L0_ControlCache() driver API. Not
Activate to enable cache control functions of
applicable with all controllers.
N
LCD_TIMERINIT0
---
Timing value used by ISR for displaying pane 0
when using CPU as controller.
N
LCDTIMERINIT1
---
Timing value used by ISR for displaying pane 1
when using CPU as controller.
F
LCD_ON
---
Function replacement macro which switches the
LCD on.
F
LCD_OFF
---
Function replacement macro which switches the
LCD off.
How to configure the LCD
We recommend the following procedure:
1.
Make a copy of a configuration file of similar configuration. Several configuration
samples for your particular LCD controller can be found in the folder Sam-
User's & reference manual forμC/GUI
© 2002-2006 Micrium Technologies Corporation