Home
last modified time | relevance | path

Searched refs:button_cb_data (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dmain.c33 static struct gpio_callback button_cb_data; variable
93 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in setup_btn()
94 gpio_add_callback(button.port, &button_cb_data); in setup_btn()
/Zephyr-latest/samples/basic/button/src/
Dmain.c30 static struct gpio_callback button_cb_data; variable
70 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in main()
71 gpio_add_callback(button.port, &button_cb_data); in main()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dmain.c37 static struct gpio_callback button_cb_data; variable
99 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in setup_btn()
100 gpio_add_callback(button.port, &button_cb_data); in setup_btn()
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/
Dmain.c86 static struct gpio_callback button_cb_data; in main() local
107 gpio_init_callback(&button_cb_data, button_pressed, in main()
114 gpio_add_callback(sw0_gpio.port, &button_cb_data); in main()
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c41 static struct gpio_callback button_cb_data; variable
136 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in main()
137 gpio_add_callback(button.port, &button_cb_data); in main()
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/
Dmain.c119 struct gpio_callback button_cb_data; in main() local
134 gpio_init_callback(&button_cb_data, change_mode, BIT(button.pin)); in main()
135 gpio_add_callback(button.port, &button_cb_data); in main()
/Zephyr-latest/include/zephyr/drivers/wifi/nrf_wifi/bus/
Dqspi_if.h77 void gpio_free_irq(int pin, struct gpio_callback *button_cb_data);
79 int gpio_request_irq(int pin, struct gpio_callback *button_cb_data, void (*irq_handler)());
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c320 static struct gpio_callback button_cb_data; variable
347 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in button_init()
348 gpio_add_callback(button.port, &button_cb_data); in button_init()
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c500 static struct gpio_callback button_cb_data; in configure_buttons() local
514 gpio_init_callback(&button_cb_data, button_pressed, in configure_buttons()
517 gpio_add_callback(sw0_gpio.port, &button_cb_data); in configure_buttons()
/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c92 static struct gpio_callback button_cb_data; variable
210 button_cb_data.pin_mask |= BIT(btn.pin); in configure_button_irq()
211 gpio_add_callback(btn.port, &button_cb_data); in configure_button_irq()
218 gpio_init_callback(&button_cb_data, button_pressed, 0); in configure_buttons()
/Zephyr-latest/doc/services/smf/
Dindex.rst408 static struct gpio_callback button_cb_data;
498 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin));
499 gpio_add_callback(button.port, &button_cb_data);