Home
last modified time | relevance | path

Searched refs:gpio_int2 (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/st/iis328dq/
Diis328dq_trigger.c32 return gpio_pin_interrupt_configure_dt(&cfg->gpio_int2, 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()
278 if (cfg->gpio_int2.port) { in iis328dq_init_interrupt()
279 if (!gpio_is_ready_dt(&cfg->gpio_int2)) { in iis328dq_init_interrupt()
309 if (cfg->gpio_int2.port) { in iis328dq_init_interrupt()
310 ret = gpio_pin_configure_dt(&cfg->gpio_int2, GPIO_INPUT); in iis328dq_init_interrupt()
316 BIT(cfg->gpio_int2.pin)); in iis328dq_init_interrupt()
317 if (gpio_add_callback(cfg->gpio_int2.port, &iis328dq->int2_cb) < 0) { in iis328dq_init_interrupt()
Diis328dq.h50 const struct gpio_dt_spec gpio_int2; member
Diis328dq.c387 .gpio_int2 = GPIO_DT_SPEC_INST_GET_OR(inst, int2_gpios, {0}), \
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688.h356 struct gpio_dt_spec gpio_int2; member