R01UH0822EJ0100 Rev.1.00
Page 299 of 1041
Jul 31, 2019
RX13T Group
17. I/O Ports
17.3.3
Port Input Data Register (PIDR)
m = 1 to 4, 7, 9, A, B, D, E
PIDR indicates individual pin states of port m.
The pin states of port m can be read with the PORTm.PIDR, regardless of the values of PORTm.PDR and PORTm.PMR.
The NMI pin state is reflected in the PE2 bit.
The bit corresponding to a pin that does not exist is reserved. A reserved bit is read as undefined, and cannot be modified.
Note:
When using P36 and P37 as general I/O ports, set the MOSCCR.MOSTP bit to 1 (main clock oscillator is
stopped) and the P36 and P37 control bits in the PORT3.PMR register to 0 (use pin as general I/O port).
Address(es): PORT1.PIDR 0008 C041h, PORT2.PIDR 0008 C042h, PORT3.PIDR 0008 C043h, PORT4.PIDR 0008 C044h,
PORT7.PIDR 0008 C047h, PORT9.PIDR 0008 C049h, PORTA.PIDR 0008 C04Ah, PORTB.PIDR 0008 C04Bh,
PORTD.PIDR 0008 C04Dh, PORTE.PIDR 0008 C04Eh
b7
b6
b5
b4
b3
b2
b1
b0
B7
B6
B5
B4
B3
B2
B1
B0
Value after reset:
x
x
x
x
x
x
x
x
x: Undefined
Bit
Symbol
Bit Name
Description
R/W
b0
Pm0
Indicates individual pin states of the
corresponding port.
R
b1
Pm1
R
b2
Pm2
R
b3
Pm3
R
b4
Pm4
R
b5
Pm5
R
b6
Pm6
R
b7
Pm7
R