Notes - NEC PD78212 User Manual

8-bit single-chip microcomputer sub-series
Table of Contents

Advertisement

µ PD78214 Sub-Series
INTPn input (n = 0 to 6)
Falling edge detection
Rising edge detection
If the IE-78210-R is used, the real-time output port, timer/counter, and A/D converter operate according to the
erroneously detected edge. If another in-circuit emulator is used, these components operate as described below:
• Real-time output port : Operates according to the erroneously detected edge.
• A/D converter
• Capture or clear operation of the timer/counter : Carried out independently of the erroneously detected
• Compare operation of the timer/counter : If a mode for performing a clear operation after a capture operation

11.4 NOTES

(1) If an edge is input while a valid edge is changed, it cannot be determined whether the new edge is judged as
being a valid edge.
(2) Noise elimination by analog delay is carried out on pin P20. An edge is detected up to 10 µ s after the edge
is actually input. Pin P20 differs from pins P21 to P26 in that the delay time depends on the characteristics of
the device.
(3) On pins P21 to P26, digital noise elimination is carried out with the f
of the f
clock to detect an edge after it is actually input.
CLK
(4) If the width of a pulse input to pins P21 to P26 corresponds to 8 to 12 cycles of the f
determined whether the pulse is detected as being a valid edge. To ensure the accurate detection of a pulse,
hold the pulse at an identical level for 12 clock cycles or longer.
298
(b) Erroneously detected edge during input of a high signal
f
/4
CLK
After noise rejection
: Operates according to the erroneously detected edge.
is selected, or if timer/counter 2 is used as an external event
counter, the erroneously detected edge causes the timing of
match interrupt generation to be changed. As a result, the timing
of match interrupt generation will disagree with that when the
values of the timer/counter and compare register match. If the
mode for performing a clear operation after a capture operation is
selected, the timing of match interrupt generation can be cor-
rected by inputting a correct edge or by stopping the timer/
counter. If timer/counter 2 is used as an external event counter,
the timing of the match interrupt generation can be corrected by
stopping the timer/counter. Timer output is not affected by the
erroneously detected edge and operates according to the correct
timing.
Noise
"L"
Erroneously detected edge
edge. Even if the erroneously detected edge causes an
interrupt, the capture value is not updated. The value of
CR22 becomes undefined after being read by the CPU.
/4 clock. It takes about 8 to 12 cycles
CLK
clock, it cannot be
CLK

Advertisement

Table of Contents
loading

Table of Contents