10.6.1 Interrupt Line Characteristics

For each event source, the EIC features a dedicated interrupt line as shown in the Block Diagram.

If Glitch Filter Enable (GFEN) is cleared in the Source Configuration register (EIC_SCFGxR), pulses of any width can be forwarded and detected as valid source events on the interrupt line x regardless of the respective frequencies of the source clock, the EIC peripheral clock and the Interrupt Controller clock.

If EIC_SCFGxR.GFEN is set, the source events are filtered to remove unwanted glitches. The glitch filter forwards its input level when it is maintained for more than 2GFSEL peripheral clock cycles and rejects pulses narrower than 2GFSEL-1 peripheral clock cycles.

The source event polarity can be changed by EIC_SCFGxR.POL.

Either edge or level event detection can be performed by EIC_SCFGxR.LVL.

When set, EIC_SCFGxR.FRZ freezes all interrupt line settings until hardware reset. This includes the settings in EIC_SCFGxR. This feature can be used to prevent any corruption of the critical interrupt lines configuration.

If the glitch filter is enabled in EIC_SCFGxR.GFEN, the maximum propagation delay through the EIC (see the following figure) is calculated as:

EIC_delay_max = (2 + 2GFSEL) * periph_clk_period + 2.5 * clock_period

and the minimum propagation delay through the EIC is:

EIC_delay_min = (1 + 2GFSEL) * periph_clk_period + 1 * clock_period

If the glitch filter is disabled, the maximum propagation delay through the EIC is calculated as:

EIC_delay_max = 2.5 * clock_period

and the minimum propagation delay through the EIC is:

EIC_delay_min = 1 * clock_period
Figure 10-2. EIC Propagation Delay

clock_period is the peripheral clock period of the EIC as programmed in the Power Management Controller.