R01UH0136EJ0210 Rev.2.10
Page 202 of 800
Jul 31, 2012
M16C/64A Group
14. Interrupts
14.2.10 Port Control Register (PCR)
PCR5 (
INT6
input enable bit) (b5)
To use the AN2_4 pin as an analog input pin, set the PCR5 bit to 1 (
INT6
input disabled).
PCR6 (
INT7
input enable bit) (b6)
To use the AN2_5 pin as an analog input pin, set the PCR6 bit to 1 (
INT7
input disabled).
PCR7 (Key input enable bit) (b7)
To use pins AN4 to AN7 as analog input pins, set the PCR7 bit to 1 (key input disabled).
b7
0
b6 b5 b4
b1
b2
b3
Port Control Register
Symbol
PCR
Address
0366h
Bit Symbol
RW
Reset Value
0000 0XX0b
b0
Bit Name
Function
PCR0
RW
No register bits. If necessary, set to 0. The read value is undefined.
—
(b2-b1)
—
PCR5
RW
PCR6
RW
PCR7
RW
INT6 input enable bit
INT7 input enable bit
Key input enable bit
0 : Enabled
1 : Disabled
0 : Enabled
1 : Disabled
0 : Enabled
1 : Disabled
Port P1 control bit
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.
—
(b3)
RW
Reserved bit
Set to 0.
PCR4
RW
CEC output enable bit
0 : CEC output disabled
1 : CEC output enabled
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...