Consider these sequence of events:
1. GPIO is configured as level interrupt.
2. Level condition occurs.
3. gpio_enable_interrupt() is called.
Q: Does the ISR get called?
1. GPIO is configured as a level interrupt.
2. gpio_enable_interrupt() is called.
3. gpio_disable_interrut() is called.
4. Level condition occurs.
5. gpio_enable_interrupt() is called.
Q: Does the ISR get called?
I think it makes sense for the answer to be "NO" in both cases, but it's not what's implemented for npcx (and maybe other chips).
Comment 1 by gkihumba@google.com
, Mar 31 2017Status: Assigned (was: Untriaged)