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

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
Section 9 I/O Ports
Port B Open Drain Control Register (PBODR)
PBODR is an 8-bit readable/writable register that controls the PMOS on/off state for each port B
pin (PB7 to PB0).
When pins are not address outputs in accordance with the setting of bits AE3 to AE0 in PFCR,
setting a PBODR bit makes the corresponding port B pin an NMOS open-drain output, while
clearing the bit to 0 makes the pin a CMOS output.
Do not set PBODR to 1 if the pins are being used for LCD driver output.
PBODR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
9.9.3
Port B pins also function as LCD driver output pins (H8S/2646, H8S/2646R, H8S/2645: SEG16 to
SEG9, H8S/2648, H8S/2648R, H8S/2647: SEG32 to SEG25) and address bus outputs. The pin
functions differ between modes 4 to 6 and mode 7. Port B pin functions are shown in table 9.17.
Table 9.17 Port B Pin Functions
Rev. 5.00 Sep 22, 2005 page 268 of 1136
REJ09B0257-0500
Setting of SGS3
to SGS0
Operating mode
Setting of AE3
to AE0
PBnDDR
Pin function
Bit
Initial value :
R/W
Pin Functions
:
:
PB7ODR PB6ODR PB5ODR PB4ODR PB3ODR PB2ODR PB1ODR PB0ODR
A15 to A8
R/W
Address
output
enabled
output
7
0
Modes 4 to 6
R/W
PB0 input
6
0
PB7 to
Address output
0
disabled
R/W
5
0
PB7 to
output
Port
PB0
1
R/W
PB0 input
4
0
PB7 to
0
Mode 7
R/W
3
0
PB7 to
output
PB0
1
R/W
2
0
H8S/2646R,
H8S/2646,
H8S/2645
SEG16 to
output
SEG9
SEG output
R/W
1
0
H8S/2648R,
H8S/2648,
H8S/2647
SEG32 to
SEG25
output
R/W
0
0

Related parts for h8s-2646