Renesas M16C/64A Series User Manual page 457

Table of Contents

Advertisement

M16C/64A Group
22.3.1.2
PMCi Input
The options below can be selected in PMCi input (see Figure 22.2 "Remote Control Signal Receiver
Block Diagram (2/3) (PMCi Input)").
Input pin
Input polarity
Digital filter
A pin to which the PMCi signal is input is selected by setting bits PSEL1 to PSEL0 in the PMCiCON2
register.
To process the signal input to the PMC0 pin in the PMC1 circuit, or to process the signal input to the
PMC1 pin in the PMC0 circuit, use the same count source in PMC0 and PMC1.
(refer to 22.3.1.1 "Count Source").
Input polarity of the PMCi pin can be inverted. Whether to invert or not can be selected by setting the
SINV bit in the PMCiCON0 register.
If the signal input to the PMCi pin holds the same level for four sequential cycles when the FIL bit in
the PMCiCON0 register is 1 (digital filter enabled), that level is transferred to the internal circuit. The
sampling clock of the digital filter is the count source.
Select bits CSRC1 to CSRC0 (count source) in the PMC0CON3 register and bits CDIV1 to CDIV0
(count source divisor) before selecting bits PSEL1 to PSEL0 (input pin), the FIL bit (digital filter), and
the SINV bit (input signal polarity invert). Input to the PMCi pin is transferred to the internal circuit in
synchronization with the count source. Internal processing causes a delay. Figure 22.5 shows PMCi
Input Delay.
Sampling clock
(count source)
PMCi pin input
Digital filter output
(internal signal)
PMCi internal input signal
FIL = 1 (digital filter enabled)
FIL = 0 (digital filter disabled)
i = 0, 1
FIL: Bit in the PMCiCON0 register
Figure 22.5
PMCi Input Delay
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Holds the same
level for four
sequential cycles
Internal
processing
(2 cycles)
Internal processing (5 to 6 cycles)
22. Remote Control Signal Receiver
Holds the same level for four sequential cycles
Internal
processing
Page 424 of 800

Advertisement

Table of Contents
loading

Table of Contents