2 port g output data register (pgodr), 3 port g input data register (pgpin) – Renesas H8S/2111B User Manual

Page 177

Advertising
background image

Rev. 1.00, 05/04, page 143 of 544

7.14.2

Port G Output Data Register (PGODR)

PGODR stores output data for the pins on port G.

Bit Bit

Name

Initial
Value R/W Description

7 PG7ODR

0 R/W

6 PG6ODR

0 R/W

5 PG5ODR

0 R/W

4 PG4ODR

0 R/W

3 PG3ODR

0 R/W

2 PG2ODR

0 R/W

1 PG1ODR

0 R/W

0 PG0ODR

0 R/W

PGODR can always be read or written to, regardless of
the contents of PGDDR.

7.14.3 Port G Input Data Register (PGPIN)

Reading PGPIN always returns the pin states.

Bit Bit

Name

Initial
Value R/W

Description

7 PG7PIN

Undefined* R

6 PG6PIN

Undefined* R

5 PG5PIN

Undefined* R

4 PG4PIN

Undefined* R

3 PG3PIN

Undefined* R

2 PG2PIN

Undefined* R

1 PG1PIN

Undefined* R

0 PG0PIN

Undefined* R

PGPIN indicates the port G state. PGPIN has the same
address as PGDDR. If a write is performed, the port G
settings will change.

Note: * The initial value is determined according to the PG7 to PG0 pin states.

Advertising
This manual is related to the following products: