For edge trigger INT, I believe we should clear CPU interrupt flag registers prior to clearing source flag bit, otherwise we may miss interrupt? I don't understand why we may miss interrupt if we clear source flag before CPU flag, since CPU flag is there, we will eventually execute the INT anyway, right?
Thanks
Rui