h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 293

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Port B Register (PORTB)
Note: * Determined by state of pins PB7 to PB0.
PORTB is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port B pins (PB7 to PB0) must always be performed on PBDR.
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.
Reading a pin being used as an LCD driver returns an undefined value.
After a reset and in hardware standby mode, PORTB contents are determined by the pin states, as
PBDDR and PBDR are initialized. PORTB retains its prior state in software standby mode.
Port B MOS Pull-Up Control Register (PBPCR)
PBPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port B on an individual bit basis.
In modes 4 to 6, if a pin is in the input state in accordance with the settings in the LCD driver’s
LPCR and in DDR, setting the corresponding PBPCR bit to 1 turns on the MOS input pull-up for
that pin.
In mode 7, if a pin is in the input state in accordance with the settings in the DDR, setting the
corresponding PBPCR bit to 1 turns on the MOS input pull-up for that pin.
PBPCR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Bit
Initial value :
R/W
Bit
Initial value :
R/W
:
:
:
:
PB7PCR PB6PCR PB5PCR PB4PCR PB3PCR PB2PCR PB1PCR PB0PCR
R/W
PB7
— *
R
7
7
0
R/W
PB6
— *
R
6
6
0
R/W
PB5
— *
R
5
5
0
R/W
PB4
— *
R
4
4
0
Rev. 5.00 Sep 22, 2005 page 267 of 1136
PB3
R/W
— *
R
3
3
0
PB2
R/W
— *
R
2
2
0
Section 9 I/O Ports
REJ09B0257-0500
PB1
R/W
— *
R
1
1
0
PB0
R/W
— *
R
0
0
0

Related parts for h8s-2646