Datasheet

M16C/6S Group Programmable I/O Ports
R01DS0201EJ0502 Rev.5.02 page 146 of 203
Dec 25, 2012
Figure 1.18.9. PCR Register
Port control register
Symbpl Address After reset
PCR 03FF
16
00
16
Bit name FunctionBit symbol
RW
b7 b6 b5 b4 b3 b2 b1 b0
PCR0 Port P1 control bit
Nothing is assigned.
In an attempt to write to these bits,
write “0”. The value, if read, turns out to be “0”.
RW
(b7-b1)
Operation performed when the P1
register is read
0: When the port is set for input,
the input levels of P10 to P17
pins are read. When set for
output, the port latch is read.
1: The port latch is read
regardless of whether the port
is set for input or output.