Port G; Port G Data Direction Register - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

PF0/WAIT/OE
The pin function is switched as shown below according to the operating mode, bit EXPE, bit
WAITE, bit OEE in DRAMCR, bit OES in PFCR2, and bit PF0DDR.
Operating
mode
EXPE
OEE*
0
OES*
WAITE
PF0DDR
0
Pin function
PF0
input
output
Note: * Not supported by the H8S/2366.
9.14

Port G

Port G is a 7-bit I/O port that also has other functions. The port G has the following registers.
• Port G data direction register (PGDDR)
• Port G data register (PGDR)
• Port G register (PORTG)
• Port Function Control Register 0 (PFCR0)
9.14.1
Port G Data Direction Register (PGDDR)
The individual bits of PGDDR specify input or output for the pins of port G.
PGDDR cannot be read; if it is, an undefined value will be read.
Rev. 2.00, 05/03, page 368 of 820
1, 2, 4
1
0
0
1
1
0
1
WAIT
PF0
PF0
PF0
input
output
input
0
1
0
1
0
OE
*
PF0
PF0
PF0
output
input
output
input
7
1
0
1
0
0
1
0
1
WAIT
PF0
PF0
PF0
output
input
output
input
1
1
OE
*
output

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents