gpio_get_debounce()
Get the GPIO debounce
Synopsis:
#include <hw/gpio_api.h>
gpio_itype_t gpio_get_debounce( int32_t gpio_fd,
gpio_header_t hdr );
Arguments:
- gpio_fd
- The file descriptor of a GPIO device.
- hdr
- The GPIO header identifying a GPIO pin.
Description:
The gpio_get_debounce() function gets the GPIO debounce of a pin.
Returns:
A valid GPIO debounce on success, or -1 if an error occurs (errno is set).
Errors:
Any error value that MsgSend() can return.
Page updated:
