Chapter 7
I/O Port
VII - 40 Port 2
7.6 Port 2
The following table shows the special functions of Port 2.
Table:7.6.1 Port 2
* 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.6.1 Setup of Port 2
Table:7.6.2 P20 Function Selection
pin Special function
P20 SEG42 (*) TM1IOB TM9IOB
P21 SEG41 (*) TM5IOA -
P22 SEG40 (*) SBI2B -
P23 SEG39 (*) SBO2B SDA2B
P24 SEG38 (*) SBT2B SCL2B
P25 SEG37 (*) SBCS2B -
P26 SEG36 (*) SBI1A RXD1A
P27 NRST (*) - -
Setup Function
Register LCCTR5 TMIOEN0 TM1MD TMIOSEL0 TMIOEN1 TM9MD1 TMIOSEL1
Bit name SEGSL42 TM1OEN TM1CK1-0 TM1IOSEL TM9OEN TM9CK1-0
TM9IOSEL
1-0
1------SEG42
0
1
Other than
11
10
Other than
10
- TM1IO (output)
0
11 1 0
Other than
10
- TM1IO (input)
Other than
11
-
1
Other than
10
01 TM9IO (output)
0
10 01 TM9IO (input)
Other than
10
-P20