First clear it at the source in the GPIO register. Then you probably also want NVIC_CLEAR_PENDING(IRQ_GPIO6789).
Type: Posts; User: PaulStoffregen
First clear it at the source in the GPIO register. Then you probably also want NVIC_CLEAR_PENDING(IRQ_GPIO6789).
The sei() function is meant for AVR, where a single bit manages whether interrupts can happen.
ARM is much more sophisticated. Priority levels are the main mechanism which manages whether an...