Dataflow Runtime API  3.1.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 (void)
 Destructor. More...
 
virtual void onIdle (void)=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 ( void  )
inlinevirtual

Destructor.

Member Function Documentation

◆ onIdle()

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