/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/ |
D | main.c | 33 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/ |
D | main.c | 30 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/ |
D | main.c | 37 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/ |
D | main.c | 86 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/ |
D | main.c | 41 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/ |
D | main.c | 119 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/ |
D | qspi_if.h | 77 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/ |
D | main.c | 320 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/ |
D | main.c | 500 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/ |
D | main.c | 92 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/ |
D | index.rst | 408 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);
|