DlnGpioGetDebounce() Function
Syntax
- C/C++
-
DLN_RESULT DlnGpioGetDebounce( HDLN handle, uint32_t* duration );
The DlnGpioGetDebounce() function retrieves the current setting of the minimum duration of the pulse to be registered (the Debounce interval).
Parameters:
- handle
- A handle to the DLN-series adapter.
- duration
- A pointer to an unsigned 32-bit integer. This integer will be filled with the debounce interval value after the function execution.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | The debounce interval has been successfully applied. |
| DLN_RES_COMMAND_NOT_SUPPORTED | The adapter does not support debounce filtering. |
This function is defined in the dln_gpio.h file.
2006-2012