Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 619 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.10.2 Port B Data Register (PBDR)
PBDR stores output data for the port B pins.
Bit Bit Name Initial Value R/W Description
7 PB7DR 0 R/W
6 PB6DR 0 R/W
5 PB5DR 0 R/W
4 PB4DR 0 R/W
3 PB3DR 0 R/W
2 PB2DR 0 R/W
1 PB1DR 0 R/W
0 PB0DR 0 R/W
Output data for a pin is stored when the pin function
is specified as a general purpose I/O.
10.10.3 Port B Register (PORTB)
PORTB shows the pin states of port B. PORTB 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
0 PB0 ⎯* R
If this register is read while a PBDDR bit is set to 1,
the corresponding PBDR value is read. If this
register is read while a PBDDR bit is cleared to 0,
the corresponding pin state is read.
Note: * Determined by the states of pins PB7 to PB0.