h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 282

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
8.16.1
PGDDR selects input or output for the pins of port G on a bit-by-bit basis.
8.16.2
PGODR stores output data for the pins on port G.
Rev. 3.00 Mar 21, 2006 page 228 of 788
REJ09B0300-0300
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
PG7DDR
PG6DDR
PG5DDR
PG4DDR
PG3DDR
PG2DDR
PG1DDR
PG0DDR
Bit Name
PG7ODR
PG6ODR
PG5ODR
PG4ODR
PG3ODR
PG2ODR
PG1ODR
PG0ODR
Port G Data Direction Register (PGDDR)
Port G Output Data Register (PGODR)
Initial Value
Initial Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
0: Port G pin is an input pin
1: Port G pin is an output pin
PGDDR has the same address as PGPIN, and if
read, the port G pin states will be returned.
Description
PGODR can always be read or written to,
regardless of the contents of PGDDR.

Related parts for h8s-2161b