Datasheet

Table Of Contents
Section 9 I/O Ports
REJ09B0140-0900 Rev. 9.00 Page 255 of 846
Sep 16, 2010
H8S/2215 Group
9.7.3 Port B Register (PORTB)
PORTB shows port B pin states.
Bit Bit Name Initial Value R/W Description
7 PB7
*
R
6 PB6
*
R
5 PB5
*
R
4 PB4
*
R
3 PB3
*
R
2 PB2
*
R
1 PB1
*
R
If the port B read is performed while PBDDR bits are set
to 1, the PBDR values are read. If a port B read is
performed while PBDDR bits are cleared to 0, the pin
states are read.
0 PB0
*
R
Note: * Determined by the status of pins PB7 to PB0.
9.7.4 Port B MOS Pull-Up Control Register (PBPCR)
PBPCR controls the on/off state of input pull-up MOS of port B.
Bit Bit Name Initial Value R/W Description
7 PB7PCR 0 R/W
6 PB6PCR 0 R/W
5 PB5PCR 0 R/W
4 PB4PCR 0 R/W
3 PB3PCR 0 R/W
2 PB2PCR 0 R/W
1 PB1PCR 0 R/W
When a pin functions specified to an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS for
that pin.
0 PB0PCR 0 R/W