Renesas M16C/64A Series User Manual page 652

Table of Contents

Advertisement

M16C/64A Group
27.2.1
Port Control Register (PCR)
Port Control Register
b7
b6 b5 b4
b3
b2
b1
0
PCR5 (INT6 input enable bit) (b5)
Set the PCR5 bit to 1 ( INT6 input disabled) when using the AN2_4 pin for analog input.
PCR6 (INT7 input enable bit) (b6)
Set the PCR6 bit to 1 ( INT7 input disabled) when using AN2_5 pin for analog input.
PCR7 (Key input enable bit) (b7)
Set the PCR7 bit to 1 (key input disabled) when using pins AN4 to AN7 for analog input.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
b0
Symbol
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
(b3)
PCR4
CEC output enable bit
PCR5
INT6 input enable bit
PCR6
INT7 input enable bit
PCR7
Key input enable bit
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.
0 : CEC output disabled
1 : CEC output enabled
0 : Enabled
1 : Disabled
0 : Enabled
1 : Disabled
0 : Enabled
1 : Disabled
27. A/D Converter
Reset Value
0000 0XX0b
RW
RW
RW
RW
RW
RW
RW
Page 619 of 800

Advertisement

Table of Contents
loading

Table of Contents