R01UH0822EJ0100 Rev.1.00
Page 303 of 1041
Jul 31, 2019
RX13T Group
17. I/O Ports
17.3.7
Pull-Up Control Register (PCR)
m = 1 to 4, 7, 9, A, B, D
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 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): PORT1.PCR 0008 C0C1h, PORT2.PCR 0008 C0C2h, PORT3.PCR 0008 C0C3h, PORT4.PCR 0008 C0C4h,
PORT7.PCR 0008 C0C7h, PORT9.PCR 0008 C0C9h, PORTA.PCR 0008 C0CAh, PORTB.PCR 0008 C0CBh,
PORTD.PCR 0008 C0CDh
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