Download Print this page

Renesas M16C/50 Series User Manual page 193

Advertisement

M16C/5L Group, M16C/56 Group
11.3.6
Port Control Register (PCR)
Port Control Register
b7
b6 b5 b4
b3
b2
b1
0
0
0
PCR0 (Port P1 Control Bit) (b0)
When the P1 register is read after the PCR0 bit is set to 1, the corresponding port latch is read
regardless of the PD1 register setting.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Symbol
b0
PCR
Bit Symbol
Bit Name
PCR0
Port P1 control bit
No register bits. If necessary, set to 0. The read value is undefined.
(b2-b1)
Reserved bit
(b4-b3)
No register bits. If necessary, set to 0. The read value is undefined.
(b6-b5)
Reserved bit
(b7)
Address
0366h
Function
Operation performed when the P1 register is
read
0: When the port is set to input, the input
levels of pins P1_0 to P1_7 are read. When
set to output, the port latch is read.
1: The port latch is read regardless of
whether the port is set to input or output.
Set to 0.
Set to 0.
11. Programmable I/O Ports
Reset Value
0XX0 0XX0b
RW
RW
RW
RW
Page 156 of 803

Advertisement

loading