Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 491 of 926
REJ09B0283-0300
10.10.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 Undefined
*
R
6 PB6 Undefined
*
R
5 PB5 Undefined
*
R
4 PB4 Undefined
*
R
3 PB3 Undefined
*
R
2 PB2 Undefined
*
R
1 PB1 Undefined
*
R
0 PB0 Undefined
*
R
If a port B read is performed 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.
Note: * Determined by the states of pins PB7 to PB0.
10.10.4 Port B Pull-Up MOS Control Register (PBPCR)
PBPCR controls the on/off state of input pull-up MOS of port B. PBPCR is valid in modes 3, 4,
and 7.
Bit Bit Name Initial Value R/W Description
7 PB7PCR 0 R/W
6 PB6PCR 0 R/W
5 PB5PCR 0 R/W
4 PB4PCR 0 R/W
3 PB3PCR 0 R/W
2 PB2PCR 0 R/W
1 PB1PCR 0 R/W
0 PB0PCR 0 R/W
When a pin function is specified to an input port,
setting the corresponding bit to 1 turns on the input
pull-up MOS for that pin.