R01UH0823EJ0100 Rev.1.00
Page 447 of 1823
Jul 31, 2019
RX23W Group
21. I/O Ports
21.3.7
Pull-Up Control Register (PCR)
m = 0 to 4, B to E, J
While a pin is in the input state with the corresponding bit in PORTm.PCR set to 1, the pull-up resistor connected to the
pin is enabled.
When a pin is used as a general port output pin, or a peripheral function output pin, the pull-up resistor for the pin is
disabled regardless of the settings of the PCR register.
The pull-up resistor is also disabled in the reset state.
The B5 bit in PORT3.PCR is reserved. The bit corresponding to a pin that does not exist is also reserved. A reserved bit
is read as 0. The write value should be 0.
Address(es): PORT0.PCR 0008 C0C0h, PORT1.PCR 0008 C0C1h, PORT2.PCR 0008 C0C2h, PORT3.PCR 0008 C0C3h,
PORT4.PCR 0008 C0C4h, PORTB.PCR 0008 C0CBh, PORTC.PCR 0008 C0CCh, PORTD.PCR 0008 C0CDh,
PORTE.PCR 0008 C0CEh, PORTJ.PCR 0008 C0D2h
b7
b6
b5
b4
b3
b2
b1
b0
B7
B6
B5
B4
B3
B2
B1
B0
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Pm0 Input Pull-Up Resistor Control
0: Disables an input pull-up resistor.
1: Enables an input pull-up resistor.
R/W
b1
Pm1 Input Pull-Up Resistor Control
R/W
b2
Pm2 Input Pull-Up Resistor Control
R/W
b3
Pm3 Input Pull-Up Resistor Control
R/W
b4
Pm4 Input Pull-Up Resistor Control
R/W
b5
Pm5 Input Pull-Up Resistor Control
R/W
b6
Pm6 Input Pull-Up Resistor Control
R/W
b7
Pm7 Input Pull-Up Resistor Control
R/W