Searched refs:button_cb (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | microbit.c | 51 static struct gpio_callback button_cb; in configure_button() local 56 gpio_init_callback(&button_cb, button_pressed, BIT(button.pin)); in configure_button() 58 gpio_add_callback(button.port, &button_cb); in configure_button()
|
D | board.c | 51 static void button_cb(const struct device *port, struct gpio_callback *cb, in button_cb() function 100 gpio_init_callback(&gpio_cb, button_cb, BIT(BUTTON0_PIN)); in button_init()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/ |
D | app_gpio.c | 58 static struct gpio_callback button_cb[4]; in app_gpio_init() local 81 gpio_init_callback(&button_cb[i], button_pressed, in app_gpio_init() 83 gpio_add_callback(button_device[i].port, &button_cb[i]); in app_gpio_init()
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 241 static struct gpio_callback button_cb; in configure_buttons() local 261 gpio_init_callback(&button_cb, button_pressed, in configure_buttons() 263 return gpio_add_callback(button_a.port, &button_cb); in configure_buttons()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/ |
D | main.c | 270 static struct gpio_callback button_cb; variable 591 gpio_init_callback(&button_cb, button_pressed, in main() 602 gpio_add_callback(sw_device[i].port, &button_cb); in main()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | reel_board.c | 505 static struct gpio_callback button_cb; in configure_button() local 516 gpio_init_callback(&button_cb, button_interrupt, BIT(sw0_gpio.pin)); in configure_button() 518 gpio_add_callback(sw0_gpio.port, &button_cb); in configure_button()
|