Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Which flag should be polled for an interrupt vector?

Latest Updated:06/20/2013

Question:

Rather than sending an interrupt request to an interrupt vector, I would like to use flag polling. Which flag should be polled?

Answer:

By making an interrupt request set the interrupt request enable bit (IEN) in the interrupt request enable register (IER) to 0, the interrupt status flag (IR) in the interrupt request register (IR) can be polled.

For details, please refer to the figure Block Diagram of Interrupt Control Unit in the Interrupt Control Unit (ICU) chapter of the hardware manual.

Suitable Products
RX62N, RX621
RX62T
RX610
RX62G
RX630
RX63N, RX631
RX63T
RX210
RX220
RX110
RX111