BAT32G1x9 user manual | Chapter 23 LCD bus interface
985 / 1149
Rev.1.02
23.2.1
LCD bus interface data register (LBDATA, LBDATAL).
LBDATA is used to store data transmitted through the LCD bus interface and supports both 8-bit and 16-bit
read-write.
The value of LBDATA after reset is 0000H
Figure 23-2
Format of the LCD
bus interface data register
(LBDATA, LBDATAL
).
Address: 0x40045410 Reset value: 0000HRW
LBDATAL
Symbol
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
LBDATA
The different operation methods of this register determine the transmission mode of the LCD bus interface.
•
8-bit access:
When the register is operated at 8-bit, the LCD bus interface is
transmitted at 8 bits.
•
16-bit access:
When a 16-bit operation is performed on the register, the operation is split into two 8-bit operations (8 bits
lower and 8 bits higher), which are transmitted sequentially through the bus interfa ce.
When the data is decomposed and transmitted continuously, the transmission sequence is as follows:
15
8 70
Write register LBDATA:
Writing to the LBDATA register immediately sets the LBCTL.BYF flag bit up.
If no LCD bus transfer is in progress at this time (LBCTL. TPF=0), the data is copied to the write cache, and
the LBCTL.BYF flag bit is cleared to zero.
If a transfer is in progress at this time (LBCTL. TPF=1), the data is not copied to the write cache until the
transfer is complete. As soon as the transfer is complete, the data is copied to the write cache and the
LBCTL.BYF flag bit is cleared to zero. The data in LBDATA is copied to the write cache and the LCD bus
interface is triggered immediately. At this point, if the LBCTL. TCIS=0, INTLCDB (DMA trigger source) is placed.
Read register LBDATA
The read operation of the LBDATA register is carried out by starting the LCD bus interface for read
transmission. The data read out from this register is the data received during the last transmission of the LCDB
bus interface.
Note 1 When accessing an LBDATA register, it can only point to the even address of the register, and the
odd address of the register is prohibited.
2.LBCTL. The register can only be accessed if the BYF is 0.
The second
The first