R8C/1A Group, R8C/1B Group
5. Programmable I/O Ports
Rev.1.30
Dec 08, 2006
Page 33 of 315
REJ09B0252-0130
X: 0 or 1
X: 0 or 1
Table 5.7
Port P1_3/KI3/AN11/TZOUT
Register
PD1
PUR0
DRR
KIEN
ADCON0
TZMR
TZOC
Function
Bit
PD1_3
PU02
DRR3
KI3EN
CH2, CH1, CH0,
ADGSEL0
TZMOD1,
TZMOD0
TZOCNT
Setting
Value
0
0
X
X
XXXXb
00b
X
Input port (not pulled up)
0
1
X
X
XXXXb
00b
X
Input port (pulled up)
0
0
X
1
XXXXb
00b
X
KI3 input
0
0
X
X
1111b
00b
X
A/D converter input (AN11)
1
X
0
X
XXXXb
00b
X
Output port
1
X
1
X
XXXXb
00b
X
Output port (high drive)
X
X
0
X
XXXXb
01b
1
Output port
X
X
1
X
XXXXb
01b
1
Output port (high drive)
X
X
X
X
XXXXb
01b
0
TZOUT output
X
X
X
X
XXXXb
1Xb
X
TZOUT output
Table 5.8
Port P1_4/TXD0
Register
PD1
PUR0
U0MR
U0C0
Function
Bit
PD1_4
PU03
SMD2, SMD1, SMD0
NCH
Setting
Value
0
0
000b
X
Input port (not pulled up)
0
1
000b
X
Input port (pulled up)
1
X
000b
X
Output port
X
X
001b
0
TXD0 output, CMOS output
100b
101b
110b
X
X
001b
1
TXD0 output, N-channel open output
100b
101b
110b
Table 5.9
Port P1_5/RXD0/CNTR01/INT11
Register
PD1
PUR0
UCON
TXMR
Function
Bit
PD1_5
PU03
CNTRSEL
TXMOD1, TXMOD0
Setting
Value
0
0
X
XXb
Input port (not pulled up)
0
1
X
XXb
Input port (pulled up)
0
X
X
Other than 01b
RXD0 input
0
X
1
Other than 01b
CNTR01/INT11 input
1
X
X
Other than 01b
Output port
1
X
1
Other than 01b
CNTR01 output