Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_cc32xx.c171 unsigned long int_type; in gpio_cc32xx_pin_interrupt_configure() local
185 int_type = GPIO_BOTH_EDGES; in gpio_cc32xx_pin_interrupt_configure()
187 int_type = GPIO_RISING_EDGE; in gpio_cc32xx_pin_interrupt_configure()
189 int_type = GPIO_FALLING_EDGE; in gpio_cc32xx_pin_interrupt_configure()
193 int_type = GPIO_HIGH_LEVEL; in gpio_cc32xx_pin_interrupt_configure()
195 int_type = GPIO_LOW_LEVEL; in gpio_cc32xx_pin_interrupt_configure()
199 MAP_GPIOIntTypeSet(port_base, (1 << pin), int_type); in gpio_cc32xx_pin_interrupt_configure()
Dgpio_numicro.c176 uint32_t int_type = 0; in gpio_numicro_pin_interrupt_configure() local
191 int_type = (mode == GPIO_INT_MODE_LEVEL) ? 1 : 0; in gpio_numicro_pin_interrupt_configure()
208 cfg->regs->INTTYPE = (cfg->regs->INTTYPE & ~BIT(pin)) | (int_type << pin); in gpio_numicro_pin_interrupt_configure()
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040_trigger.c73 data->int_type = int_source >> 8; in vcnl4040_handle_int()
75 if (data->int_type == VCNL4040_PROXIMITY_AWAY || in vcnl4040_handle_int()
76 data->int_type == VCNL4040_PROXIMITY_CLOSE) { in vcnl4040_handle_int()
78 } else if (data->int_type == VCNL4040_AMBIENT_HIGH || in vcnl4040_handle_int()
79 data->int_type == VCNL4040_AMBIENT_LOW) { in vcnl4040_handle_int()
82 LOG_ERR("Unknown interrupt source %d", data->int_type); in vcnl4040_handle_int()
Dvcnl4040.h114 enum interrupt_type int_type; member