nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
button_handler.h File Reference
#include <stdint.h>
#include <zephyr/drivers/gpio.h>

Go to the source code of this file.

Data Structures

struct  btn_config
 

Functions

int button_handler_init (void)
 Initialize button handler, with buttons defined in button_assignments.h.
 
int button_pressed (gpio_pin_t button_pin, bool *button_pressed)
 Check button state.