Chapter 7
I/O Port
VII - 46 Port 4
7.8 Port 4
The following table shows the special functions of Port 4.
Table:7.8.1 Port 4
* The assignment and selection of SEGn differ in each product.
For details, refer to [Table:1.2.3 Functions of LCD Control] and [17.2.2 LCD Port Control Registers].
7.8.1 Setup of Port 4
Table:7.8.2 P40 Function Selection
*1 When the LSI outputs the chip select signal, set the P4DIR.P4DIR0 to "1".
Table:7.8.3 P41 Function Selection
pin Special function
P40 SEG27 (*) SBCS0B -
P41 SEG26 (*) SBI2A -
P42 SEG25 (*) SBO2A SDA2A
P43 SEG24 (*) SBT2A SCL2A
P44 SEG23 (*) SBCS2A -
P45 SEG22 (*) SBI1B RXD1B
P46 SEG21 (*) SBO1B TXD1B
P47 SEG20 (*) SBT1B -
Setup Function
Register LCCTR3 SC0MD3 SC01SEL
Bit name SEGSL27 SC0SBCSEN SC0SEL3
1 - - SEG27
0
1 (*1) 1 SBCS0B
0-P40
Setup Function
Register LCCTR3 SC2MD1 SC23SEL
Bit name SEGSL26 SC2SBIS SC2IOM SC2SEL0
1 - - - SEG26
0
1 0 0 SBI2A
00- P41