The digital filter capabilities of the PORT module are available in all digital Pin Muxing
modes if the PORT module is enabled.
The clock used for all digital filters within one port can be configured between the bus
clock or the 1-kHz LPO clock. This selection must be changed only when all digital
filters for that port are disabled. If the digital filters for a port are configured to use the
bus clock, then the digital filters are bypassed for the duration of Stop mode. While the
digital filters are bypassed, the output of each digital filter always equals the input pin,
but the internal state of the digital filters remains static and does not update due to any
change on the input pin.
The filter width in clock size is the same for all enabled digital filters within one port and
must be changed only when all digital filters for that port are disabled.
The output of each digital filter is logic zero after system reset and whenever a digital
filter is disabled. After a digital filter is enabled, the input is synchronized to the filter
clock, either the bus clock or the 1-kHz LPO clock. If the synchronized input and the
output of the digital filter remain different for a number of filter clock cycles equal to the
filter width register configuration, then the output of the digital filter updates to equal the
synchronized filter input.
The minimum latency through a digital filter equals two or three filter clock cycles plus
the filter width configuration register.