beautypg.com

Renesas H8S/2111B User Manual

Page 167

background image

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

7.12.2 Port C and Port D Output Data Registers (PCODR, PDODR)

PCODR and PDODR store output data for the pins on ports C and D.

Bit Bit

Name

Initial
Value R/W

Description

7 PC7ODR

0

R/W

6 PC6ODR

0

R/W

5 PC5ODR

0

R/W

4 PC4ODR

0

R/W

3 PC3ODR

0

R/W

2 PC2ODR

0

R/W

1 PC1ODR

0

R/W

0 PC0ODR

0

R/W

PCODR can always be read or written to, regardless of
the contents of PCDDR.

Bit Bit

Name

Initial
Value R/W

Description

7 PD7ODR

0

R/W

6 PD6ODR

0

R/W

5 PD5ODR

0

R/W

4 PD4ODR

0

R/W

3 PD3ODR

0

R/W

2 PD2ODR

0

R/W

1 PD1ODR

0

R/W

0 PD0ODR

0

R/W

PDODR can always be read or written to, regardless of
the contents of PDDDR.

7.12.3 Port C and Port D Input Data Registers (PCPIN, PDPIN)

Reading PCPIN and PDPIN always returns the pin states.

Bit Bit

Name

Initial
Value

R/W Description

7 PC7PIN

Undefined* R

6 PC6PIN

Undefined* R

5 PC5PIN

Undefined* R

4 PC4PIN

Undefined* R

3 PC3PIN

Undefined* R

2 PC2PIN

Undefined* R

1 PC1PIN

Undefined* R

0 PC0PIN

Undefined* R

PCPIN indicates the port C state. PCPIN has the same
address as PCDDR. If a write is performed, the port C
settings will change.

Note: * The initial value is determined according to the PC7 to PC0 pin states.

This manual is related to the following products: