Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
button gpio press validation More...
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/util.h>
Go to the source code of this file.
Enumerations | |
enum | { VALIDATION_BUTTON_MODE_TRIGGER = BIT(0) , VALIDATION_BUTTON_MODE_RELEASE = BIT(1) , VALIDATION_BUTTON_MODE_BOTH } |
Functions | |
int | infuse_validation_button (const struct gpio_dt_spec *button, uint8_t flags) |
button gpio press validation
SPDX-License-Identifier: FSL-1.1-ALv2