Home
last modified time | relevance | path

Searched refs:gpio_interrupt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_mchp_xec.c161 uint32_t gpio_interrupt = 0U; in gpio_xec_pin_interrupt_configure() local
189 gpio_interrupt = MCHP_GPIO_CTRL_IDET_LVL_HI; in gpio_xec_pin_interrupt_configure()
191 gpio_interrupt = MCHP_GPIO_CTRL_IDET_LVL_LO; in gpio_xec_pin_interrupt_configure()
197 gpio_interrupt = MCHP_GPIO_CTRL_IDET_FEDGE; in gpio_xec_pin_interrupt_configure()
200 gpio_interrupt = MCHP_GPIO_CTRL_IDET_REDGE; in gpio_xec_pin_interrupt_configure()
203 gpio_interrupt = MCHP_GPIO_CTRL_IDET_BEDGE; in gpio_xec_pin_interrupt_configure()
210 pcr1 |= gpio_interrupt; in gpio_xec_pin_interrupt_configure()
Dgpio_pcal64xxa.c108 const struct gpio_dt_spec gpio_interrupt; member
344 if (drv_cfg->gpio_interrupt.port == NULL) { in pcal64xxa_pin_interrupt_configure()
835 if (drv_cfg->gpio_interrupt.port != NULL) { in pcal64xxa_init()
836 if (!gpio_is_ready_dt(&drv_cfg->gpio_interrupt)) { in pcal64xxa_init()
841 rc = gpio_pin_configure_dt(&drv_cfg->gpio_interrupt, GPIO_INPUT); in pcal64xxa_init()
847 rc = gpio_pin_interrupt_configure_dt(&drv_cfg->gpio_interrupt, in pcal64xxa_init()
855 BIT(drv_cfg->gpio_interrupt.pin)); in pcal64xxa_init()
856 rc = gpio_add_callback(drv_cfg->gpio_interrupt.port, &drv_data->int_gpio_cb); in pcal64xxa_init()
897 .gpio_interrupt = PCAL64XXA_INIT_INT_GPIO_FIELDS(idx), \
931 .gpio_interrupt = PCAL64XXA_INIT_INT_GPIO_FIELDS(idx), \