HD6412373R RENESAS [Renesas Technology Corp], HD6412373R Datasheet - Page 608

no-image

HD6412373R

Manufacturer Part Number
HD6412373R
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 10 I/O Ports
• PG1/CS1, PG0/CS0
10.16
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.7.00 Mar. 18, 2009 page 540 of 1136
REJ09B0109-0700
Operating
mode
EXPE
CSnE
PGnDDR
Pin function
The pin function is switched as shown below according to the operating mode, bit EXPE, bit
CSnE, and bit PGnDDR.
Port H
input
PG2
0
0
output
PG2
1
1, 2, 4
input
PG2
0
1
output
CSn
1
input
PG2
0
0
output
PG2
1
input
PG2
0
0
7
output
PG2
1
1
input
PG2
0
(n =1 or 0)
1
output
CSn
1

Related parts for HD6412373R