Skip to main content

IAR Embedded Workbench for RH850 3.20.x

__popSimulatorInterruptExecutingStack

In this section:
Syntax
__popSimulatorInterruptExecutingStack(void)
Return value

int 0

For use with

The C-SPY simulator.

Description

Informs the interrupt simulation system that an interrupt handler has finished executing, as if the normal instruction used for returning from an interrupt handler was executed.

This is useful if you are using interrupts in such a way that the normal instruction for returning from an interrupt handler is not used, for example in an operating system with task-switching. In this case, the interrupt simulation system cannot automatically detect that the interrupt has finished executing.

See also

Simulating an interrupt in a multi-task system.