Skip to main content
Knowledgebase
Home
Renesas Singapore - Knowledgebase

Will interrupt held pending then executed if interrupt-enable is set?

Latest Updated:04/01/2006

Question:

When using a mask bit in the interrupt control register to enable or disable interrupts, if an interrupt request occurs while switching from interrupt-disabled state to interrupt-enabled state, will the interrupt be held pending and then executed when the interrupt-enable state is set?

Answer:

When 8-bit access is used to clear masks (such as when a C program does not directly manipulate bits in the interrupt control register but expands to multiple instructions), any interrupt request up to that point is deleted.

When direct bit manipulation is used to clear masks, interrupts that have been requested before then are acknowledged once the mask has been cleared.

Suitable Products
V850 Family