Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_emul.c191 bool prev_bit; in gpio_emul_gen_interrupt_bits() local
203 prev_bit = ((prev_values & 1) != 0); in gpio_emul_gen_interrupt_bits()
209 if (detect_edge && !prev_bit && bit) { in gpio_emul_gen_interrupt_bits()
217 if (detect_edge && prev_bit && !bit) { in gpio_emul_gen_interrupt_bits()
226 if (detect_edge && prev_bit != bit) { in gpio_emul_gen_interrupt_bits()