Port 1; Port 1 Data Direction Register (P1Ddr) - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

Port
Description
Port G General I/O port
also functioning
as bus control
I/Os
Notes: *1 Only modes 1 and 2 are available in the ROMless version.
*2 Not supported by the H8S/2366.
9.1

Port 1

Port 1 is an 8-bit I/O port that also has other functions. The port 1 has the following registers.

• Port 1 data direction register (P1DDR)

• Port 1 data register (P1DR)
• Port 1 register (PORT1)
9.1.1
Port 1 Data Direction Register (P1DDR)
The individual bits of P1DDR specify input or output for the pins of port 1.
Bit
Bit Name
Initial Value
7
P17DDR
0
6
P16DDR
0
5
P15DDR
0
4
P14DDR
0
3
P13DDR
0
2
P12DDR
0
1
P11DDR
0
0
P10DDR
0
1
1
Mode 1*
Mode 2*
PG6/BREQ
PG5/BACK
PG4/CS4/BREQO
2
PG3/CS3/RAS3*
2
PG2/CS2/RAS2*
PG1/CS1
PG0/CS0
R/W
Description
W
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port
W
1 pin an output pin, while clearing this bit to 0 makes
W
the pin an input pin.
W
W
W
W
W
Mode 7
EXPE = 1
Mode 4
PG6/BREQ
PG5/BACK
PG4/CS4/
BREQO
PG3/CS3/
RAS3*
2
PG2/CS2/
RAS2*
2
PG1/CS1
PG0/CS0
Rev. 2.00, 05/03, page 303 of 820
Input/
Output
EXPE = 0
Type
PG6
PG5
PG4
PG3
PG2
PG1
PG0

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents