Which bit of which register gets set upon the triggering of an interrupt? Is there something equivalent to EXTI_PR (pending register) from STM32 which gets set upon triggering and reset before IRQ handler is exited? To be precise, this is in the context of TWI. Is it the EVENT_TXDSENT register each time a master has clocked out a byte? If so, where is it being reset?
in my program, I'm using twi_handler to service TWI requests but where is the specific bit being cleared? can't seem to find in the relevant functions in nrfx_twi.c