HD64336901G Renesas Technology, HD64336901G Datasheet - Page 159

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
9.7.1
PCRC selects inputs/outputs in bit units for pins to be used as general I/O ports of port C.
9.7.2
PDRC is a general I/O port data register of port C.
9.7.3
The correspondence between the register specification and the port functions is shown below.
[Legend]
X:
Bit
7 to 2
1
0
Bit
7 to 2
1
0
Register
Bit Name
Setting value
PC1/OSC2/CLKOUT pin
Don't care
Pin Functions
Bit Name
PCRC1
PCRC0
Bit Name
PC1
PC0
Port Data Register C (PDRC)
Port Control Register C (PCRC)
PMRC1
0
1
Initial
Value
0
0
Initial
Value
0
0
CKCSR
R/W
W
W
R/W
R/W
R/W
PMRC0
X
0
1
Description
Reserved
When each of the port C pins, PC1 and PC0, functions as
an general I/O port, setting a PCRC bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
Description
Reserved
These bits store output data for port C pins.
If PDRC is read while PCRC bits are set to 1, the value
stored in PDRC is read. If PDRC is read while PCRC bits
are cleared to 0, the pin states are read regardless of the
value stored in PDRC.
PCRC
PCRC1
0
1
X
X
Rev. 1.00, 11/03, page 131 of 376
Pin Function
PC1 input pin
PC1 output pin
CLKOUT output pin
OSC2 oscillation pin

Related parts for HD64336901G