Datasheet
Section 10 I/O Ports
REJ09B0465-0300 Rev. 3.00 Page 329 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
10.9.3 Port Pull-Up Control Register B (PUCRB)
b7
PUCRB7
0
b6
PUCRB6
0
b5
PUCRB5
0
b4
PUCRB4
0
b3
PUCRB3
0
b2
PUCRB2
0
b1
PUCRB1
0
b0
PUCRB0
0
H'FF001A
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PUCRB7 Port B7 pull-up
control
R/W
6 PUCRB6 Port B6 pull-up
control
R/W
5 PUCRB5 Port B5 pull-up
control
R/W
4 PUCRB4 Port B4 pull-up
control
R/W
3 PUCRB3 Port B3 pull-up
control
R/W
2 PUCRB2 Port B2 pull-up
control
R/W
1 PUCRB1 Port B1 pull-up
control
R/W
0 PUCRB0 Port B0 pull-up
control
0: The pull-up MOS of corresponding pin is
disabled.
1: The pull-up MOS of corresponding pin is
enabled.
PUCRB is a register that controls the pull-up MOS
in bit units of the pins set as the input ports.
R/W
• PUCRB7 bit to PUCRB0 bit (port B7 to B0 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.
10.9.4 Notes on Using Port B
1. The PB0 pin is initially set as general I/O pin. If using this pin as the analog input pin for the
A/D converter, set the PMRA2 bit in PMRA to 1.
2. Pins PB7 and PB6 can be used as analog input pins for the A/D converter or analog output pins
for the D/A converter. Do not set these pins as analog input pins and analog output pins at the
same time.