EasyManua.ls Logo

STC micro STC8A8K64D4 Series - LCM Interface; LCM Interface Function Pin Switch; Registers Related to LCM; LCM Interface Configuration Register (LCMIFCFG)

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
- 628 -
22 LCM interface
STC8A8K64D4 series of microcontrollers integrate an LCM interface controller, which can be used to drive the
current popular LCD modules. It can drive I8080 interface and M6800 interface color screen, support 8-bit and 16-bit
data width.
26.1 LCM interface function pin switch
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
LCMIFCFG
FE50H
LCMIFIE
-
LCMIFIP[1:0]
LCMIFDPS[1:0]
D16_D8
M68_I80
LCMIFCFG2
FE51H
LCMIFCPS[1:0]
SETUPT[2:0]
HOLDT[1:0]
LCMIFCPS[1:0]: LCM interface control pin selection bit
LCMIFCPS [1:0]
RS
RD signal of I8080
E signal of M6800
WR signal of I8080
RW signal of M6800
00
P4.1
P4.4
P4.3
01
P4.1
P3.7
P3.6
10
P4.1
P4.2
P4.0
11
P4.0
P3.7
P3.6
LCMIFDPS[1:0]: 8-bit data LCM interface data pin selection bit
LCMIFDPS [1:0]
D16_D8
Data byte DAT[7:0]
00
0
P2[7:0]
01
0
P6[7:0]
10
0
P2[7:0]
11
0
P6[7:0]
LCMIFDPS[1:0]: 16-bit data LCM interface data pin selection bit
LCMIFDPS [1:0]
D16_D8
High byte DAT[15:8]
Low byte DAT[7:0]
00
1
P2[7:0]
P0[7:0]
01
1
P6[7:0]
P2[7:0]
10
1
P2[7:0]
P7[7:0]
11
1
P6[7:0]
P7[7:0]
22.2 Registers Related to LCM
Symbol
Description
Address
Bit Address and Symbol
Reset
value
B7
B6
B5
B4
B3
B2
B1
B0
LCMIFCFG
LCM Interface Configuration
Register
FE50H
LCMIFIE
-
LCMIFIP[1:0]
LCMIFDPS[1:0]
D16_D8
M68_I80
0x00,0000
LCMIFCFG2
LCM Interface Configuration
Register 2
FE51H
-
LCMIFCPS[1:0]
SETUPT[2:0]
HOLDT[1:0]
x000,0000
LCMIFCR
LCM Interface Control Register
FE52H
ENLCMIF
-
-
-
-
CMD[2:0]
0xxx,x000
LCMIFSTA
LCM Interface Status Register
FE53H
-
-
-
-
-
-
-
LCMIFIF
xxxx,xxx0
LCMIDDATL
LCM Interface low byte data
FE54H
LCMIFDAT[7:0]
0000,0000
LCMIDDATH
LCM Interface high byte data
FE55H
LCMIFDAT[15:8]
0000,0000
22.2.1 LCM Interface Configuration Register (LCMIFCFG)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
LCMIFCFG
FE50H
LCMIFIE
-
LCMIFIP[1:0]
LCMIFDPS[1:0]
D16_D8
M68_I80
LCMIFIE: LCM interrupt enable control bit
0: disable LCM interface interrupt
1: enable LCM interface interrupt
LCMIFIP[1:0]: LCM interface interrupt priority control bits
LCMIFIP[1:0]
interrupt priority

Table of Contents

Related product manuals