Table 8.1 is a summary of the port functions. The pins of each port also function as input/output
pins of peripheral modules and interrupt input pins. Each input/output port includes a data
direction register (DDR) that controls input/output and data registers (DR and ODR) that store
output data. DDR, DR, and ODR are not provided for an input-only port.
Ports 1 to 3, 6, and B to F have built-in input pull-up MOSs. Port 1 to 3, C, and D can drive LEDs
(with 5-mA current sink).
P52, P97, P86, P42, and ports A and G are NMOS push-pull output.
Table 8.1
Port Functions
Port
Description
Port 1
General I/O port
Port 2
General I/O port also
functioning as PWM
output
Section 8 I/O Ports
Mode 2, Mode 3
P17
P16
P15
P14
P13
P12
P11
P10
P27/PW15
P26/PW14
P25/PW13
P24/PW12
P23/PW11
P22/PW10
P21/PW9
P20/PW8
Section 8 I/O Ports
I/O Status
Built-in input pull-up MOSs
LED drive capability
(sink current 5 mA)
Built-in input pull-up MOSs
LED drive capability
(sink current 5 mA)
Rev. 3.00 Jul. 14, 2005 Page 159 of 986
REJ09B0098-0300