English
Language : 

HD6413003RF Datasheet, PDF (295/715 Pages) Renesas Technology Corp – Microcontroller (MCU)
Port C Data Direction Register (PCDDR): PCDDR is an 8-bit write-only register that can select
input or output for each pin in port C.
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
PC7 DDR PC6 DDR PC5 DDR PC4 DDR PC3 DDR PC2 DDR PC1 DDR PC0 DDR
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Port C data direction 7 to 0
These bits select input or output for port C pins
When bits in PCDDR are set to 1, pins PC7, PC6, PC1, and PC0 become generic output pins and
pins PC5 to PC2 become CS7 to CS4 output pins. When bits in PCDDR are cleared to 0, the
corresponding pins become input pins.
PCDDR is a write-only register. Its value cannot be read. All bits return 1 when read.
PCDDR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting, so if a PCDDR bit is set to 1, the corresponding pin maintains its
output state in software standby mode.
Port C Data Register (PCDR): PCDR is an 8-bit readable/writable register that stores data for
pins PC7 to PC0.
Bit
Initial value
Read/Write
7
PC 7
0
R/W
6
PC 6
0
R/W
5
PC 5
0
R/W
4
PC 4
0
R/W
3
PC 3
0
R/W
2
PC 2
0
R/W
1
PC 1
0
R/W
0
PC 0
0
R/W
Port C data 7 to 0
These bits store data for port C pins
When a bit in PCDDR is set to 1, if port C is read the value of the corresponding PCDR bit is
returned directly. When a bit in PCDDR is cleared to 0, if port C is read the corresponding pin
level is read.
PCDR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
277