English
Language : 

H8S2378 Datasheet, PDF (604/1203 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Section 10 I/O Ports
• PG1/CS1, PG0/CS0
The pin function is switched as shown below according to the operating mode, bit EXPE, bit
CSnE, and bit PGnDDR.
Operating
mode
EXPE
CSnE
PGnDDR
Pin function
1, 2, 4

0
1
0
1
0
1
PG2
input
PG2
output
PG2
input
CSn
output
0

0
1
PG2 PG2
input output
7
1
0
1
0
1
0
1
PG2
input
PG2
output
PG2
input
CSn
output
(n =1 or 0)
10.16 Port H
Port H is a 4-bit I/O port that also has other functions. The port H has the following registers. For
details on the port function control register 0, refer to section 10.15.4, Port Function Control
Register 0 (PFCR0), and for details on the port function control register 2, refer to section 10.3.5,
Port Function Control Register 2 (PFCR2).
• Port H data direction register (PHDDR)
• Port H data register (PHDR)
• Port H register (PORTH)
• Port Function Control Register 0 (PFCR0)
• Port Function Control Register 2 (PFCR2)
10.16.1 Port H Data Direction Register (PHDDR)
The individual bits of PHDDR specify input or output for the pins of port H.
PHDDR cannot be read; if it is, an undefined value will be read.
Rev. 6.00 Jul 19, 2006 page 540 of 1136
REJ09B0109-0600