English
Language : 

HD64F2145 Datasheet, PDF (245/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.14.1 Port C and Port D Data Direction Registers (PCDDR, PDDDR)
PCDDR and PDDDR select input or output for the pins of port C and port D on a bit-by-bit basis.
Bit Bit Name Initial Value R/W
7
PC7DDR 0
W
6
PC6DDR 0
W
5
PC5DDR 0
W
4
PC4DDR 0
W
3
PC3DDR 0
W
2
PC2DDR 0
W
1
PC1DDR 0
W
0
PC0DDR 0
W
Description
0: Port C pin is an input pin
1: Port C pin is an output pin
PCDDR has the same address as PCPIN, and if
read, the port C pin states will be returned.
Bit Bit Name Initial Value R/W Description
7
PD7DDR 0
W
0: Port D pin is an input pin
6
PD6DDR 0
W
1: Port D pin is an output pin
5
PD5DDR 0
4
PD4DDR 0
W
PDDDR has the same address as PDPIN, and if
W
read, the port D pin states will be returned.
3
PD3DDR 0
W
2
PD2DDR 0
W
1
PD1DDR 0
W
0
PD0DDR 0
W
Rev. 2.0, 08/02, page 205 of 788