How are external interrupts handled by microcontrollers?
My question is general to micro-controllers, but if it is architecture specific, leans to ARM- based micro-controllers.
Assuming we have 2 interrupt pins PIN1 and PIN2 set to interrupt when the pin state change. At start both of them are in low state, PIN1 is then interrupted as the signal pulls high. In software the uC is still processing data although the data is very small due to coincidence PIN2 pulls HIGH which in most will be missed since there is still an interrupt being processed.
Now when the interrupt on PIN1 exits will PIN2 immediately trigger another interrupt since its state changed?
since the question is much broader than expected i have chosen a micro - controller for the sake of the question. The micro - controller is: AT91SAM3X8E the one used in arduino due. And will be programmed using the ARDUINO IDE. I have project that uses this chip and knowledge on its interrupt might come in handy.
I have always thought there will be a standardized way.