R01UH0822EJ0100 Rev.1.00
Page 293 of 1041
Jul 31, 2019
RX13T Group
17. I/O Ports
17.
I/O Ports
17.1
Overview
The I/O ports function as a general I/O port, an I/O pin of a peripheral module, or an input pin for an interrupt.
Some of the pins are also configurable as an I/O pin of a peripheral module or an input pin for an interrupt. All pins
function as input pins immediately after a reset, and pin functions are switched by register settings. The setting of each
pin is specified by the registers for the corresponding I/O port and on-chip peripheral modules.
Each port has the port direction register (PDR) that selects input or output direction, the port output data register (PODR)
that holds data for output, the port input data register (PIDR) that indicates the pin states, the open drain control register
y (ODRy, y = 0, 1) that selects the output type of each pin, the pull-up control register (PCR) that controls on/off of the
input pull-up MOS, the drive capacity control register (DSCR) that selects the drive capacity, and the port mode register
(PMR) that specifies the pin function of each port.
For details on the PMR register, see
section 18, Multi-Function Pin Controller (MPC)
.
The configuration of the I/O ports differs depending on the package.
lists the specifications of I/O ports, and
list the port functions.
Table 17.1
Specifications of I/O Ports
Port
Package
Package
48 Pins
Number
of Pin
32 Pins
Number
of Pin
PORT1
P10, P11
2
P11
1
PORT2
P22 to P24
3
—
—
PORT3
P36, P37
2
P36, P37
2
PORT4
P40 to P47
8
P40 to P44
5
PORT7
P70 to P76
7
P71 to P76
6
PORT9
P93, P94
2
P93, P94
2
PORTA
PA2, PA3
2
—
—
PORTB
PB0 to PB7
8
PB0 to PB3, PB6, PB7
6
PORTD
PD3 to PD6
4
—
—
PORTE
PE2
1
PE2
1
Total of Pins
39
Total of Pins
23