Datasheet

Section 8 I/O Ports
Rev.7.00 Dec. 24, 2008 Page 240 of 698
REJ09B0074-0700
8.7.2 Port B Data Register (PBDR)
PBDR stores output data for the port B pins.
Bit Bit Name Initial Value R/W Description
7
6
5
4
3
2
1
0
PB7DR
PB6DR
PB5DR
PB4DR
PB3DR
PB2DR
PB1DR
PB0DR
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Store output data for a pin that functions as a general
output port.
8.7.3 Port B Register (PORTB)
PORTB indicates the pin states of the port B.
Bit Bit Name Initial Value R/W Description
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
*
*
*
*
*
*
*
*
R
R
R
R
R
R
R
R
If the port B is read while PBDDR bits are set to 1, the
PBDR value is read. If the port B is read while PBDDR
bits are cleared to 0, the pin states are read.
Note: * Determined by the states of pins PB7 to PB0.