Noise Filter Operation - Panasonic MN103S User Manual

Panaxseries
Hide thumbs Also See for MN103S:
Table of Contents

Advertisement

Chapter 5
Interrupt Controller
5.4.7

Noise Filter Operation

Noise Filter Operation
Noise filters can be used for external interrupts by setting the NFCNTn flag of the noise filter control register
(NFCNT) to "1". Each of these noise filter uses the sampling clock to count an external interrupt signal. The filter
recognizes such a signal as an interrupt and issues a signal to the internal interrupt controller if the same signal
level ("H" or "L") is detected 3 times or more.
Be sure to disable interrupts when specifying whether to enable or disable noise filters.
..
..
Signal received
through interrupt pin
Interrupt signal sent
to internal interrupt
controller
Noise Filter Sampling Frequency Setup
Sampling clock set registers (NFCLK0, NFCLK1) can be used to select a sampling clock of noise filters. The
sampling clock can be selected from 1/4, 1/8, 1/16, and 1/32 of IOCLK.
Setup of Interrupt Generation Condition for External Interrupts
Generation condition for an external interrupt can be selected from 5 types: both-edge detection, rising edge, fall-
ing edge, H level, and L level. Edge detection registers (IRQEDGESEL) are used to set whether to enable or dis-
able both-edge detection; and, if setting disable both-edge detection, external interrupt condition specification
registers (EXTMD0, EXTMD1) are used to select the rising edge, falling edge, H level, and L level from. If set-
ting enable both-edge detection, the EXTMD0 and EXTMD1 registers are used to select the rising edge.
V - 46
Noise Filter Function
Sampling clock
Figure:5.4.2 Noise Filter Operation
"H" level detected 3 times
"L" level detected 3 times

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn103sa7dMn103sa7g

Table of Contents