Dataflow Runtime API
4.0.1.0
|
Interface for idle processing. More...
#include <Imt.Base.Dff.Runtime/IdleCallbackIfc.h>
Public Member Functions | |
virtual | ~IdleCallbackIfc () |
Destructor. More... | |
virtual void | onIdle ()=0 |
onIdle is called continuously by the core idle loop (run to completion) when there is no work to do. More... | |
Interface for idle processing.
This is called when there are no more events to process, usually the CPU can be sent to a power-save mode until the next interrupt arises.
|
inlinevirtual |
Destructor.
|
pure virtual |
onIdle is called continuously by the core idle loop (run to completion) when there is no work to do.
This callback gives the application an opportunity to enter a power-saving CPU mode, or perform some other idle processing. Notes: onIdle is invoked with interrupts unlocked and must also return with interrupts unlocked.
Implemented in imt::base::dff::runtime::arm::cortexm::GenericPowerSaveIdleCallback.