Home
last modified time | relevance | path

Searched refs:gpio_add_callback (Results 1 – 25 of 187) sorted by relevance

12345678

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c119 gpio_add_callback(left_gpio.port, &left_cb); in main()
121 gpio_add_callback(right_gpio.port, &right_cb); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dtest_config_trigger.c39 ret = gpio_add_callback(dev_in, &drv_data->gpio_cb); in ZTEST()
90 ret = gpio_add_callback(dev_in, &drv_data->gpio_cb); in ZTEST()
Dmain.c64 int rc = gpio_add_callback(dev, &gpio_emul_callback); in board_setup()
Dtest_callback_manage.c55 rc = gpio_add_callback(dev_in, &cb_data[0].gpio_cb); in init_callback()
60 rc = gpio_add_callback(dev_in, &cb_data[1].gpio_cb); in init_callback()
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina23x_trigger.c42 ret = gpio_add_callback(alert_gpio->port, &trigg->gpio_cb); in ina23x_trigger_mode_init()
Dina230_trigger.c69 ret = gpio_add_callback(config->alert_gpio.port, &ina230->gpio_cb); in ina230_trigger_mode_init()
/Zephyr-latest/samples/bluetooth/st_ble_sensor/src/
Dbutton_svc.c47 gpio_add_callback(button.port, &gpio_cb); in button_init()
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c168 ret = gpio_add_callback(config->gpio_wui.port, &uart1_wui_cb); in uart_it8xxx2_init()
175 ret = gpio_add_callback(config->gpio_wui.port, &uart2_wui_cb); in uart_it8xxx2_init()
/Zephyr-latest/samples/subsys/tracing/src/
Dgpio_main.c52 gpio_add_callback(dev, &gpio_cb); in gpio_sample()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500_nm_bsp.c78 (void)gpio_add_callback(winc1500_config.irq_gpio.port, &winc1500.gpio_cb); in nm_bsp_register_isr()
/Zephyr-latest/drivers/lora/
Dsx126x_standalone.c82 if (gpio_add_callback(sx126x_gpio_dio1.port, in sx126x_variant_init()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dmain.c94 gpio_add_callback(button.port, &button_cb_data); in setup_btn()
/Zephyr-latest/samples/bluetooth/mesh/src/
Dmicrobit.c58 gpio_add_callback(button.port, &button_cb); in configure_button()
Dboard.c101 gpio_add_callback(button_dev, &gpio_cb); in button_init()
/Zephyr-latest/samples/basic/button/src/
Dmain.c71 gpio_add_callback(button.port, &button_cb_data); in main()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dapp_gpio.c83 gpio_add_callback(button_device[i].port, &button_cb[i]); in app_gpio_init()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dmain.c100 gpio_add_callback(button.port, &button_cb_data); in setup_btn()
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/
Dmain.c114 gpio_add_callback(sw0_gpio.port, &button_cb_data); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin_interrupt.c84 ret = gpio_add_callback(port, &gpio_cb); in test_gpio_pin_interrupt_edge()
164 ret = gpio_add_callback(port, &gpio_cb); in test_gpio_pin_interrupt_level()
/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/
Dmain.c131 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
155 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
197 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
221 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
251 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
278 zassert_ok(gpio_add_callback(gpio_dev, &callback_struct)); in ZTEST()
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c137 gpio_add_callback(button.port, &button_cb_data); in main()
/Zephyr-latest/tests/drivers/gpio/gpio_enable_disable_interrupt/src/
Dmain.c49 zassert_ok(gpio_add_callback(fixture->irq_spec->port, &cb_data), "failed to add callback"); in gpio_enable_disable_interrupt_before()
/Zephyr-latest/samples/drivers/i2s/echo/src/
Dmain.c97 gpio_add_callback(sw0_spec.port, &sw0_cb_data); in init_buttons()
125 gpio_add_callback(sw1_spec.port, &sw1_cb_data); in init_buttons()
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/
Dlsm9ds0_gyro_trigger.c127 if (gpio_add_callback(config->int_gpio.port, &data->gpio_cb) < 0) { in lsm9ds0_gyro_init_interrupt()
/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c95 gpio_add_callback(btn.port, &btn_cb_ctx.callback); in main()

12345678