27.3.2.4 Filter

By default, the LUT output is a combinational function of the LUT inputs. This may cause some short glitches when the inputs change the value. These glitches can be removed by clocking through filters if demanded by application needs.

The Filter Selection (FILTSEL) bits in the LUT n Control A (CCL.LUTnCTRLA) registers define the digital filter options.

When FILTSEL = SYNCH, the output is synchronized with CLK_MUX_OUTn. The output will be delayed by two positive CLK_MUX_OUTn edges.

When FILTSEL = FILTER, only the input that is persistent for more than two positive CLK_MUX_OUTn edges will pass through the gated flip-flop to the output. The output will be delayed by four positive CLK_MUX_OUTn edges.

One clock cycle later, after the corresponding LUT is disabled, all internal filter logic is cleared.

Figure 27-6. Filter