BAT32G1x9 user manual | Chapter 23 LCD bus interface
995 / 1149
Rev.1.02
23.4.4
Read from the LCD bus
Supports reading data in 8-bit or 16-bit format from the LCD bus. The following shows a typical timing of
reading 8 bits.
(1). 16-bit read
The figure below shows a 16 bits read action in 80 mode.
Figure 23-11(80
mode: LBTCTL. IMD=0):
Read 16 bits timing
LBWST=5,LBCYC=8,LBCTL. TCIS=0 and 1
Description: Timing diagrams are for feature description purposes only and have no association with the actual
hardware implementation.
(a) The order of the run
<1> a virtual read of the LBDATA register initiates a 4-byte read from an external LCD controller. Busy
flag bit LBCTL. BYF was immediately put up. Transmitting flag bits LBCTL. The TPF is placed on the rising
edge of the clock. The data read from LBDATA belongs to the previous transfer data and can be ignored.
<2> the busy flag bit LBCTL.BYF is cleared when the last of the four bytes is sampled and the
full word is available in the LBDATA register. The flag bit LBCTL.TPF remains in a pending state until the
end of the cycle time of the last byte.
<3> then read the LBDATA registers to get the data transferred by the LCD controller and initiate the next new
transfer.