BAT32G1x9 user manual | Chapter 23 LCD bus interface
989 / 1149
Rev.1.02
23.3.3
LCB bus interface periodic control register (LBCYC).
LBCYC registers are used to control the cycle time of the LCD bus interface. The cycle time is the duration of
one 8-bit data transmission per bus access. LBCYC uses 8-bit memory manipulation instructions for setup.
When resetting, the LBCYC register resets to 00H
Figure 23-6 LCB
bus interface periodic control register
(LBCYC
).
Address: 0x40047401 Reset value
:
02H R/W
Symbol
7
6
5
4
3
2
1
0
LBCYC
CYC5-CYC0
Cycle time
000000B
Disable settings
000001B
000010B
Cycle time: 2
T
000011B
Cycle time: 3
T
:
:
111110B
Cycle time: 62
T
111111B
Cycle time: 63
T
Note: 1. T
is the clock period of the selected clock
(set
by
LBC1
and
LBC0
).
2.
LBCYC≥2.
23.3.4
The LCB bus interface waits for control registers (LBWST).
LBWST is used to control the number of cycles in which the LCD bus interface waits for state. The number of
periods of wait state determines the duration of D B W R
————————
and DBRD
——————
signals. This duration must be shorter than
the cycle time.
LBWST is set using 8-bit memory manipulation instructions.
When resetting, lbWST resets to 00H.
Figure 23-7
The LCD bus interface waits for the format of the control register
(LBWST
).
Address: 0x40047402 Reset value
:
00H R/W
Symbol
7
6
5
4
3
2
1
0
LBWST
WST4-WST0
Wait period
00000B
The wait period is not inserted
00001B
1
T
00010B
2
T
00011B
3
T
:
:
11110B
30
T
11111B
31
T
Note: 1.T
is the clock period of the selected clock
(set
by
LBC1
and
LBC0).
2.
WST≤CYC-2.
0
0
CANDC5
CANDC4
CANDC3
CANDC2
CANDC1
CANDC0
0
0
0
WST4
WST3
WST2
WST1
WST0