BAT32G1x9 user manual | Chapter 23 LCD bus interface
987 / 1149
Rev.1.02
23.3 Control registers for the LCD bus interface
The following 10 registers are used to control the LCD bus interface:
•
LCD Bus Interface Mode Register
(LBCTL
).
•
LCD bus interface cycle register (LBCYC).
•
LCD BUS INTERFACE WAITS STATUS REGISTER (LBWST).
•
Port mode control register (PMCx).
•
Port mode register (PMx).
•
Port register (Px).
•
Peripheral enable register 1 (PER1).
23.3.1
Peripheral enable register 1 (PER1).
The PER1 register is a register that is set to enable or disable clocks to each peripheral hardware. Reduce
power consumption and noise by stopping clocking hardware that is not in use.
To use the LCD bus interface, bit1 (LCDBEN) must be set to "1".
The PER1 register is set via the 8-bit memory operation instruction.
After generating a reset signal, the value of this register changes to "00H".
Figure23-4
Perimeter Enable Register (PER3).
Address: 0x400208 after 1C
reset:
00H R/W
symbol
ONthe R3
LCDBEN
Control of the LCD bus interface clock
0
Stop providing the input clock.
• Cannot write SFR for LCD bus interfaces used.
•The LCD bus interface is reset.
1
An input clock is provided.
• SFR that can read and write LCD bus interfaces.
7
6
5
4
3
2
2
1
0
Xx
Xx
Xx
Xx
Xx
Xx
Xx
LCDIn