Port B Register (Portb); Port B Mos Pull-Up Control Register (Pbpcr) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

9.7.3

Port B Register (PORTB)

PORTB shows port B pin states.
Bit
Bit Name Initial Value
7
PB7
–*
6
PB6
–*
5
PB5
–*
4
PB4
–*
3
PB3
–*
2
PB2
–*
1
PB1
–*
0
PB0
–*
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
7
PB7PCR 0
6
PB6PCR 0
5
PB5PCR 0
4
PB4PCR 0
3
PB3PCR 0
2
PB2PCR 0
1
PB1PCR 0
0
PB0PCR 0
R/W
Description
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
R
performed while PBDDR bits are cleared to 0, the pin
R
states are read.
R
R
R
R
R
R/W
Description
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
R/W
that pin.
R/W
R/W
R/W
R/W
R/W
R/W
Rev. 3.0, 10/02, page 239 of 686

Advertisement

Table of Contents
loading

Table of Contents