
7542 Group
Rev.3.02 Oct 31, 2006 Page 20 of 134
REJ03B0006-0302
Table 6 I/O port function table
Pin
P0
0
(LED
00
)/CAP
0
P0
1
(LED
01
)/CMP
0
P0
2
(LED
02
)/CMP
1
P0
3
(LED
03
)/TX
OUT
P0
4
(LED
04
)/RxD
2
P0
5
(LED
05
)/TxD
2
P0
6
(LED
06
)/S
CLK2
P0
7
(LED
07
)/S
RDY2
P1
0
/RxD
1
/CAP
0
P1
1
/TxD
1
P1
2
/S
CLK1
P1
3
/S
RDY1
P1
4
/CNTR
0
P2
0
/AN
0
–P2
7
/AN
7
P3
0
(LED
10
)/CAP
1
P3
1
(LED
11
)/CMP
2
P3
2
(LED
12
)/CMP
3
P3
3
(LED
13
)/INT
1
P3
4
(LED
14
)
P3
5
(LED
15
)
P3
6
(LED
16
)/INT
1
P3
7
(LED
17
)/INT
0
I/O format
•CMOS compatible
input level (Note 1)
•CMOS 3-state output
Non-port function
• Capture function input
• Key input interrupt
• Compare function output
• Key input interrupt
• Timer X function output
• Key input interrupt
• Serial I/O2 function input/output
• Key input interrupt
• Serial I/O1 function input
• Capture function input
• Serial I/O1 function input/output
• Timer X function input/output
• External interrupt input
• A/D conversion input
• Capture function input
• Compare function output
• External interrupt input
• External interrupt input
SFRs related each pin
Capture/Compare port register
Interrupt edge selection register
Pull-up control register
Port P0P3 drive capacity control register
Capture/Compare port register
Pull-up control register
Port P0P3 drive capacity control register
Timer X mode register
Pull-up control register
Port P0P3 drive capacity control register
Serial I/O2 control register
Interrupt edge selection register
Pull-up control register
Port P0P3 drive capacity control register
Serial I/O2 control register
Pull-up control register
Port P0P3 drive capacity control register
Serial I/O2 control register
Interrupt edge selection register
Pull-up control register
Port P0P3 drive capacity control register
Serial I/O2 control register
Pull-up control register
Port P0P3 drive capacity control register
Serial I/O1 control register
Capture/Compare port register
Port P1P3 control register
Serial I/O1 control register
Serial I/O1 control register
Port P1P3 control register
Serial I/O1 control register
Port P1P3 control register
Timer X mode register
A/D control register
Capture/Compare port register
Pull-up control register
Port P0P3 drive capacity control register
Capture/Compare port register
Pull-up control register
Port P0P3 drive capacity control register
Interrupt edge selection register
Pull-up control register
Port P0P3 drive capacity control register
Pull-up control register
Port P0P3 drive capacity control register
Interrupt edge selection register
Pull-up control register
Port P0P3 drive capacity control register
Port P1P3 control register
Diagram
No.
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
Notes 1: Ports P1
0
, P1
2
, P1
3
, P3
6
, and P3
7
are CMOS/TTL level.
2: P2
6/
AN
6
and P2
7
/AN
7
do not exist for the 32-pin version and PWQN0036KA-A package.
3: P3
5
and P3
6
/INT
1
do not exist for the 32-pin version and PWQN0036KA-A package.
Name
I/O port P0
I/O port P1
I/O port P2
(Note 2)
I/O port P3
(Note 3)