![]()  | 
  
    Imt.Base C++ API V4.1.1.0
    
   | 
 
Interface for idle processing. More...
#include <Imt.Base.Dff.Runtime/inc/Imt.Base.Dff.Runtime/IdleCallbackIfc.h>
  
Public Member Functions | |
| IdleCallbackIfc (IdleCallbackIfc const &)=delete | |
| IdleCallbackIfc (IdleCallbackIfc &&)=delete | |
| IdleCallbackIfc & | operator= (IdleCallbackIfc const &) &=delete | 
| IdleCallbackIfc & | operator= (IdleCallbackIfc &&) &=delete | 
| virtual void | onIdle ()=0 | 
| onIdle is called continuously by the core idle loop (run to completion) when there is no work to do.   | |
Protected Member Functions | |
| IdleCallbackIfc () noexcept=default | |
| Default constructor.   | |
| ~IdleCallbackIfc () noexcept=default | |
| Destructor.   | |
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.
This interface does not provide ownership on the callback object.
Definition at line 52 of file IdleCallbackIfc.h.
      
  | 
  delete | 
      
  | 
  delete | 
      
  | 
  protecteddefaultnoexcept | 
Default constructor.
      
  | 
  protecteddefaultnoexcept | 
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.
      
  | 
  delete | 
      
  | 
  delete |