Download UM10315 LPC315x User manual

Transcript
UM10315
NXP Semiconductors
Chapter 23: LPC315x LCD interface
Table 491. LCD interface Control register (LCD_CONTROL, address 0x1500 404)
Bit
Symbol
Access
Reset Description
Value
31:21
Reserved
-
-
Reserved
20
BYASYNC_RELCLK
R/W
0x0
Bypass the logic which assumes
asynchronous relation between PCLK &
LCDCLK
19
IF_16
R/W
0x0
Interface to 16 bit LCD-Controller. If set,
overrides the IF (bit 3)
18
LOOPBACK
R/W
0x0
‘0’ = Normal Operation
‘1’ = LCD Interface in Loopback mode
17
MSB_FIRST
R/W
0x0
8-bit mode: Don't care.
4-bit mode:
`0' means that bits 3-0 will be transmitted first.
`1' means that bits 7-4 will be transmitted first.
Serial mode:
`0' means that bit 0 will be transmitted first.
`1' means that bit 7 will be transmitted first.
16
INVERT_E_RD
R/W
0x0
Intel 8080 mode (MI = 0):
‘0' = E_RD output pin will be active low
‘1' = E_RD output pin will be active high
Motorola 6800 mode (MI = 1):
‘0' = E_RD output pin will be active high
‘1' = E_RD output pin will be active low
15
INVERT_CS
R/W
0x0
14
BUSY_RS_VALUE
R/W
0x0
‘1' = Chip select output will be active low
‘0' = Chip select output will be active high
‘0' = busy check will happen on RS = '0'.
‘1' = busy check will happen on RS = '1'.
Don't care if BUSY_FLAG_CHECK = `0'
13:10
BUSY_BIT_NR
R/W
0xF
This 4 bit value stores the bit of the
6800/8080 bus which represents the busy
flag. Don't care if BUSY_FLAG_CHECK = ‘0'
9
BUSY_VALUE
R/W
0x0
‘0' = if the checked bit equals to ‘0' that the
LCD controller is not busy.
‘1’ = if the checked bit equals to `1' that the
LCD controller is busy.
Don't care if BUSY_FLAG_CHECK = `0'
8
BUSY_FLAG_CHECK
R/W
0x0
‘0' will disable the busy-flag checking
‘1' will enable the busy-flag-checking
7:6
SERIAL_READ_POS
R/W
0x3
Parallel mode (PS = 0): Dont care
Serial Mode (PS=1): ‘00xx' = Sampling done
at the beginning of the cycle
‘01xx' -- Sampling done at 0.25 * cycle
‘10xx' -- Sampling done at 0.5 * cycle
‘11xx' -- Sampling done at 0.75 * cycle
See Figure 23–71.
UM10315
User manual
© NXP B.V. 2012. All rights reserved.
Rev. 1 — 8 June 2012
453 of 644