RM0082
RS_Color liquid crystal display controller (CLCD)
Doc ID 018672 Rev 1
755/844
They are read/write registers used to program the base address of the frame buffer.
LCDUPBASE is used for:
●
TFT displays
●
Single panel STN displays
●
The upper panel of dual panel STN displays.
LCDLPBASE is used for the lower panel of dual panel STN displays.
You must initialize LCDUPBASE (and LCDLPBASE for dual panels) before enabling the
CLCD. You can change the value mid-frame to enable double-buffered video displays to be
created. These registers are copied to the corresponding current registers at each LCD
vertical synchronization. This event causes the LNBU bit and an optional interrupt to be
generated. You can use the interrupt to reprogram the base address when generating
double-buffered video.
33.6.9 LCDIMSC
register
LCDIMSC is the interrupt mask set/clear register. Setting bits in this register enables the
corresponding raw interrupt LCDRIS bit values to be passed to the LCDMIS,
Table 680.
LCDUPBASE register bit assignments
Bit
Name
Reset value
Description
[31:02] LCDUPBASE
29’h0
LCD upper panel base address. This is the start
address of the upper panel frame data in memory
and is word aligned.
[01:00] -
-
Reserved, do not modify, read as zero, write as
zero.
Table 681.
LCDLPBASE register bit assignments
Bit
Name
Reset value
Description
[31:02] LCDLPBASE
29’h0
LCD lower panel base address. This is the start
address of the lower panel frame data in memory
and is word aligned.
[01:00] -
-
Reserved, do not modify, read as zero, write as
zero.
Table 682.
LCDIMSC register bit assignments
Bit
Name
Reset
value
Description
[31:05]
[04]
MBERRINTRENB
1’h0
AHB master error interrupt enable
[03]
VCOMPINTRENB
1’h0
Vertical compare interrupt enable
[02]
LNBUINTRENB
1’h0
Next base update interrupt enable