Dataflow Runtime API  4.0.1.0
Public Member Functions | List of all members
imt::base::dff::runtime::IdleCallbackIfc Class Referenceabstract

Interface for idle processing. More...

#include <Imt.Base.Dff.Runtime/IdleCallbackIfc.h>

Inheritance diagram for imt::base::dff::runtime::IdleCallbackIfc:
imt::base::dff::runtime::arm::cortexm::GenericPowerSaveIdleCallback

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~IdleCallbackIfc()

virtual imt::base::dff::runtime::IdleCallbackIfc::~IdleCallbackIfc ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ onIdle()

virtual void imt::base::dff::runtime::IdleCallbackIfc::onIdle ( )
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.


The documentation for this class was generated from the following file: