Datasheet
Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 374 of 980
REJ09B0050-0600
9.9.2 Port B Data Register (PBDR)
PBDR is 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
An output data for a pin is stored when the pin
function is specified to a general purpose I/O.
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
9.9.3 Port B Register (PORTB)
PORTB shows port B pin states. PORTB cannot be modified.
Bit Bit Name Initial Value R/W Description
7 PB7 —
*
R
6 PB6 —
*
R
5 PB5 —
*
R
4 PB4 —
*
R
If this register is read is while PBDDR bits are set to
1, the PBDR values are read. If a port B read is
performed while PBDDR bits are cleared to 0, the pin
states are read.
3 PB3 —
*
R
2 PB2 —
*
R
1 PB1 —
*
R
0 PB0 —
*
R
Note: * Determined by the states of pins PB7 to PB0.