Home
last modified time | relevance | path

Searched refs:int_flags (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin_interrupt.c51 unsigned int int_flags) in test_gpio_pin_interrupt_edge() argument
86 ret = gpio_pin_interrupt_configure(port, TEST_PIN, int_flags); in test_gpio_pin_interrupt_edge()
96 if (int_flags & GPIO_INT_HIGH_1) { in test_gpio_pin_interrupt_edge()
104 if (int_flags & GPIO_INT_LOW_0) { in test_gpio_pin_interrupt_edge()
124 unsigned int int_flags, unsigned int interrupt_calls) in test_gpio_pin_interrupt_level() argument
145 pin_out_val = ((int_flags & GPIO_INT_HIGH_1) != 0) ? 0 : 1; in test_gpio_pin_interrupt_level()
166 ret = gpio_pin_interrupt_configure(port, TEST_PIN, int_flags); in test_gpio_pin_interrupt_level()
192 ret = gpio_pin_interrupt_configure(port, TEST_PIN, int_flags); in test_gpio_pin_interrupt_level()
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintc_esp32c3.h52 #define ESP_INT_FLAGS_CHECK(int_flags) ((int_flags) & ESP_INTR_FLAG_SHARED) argument
Dintc_esp32.h56 #define ESP_INT_FLAGS_CHECK(int_flags) ((int_flags) & ESP_INTR_FLAG_SHARED) argument
/Zephyr-latest/drivers/sensor/vishay/veml7700/
Dveml7700.c92 uint32_t int_flags; member
341 uint16_t int_flags = 0; in veml7700_fetch_int_flags() local
344 ret = veml7700_read(dev, VEML7700_CMDCODE_ALS_INT, &int_flags); in veml7700_fetch_int_flags()
349 data->int_flags = int_flags & VEML7700_ALS_INT_MASK; in veml7700_fetch_int_flags()
350 LOG_DBG("Read int state: 0x%02x", data->int_flags); in veml7700_fetch_int_flags()
507 val->val1 = data->int_flags; in veml7700_channel_get()
/Zephyr-latest/drivers/gpio/
Dgpio_mcux_rgpio.c262 uint32_t int_flags; in mcux_rgpio_port_isr() local
264 int_flags = base->ISFR[0]; /* Notice: only irq0 is used for now */ in mcux_rgpio_port_isr()
265 base->ISFR[0] = int_flags; in mcux_rgpio_port_isr()
267 gpio_fire_callbacks(&data->callbacks, dev, int_flags); in mcux_rgpio_port_isr()
Dgpio_mcux_igpio.c341 uint32_t int_flags; in mcux_igpio_port_isr() local
343 int_flags = base->ISR; in mcux_igpio_port_isr()
344 base->ISR = int_flags; in mcux_igpio_port_isr()
346 gpio_fire_callbacks(&data->callbacks, dev, int_flags); in mcux_igpio_port_isr()
/Zephyr-latest/drivers/sensor/bosch/bmi270/
Dbmi270_trigger.c22 atomic_set_bit(&data->int_flags, bit); in bmi270_raise_int_flag()
54 if (atomic_test_and_clear_bit(&data->int_flags, INT_FLAGS_INT1)) { in bmi270_thread_cb()
76 if (atomic_test_and_clear_bit(&data->int_flags, INT_FLAGS_INT2)) { in bmi270_thread_cb()
Dbmi270.h274 atomic_t int_flags; member