English
Language : 

HD6473258CP10 Datasheet, PDF (150/301 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
7.5 Interrupts
The free-running timer channel can request four types of interrupts: input capture (ICI), output
compare A and B (OCIA and OCIB), and overflow (FOVI). Each interrupt is requested when the
corresponding flag bit is set, provided the corresponding enable bit is also set. Independent signals
are sent to the interrupt controller for each type of interrupt. Table 7-3 lists information about these
interrupts.
Table 7-3. Free-Running Timer Interrupts
Interrupt
ICI
OCIA
OCIB
FOVI
Description
Requested when ICF and ICIE are set
Requested when OCFA and OCIAE are set
Requested when OCFB and OCIBE are set
Requested when OVF and OVIE are set
7.6 Noise Canceler
Priority
High
Low
The noise canceler acts as a digital low-pass filter, rejecting high-frequency pulses received at the
input capture (FTI) pin. Figure 7-14 shows a block diagram of the noise canceler.
The noise canceler consists of four latches connected in series, and a circuit that detects when all
four latches contain the same value. The FTI input is sampled on the rising edge of the sampling
clock selected by the NCS1 and NCS0 bits. When all four latches contain the same value, this value
is regarded as valid and output from the noise canceler. If all four latches are not the same, the
noise canceler holds its previous output. Immediately after a reset, the noise canceler output is 0.
To assure capture, the pulse input at the FTI pin must be at least four sampling clock cycles wide.
The noise canceler control register (FNCR) provides a selection of three sampling clock rates and
the option of disabling the noise canceler. Table 7-4 indicates the cycle times of the sampling clock
for various settings.
142