RX610 Group
14. I/O Ports
R01UH0032EJ0120 Rev.1.20
Page 434 of 1006
Feb 20, 2013
14.3.17
Port G (PG)
(1) PG0
The pin function is switched as shown below according to the value of the B0 bit in PG.DDR.
Module Name
Pin Function
Setting
I/O Port
PG.DDR.B0
I/O port
PG0 output
1
PG0 input (initial value)
0
(2) PG1
The pin function is switched as shown below according to the value of the B1 bit in PG.DDR.
Module Name
Pin Function
Setting
I/O Port
PG.DDR.B1
I/O port
PG1 output
1
PG1 input (initial value)
0
(3) PG2
The pin function is switched as shown below according to the value of the B2 bit in PG.DDR.
Module Name
Pin Function
Setting
I/O Port
PG.DDR.B2
I/O port
PG2 output
1
PG2 input (initial value)
0
(4) PG3
The pin function is switched as shown below according to the value of the B3 bit in PG.DDR.
Module Name
Pin Function
Setting
I/O Port
PG.DDR.B3
I/O port
PG3 output
1
PG3 input (initial value)
0
(5) PG4
The pin function is switched as shown below according to the value of the B4 bit in PG.DDR.
Module Name
Pin Function
Setting
I/O Port
PG.DDR.B4
I/O port
PG4 output
1
PG4 input (initial value)
0