Datasheet
Section 10 I/O Ports
REJ09B0465-0300 Rev. 3.00 Page 321 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.8.8 Port Pull-Up Control Register A (PUCRA)
b7
PUCRA7
0
b6
PUCRA6
0
b5
PUCRA5
0
b4
PUCRA4
0
b3
PUCRA3
0
b2
PUCRA2
0
b1
PUCRA1
0
b0
PUCRA0
0
H'FF0019
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PUCRA7* Port A7 pull-up
control
R/W
6 PUCRA6* Port A6 pull-up
control
R/W
5 PUCRA5* Port A5 pull-up
control
R/W
4 PUCRA4* Port A4 pull-up
control
R/W
3 PUCRA3* Port A3 pull-up
control
R/W
2 PUCRA2* Port A2 pull-up
control
R/W
1 PUCRA1* Port A1 pull-up
control
R/W
0 PUCRA0* Port A0 pull-up
control
0: The pull-up MOS of corresponding pin is
disabled.
1: The pull-up MOS of corresponding pin is
enabled.
PUCRA is a register that controls the pull-up MOS
in bit units of the pins set as the input ports.
R/W
Note: * When PA7 to PA4 are set as the analog input pin, clear the corresponding bits to 0.
• PUCRA7 bit to PUCRA0 bit (port A7 to A0 pull-up control)
This function is valid only for the pin set as general input, and for the input pin with a function
selected by the PMC. However, this setting is invalid for the analog input pin.