h8s-2111b Renesas Electronics Corporation., h8s-2111b Datasheet - Page 163

no-image

h8s-2111b

Manufacturer Part Number
h8s-2111b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
7.11
Port B is an 8-bit I/O port. Port B pins also have LPC input/output pins, and wakeup event
interrupt input pins function. Port B has the following registers.
• Port B data direction register (PBDDR)
• Port B output data register (PBODR)
• Port B input data register (PBPIN)
7.11.1
PBDDR specifies input or output for the pins of port B on a bit-by-bit basis.
7.11.2
PBODR stores output data for port B.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Port B
Port B Data Direction Register (PBDDR)
Port B Output Data Register (PBODR)
Bit Name
PB7DDR 0
PB6DDR 0
PB5DDR 0
PB4DDR 0
PB3DDR 0
PB2DDR 0
PB1DDR 0
PB0DDR 0
Bit Name
PB7ODR 0
PB6ODR 0
PB5ODR 0
PB4ODR 0
PB3ODR 0
PB2ODR 0
PB1ODR 0
PB0ODR 0
Initial
Value
Initial
Value
R/W
W
W
W
W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
PBDDR has the same address as P7PIN, and if read,
the port 7 pin states will be returned.
A port B pin becomes an output port if the
corresponding PBDDR bit is set to 1, and an input port
if the bit is cleared to 0.
Description
PBODR can always be read or written to, regardless of
the contents of PBDDR.
Rev. 1.00, 05/04, page 129 of 544

Related parts for h8s-2111b