Home
last modified time | relevance | path

Searched refs:int_pin (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/drivers/sensor/tdk/mpu9250/
Dmpu9250_trigger.c31 ret = gpio_pin_interrupt_configure_dt(&cfg->int_pin, GPIO_INT_DISABLE); in mpu9250_trigger_set()
44 ret = gpio_pin_interrupt_configure_dt(&cfg->int_pin, in mpu9250_trigger_set()
64 ret = gpio_pin_interrupt_configure_dt(&cfg->int_pin, GPIO_INT_DISABLE); in mpu9250_gpio_callback()
88 ret = gpio_pin_interrupt_configure_dt(&cfg->int_pin, in mpu9250_thread_cb()
128 if (!gpio_is_ready_dt(&cfg->int_pin)) { in mpu9250_init_interrupt()
135 ret = gpio_pin_configure_dt(&cfg->int_pin, GPIO_INPUT); in mpu9250_init_interrupt()
143 BIT(cfg->int_pin.pin)); in mpu9250_init_interrupt()
145 ret = gpio_add_callback(cfg->int_pin.port, &drv_data->gpio_cb); in mpu9250_init_interrupt()
175 ret = gpio_pin_interrupt_configure_dt(&cfg->int_pin, in mpu9250_init_interrupt()
Dmpu9250.h66 const struct gpio_dt_spec int_pin; member
Dmpu9250.c358 (.int_pin = GPIO_DT_SPEC_INST_GET(inst, irq_gpios))) \
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_trigger.c40 if (cfg->int_pin == 1) { in ism330dhcx_enable_t_int()
68 if (cfg->int_pin == 1) { in ism330dhcx_enable_xl_int()
104 if (cfg->int_pin == 1) { in ism330dhcx_enable_g_int()
Dism330dhcx.h40 uint8_t int_pin; member
Dism330dhcx.c805 .int_pin = DT_INST_PROP_OR(inst, int_pin, 0),)) \
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso_trigger.c40 if (cfg->int_pin == 1) { in lsm6dso_enable_t_int()
67 if (cfg->int_pin == 1) { in lsm6dso_enable_xl_int()
103 if (cfg->int_pin == 1) { in lsm6dso_enable_g_int()
Dlsm6dso.h64 uint8_t int_pin; member
Dlsm6dso.c891 .int_pin = DT_INST_PROP(inst, int_pin)
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx.h49 uint8_t int_pin; member
Diis2iclx_trigger.c39 if (cfg->int_pin == 1) { in iis2iclx_enable_t_int()
66 if (cfg->int_pin == 1) { in iis2iclx_enable_xl_int()
Diis2iclx.c647 .int_pin = DT_INST_PROP(inst, int_pin)
/Zephyr-latest/drivers/sensor/st/lis2dw12/
Dlis2dw12.h92 uint8_t int_pin; member
Dlis2dw12_trigger.c34 if (cfg->int_pin == 1) { in lis2dw12_enable_int()
496 LOG_INF("%s: int-pin is on INT%d", dev->name, cfg->int_pin); in lis2dw12_init_interrupt()
Dlis2dw12.c645 .int_pin = DT_INST_PROP(inst, int_pin),