The specified debounce interval is actual for all pins where the debounce filter is enabled. This value should be specified in microseconds (µs): from 1µs up to 4,294,967,295µs (~1h 10m). If a DLN-series adapter does not support the specified value, it rounds it up to the nearest supported value.
The default value of the debounce interval depends on the DLN adapter. Once you call the DlnGpioSetDebounce()
function and specify the debounce interval value, you change the default value. If the debounce filter is disabled for a pin or a pin is not assigned to the GPIO module, this value will be applied when the pin is assigned to the GPIO module with the debounce filter enabled.
DLN-1 and DLN-2 adapters do not support the debounce filter feature.
The DlnGpioSetDebounce()
function is declared in the dln_gpio.h
file.