Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
button.h File Reference

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)
 

Detailed Description

button gpio press validation

Author
Aeyohan Furtado aeyoh.nosp@m.an@e.nosp@m.mbein.nosp@m.t.co.nosp@m.m

SPDX-License-Identifier: FSL-1.1-ALv2