Port C And Port D Output Data Registers (Pcodr, Pdodr); Port C And Port D Input Data Registers (Pcpin, Pdpin) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

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
7
PC7ODR 0
6
PC6ODR 0
5
PC5ODR 0
4
PC4ODR 0
3
PC3ODR 0
2
PC2ODR 0
1
PC1ODR 0
0
PC0ODR 0
Bit
Bit Name
7
PD7ODR 0
6
PD6ODR 0
5
PD5ODR 0
4
PD4ODR 0
3
PD3ODR 0
2
PD2ODR 0
1
PD1ODR 0
0
PD0ODR 0
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
7
PC7PIN
6
PC6PIN
5
PC5PIN
4
PC4PIN
3
PC3PIN
2
PC2PIN
1
PC1PIN
0
PC0PIN
Note:
*
The initial value is determined according to the PC7 to PC0 pin states.
Initial
Value
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial
Value
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial
Value
R/W
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Undefined* R
Description
PCODR can always be read or written to, regardless of
the contents of PCDDR.
Description
PDODR can always be read or written to, regardless of
the contents of PDDDR.
Description
PCPIN indicates the port C state. PCPIN has the same
address as PCDDR. If a write is performed, the port C
settings will change.
Rev. 1.00, 05/04, page 133 of 544

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents