Port Control Register (Pcr) - Renesas M16C/64C User Manual

Table of Contents

Advertisement

M16C/64C Group

14.2.10 Port Control Register (PCR)

Port Control Register
b7
b6 b5 b4
b3
b2
b1
0
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).
R01UH0092EJ0110 Rev.1.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
14. Interrupts
Reset Value
0000 0XX0b
RW
RW
RW
RW
RW
RW
RW
Page 202 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents