Can anyone provide some information or a code snippet to implement a glitch filter for E70 or Cortex-M if possible using ASF ? I see that there are several PIO registers and there is an ASF function pio_set_debounce_filter() but I cannot figure out how to calculate appropriate values to filter noise on the interrupt pin.
EDIT: added debounce filter configuration in working title