Home
last modified time | relevance | path

Searched refs:gpio_int1 (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_trigger.c93 gpio_pin_interrupt_configure_dt(&cfg->gpio_int1, GPIO_INT_DISABLE); in icm42688_trigger_set()
110 gpio_pin_interrupt_configure_dt(&cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_trigger_set()
121 if (!cfg->gpio_int1.port) { in icm42688_trigger_init()
126 if (!gpio_is_ready_dt(&cfg->gpio_int1)) { in icm42688_trigger_init()
132 gpio_pin_configure_dt(&cfg->gpio_int1, GPIO_INPUT); in icm42688_trigger_init()
133 gpio_init_callback(&data->gpio_cb, icm42688_gpio_callback, BIT(cfg->gpio_int1.pin)); in icm42688_trigger_init()
134 res = gpio_add_callback(cfg->gpio_int1.port, &data->gpio_cb); in icm42688_trigger_init()
150 return gpio_pin_interrupt_configure_dt(&cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_trigger_init()
Dicm42688_rtio_stream.c67 gpio_pin_interrupt_configure_dt(&drv_cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_complete_cb()
89 gpio_pin_interrupt_configure_dt(&drv_cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_fifo_count_cb()
210 gpio_pin_interrupt_configure_dt(&drv_cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_int_status_cb()
256 gpio_pin_interrupt_configure_dt(&drv_cfg->gpio_int1, GPIO_INT_EDGE_TO_ACTIVE); in icm42688_int_status_cb()
Dicm42688.c332 .gpio_int1 = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, {0}), \
Dicm42688.h355 struct gpio_dt_spec gpio_int1; member
/Zephyr-Core-3.7.0/drivers/sensor/st/iis328dq/
Diis328dq_trigger.c30 return gpio_pin_interrupt_configure_dt(&cfg->gpio_int1, state); in iis328dq_set_int_pad_state()
140 if (!cfg->gpio_int1.port && !cfg->gpio_int2.port) { in iis328dq_trigger_set()
266 if (!cfg->gpio_int1.port && !cfg->gpio_int2.port) { in iis328dq_init_interrupt()
272 if (cfg->gpio_int1.port) { in iis328dq_init_interrupt()
273 if (!gpio_is_ready_dt(&cfg->gpio_int1)) { in iis328dq_init_interrupt()
295 if (cfg->gpio_int1.port) { in iis328dq_init_interrupt()
296 ret = gpio_pin_configure_dt(&cfg->gpio_int1, GPIO_INPUT); in iis328dq_init_interrupt()
302 BIT(cfg->gpio_int1.pin)); in iis328dq_init_interrupt()
303 if (gpio_add_callback(cfg->gpio_int1.port, &iis328dq->int1_cb) < 0) { in iis328dq_init_interrupt()
Diis328dq.h49 const struct gpio_dt_spec gpio_int1; member
Diis328dq.c386 .gpio_int1 = GPIO_DT_SPEC_INST_GET_OR(inst, int1_gpios, {0}), \