HD64336901G Renesas Technology, HD64336901G Datasheet - Page 141

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
9.1.2
PCR1 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 1.
9.1.3
PDR1 is a general I/O port data register of port 1.
Bit
7
6
5
4
3
2
1
0
Bit
7
6
5
4
3
2
1
0
Bit Name
PCR17
PCR14
Bit Name
P17
P14
Port Control Register 1 (PCR1)
Port Data Register 1 (PDR1)
Initial
Value
0
0
Initial
Value
0
1
1
0
1
1
1
1
R/W
W
W
R/W
R/W
R/W
Description
When the corresponding pin is designated in PMR1 as a
general I/O pin, setting a PCR1 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
Bits 6, 5, and 3 to 0 are reserved.
Description
These bits store output data for port 1 pins.
If PDR1 is read while PCR1 bits are set to 1, the value
stored in PDR1 are read. If PDR1 is read while PCR1 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR1.
Bits 6, 5, and 3 to 0 are reserved. These bits are always
read as 1.
Rev. 1.00, 11/03, page 113 of 376

Related parts for HD64336901G