Renesas H8S/2111B 用户手册

下载
页码 582
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 
R/W 
6 PC6ODR 
R/W 
5 PC5ODR 
R/W 
4 PC4ODR 
R/W 
3 PC3ODR 
R/W 
2 PC2ODR 
R/W 
1 PC1ODR 
R/W 
0 PC0ODR 
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 
R/W 
6 PD6ODR 
R/W 
5 PD5ODR 
R/W 
4 PD4ODR 
R/W 
3 PD3ODR 
R/W 
2 PD2ODR 
R/W 
1 PD1ODR 
R/W 
0 PD0ODR 
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.