/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | board.c | 79 static int button_init(struct k_work *button_pressed) in button_init() argument 98 button_work = button_pressed; in button_init() 109 int board_init(struct k_work *button_pressed) in board_init() argument 118 return button_init(button_pressed); in board_init()
|
D | microbit.c | 32 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 56 gpio_init_callback(&button_cb, button_pressed, BIT(button.pin)); in configure_button()
|
D | main.c | 327 static void button_pressed(struct k_work *work) in button_pressed() function 417 k_work_init(&button_work, button_pressed); in main()
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/ |
D | main.c | 39 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed() function 93 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in setup_btn()
|
/Zephyr-latest/samples/basic/button/src/ |
D | main.c | 39 void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 70 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in main()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/ |
D | app_gpio.c | 16 static void button_pressed(const struct device *dev, in button_pressed() function 81 gpio_init_callback(&button_cb[i], button_pressed, in app_gpio_init()
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/ |
D | main.c | 45 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed() function 99 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in setup_btn()
|
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/ |
D | main.c | 50 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 107 gpio_init_callback(&button_cb_data, button_pressed, in main()
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/ |
D | main.c | 57 void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 136 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in main()
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/ |
D | main.c | 42 static K_SEM_DEFINE(button_pressed, 0, 1); 48 k_sem_give(&button_pressed); in sw0_handler() 55 k_sem_give(&button_pressed); in sw1_handler() 379 if (k_sem_take(&button_pressed, K_MSEC(5000)) != 0) { in main()
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 47 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 261 gpio_init_callback(&button_cb, button_pressed, in configure_buttons()
|
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/ |
D | main.c | 322 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed() function 347 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin)); in button_init()
|
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
D | main.c | 403 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 514 gpio_init_callback(&button_cb_data, button_pressed, in configure_buttons()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/ |
D | main.c | 416 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed() function 591 gpio_init_callback(&button_cb, button_pressed, in main()
|
/Zephyr-latest/samples/bluetooth/central_otc/src/ |
D | main.c | 181 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed() function 218 gpio_init_callback(&button_cb_data, button_pressed, 0); in configure_buttons()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/ |
D | README.rst | 33 the button_pressed() interrupt handler. An interrupt within 250ms of the
|
/Zephyr-latest/doc/services/smf/ |
D | index.rst | 466 void button_pressed(const struct device *dev, 498 gpio_init_callback(&button_cb_data, button_pressed, BIT(button.pin));
|