Datasheet

Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 334 of 982
REJ09B0054-0600
10.7.3 Port B Register (PORTB)
PORTB shows the pin states and cannot be modified.
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 these bits are read while the corresponding PBDDR
bits are set to 1, the PBDR value is read. If these bits
are read while PBDDR bits are cleared to 0, the pin
states are read.
0 PB0
*
R
Note: * Determined by the states of pins PB7 to PB0.
10.7.4 Port B Pull-Up MOS Control Register (PBPCR)
PBPCR controls the on/off state of port B input pull-up MOS.
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 is specified as an input port, setting the
corresponding bit to 1 turns on the input pull-up
MOS for that pin.
0 PB0PCR 0 R/W
10.7.5 Pin Functions
Port B pins also function as TPU I/O pins (TPU_3*, TPU_4*, and TPU_5*) and address output
pins. The values of register and pin functions are shown bellow.
Note: * Not available in the H8S/2227 Group.