31 #ifndef INCLUDE_SERVICES_AMANAGEDTASK_H_ 32 #define INCLUDE_SERVICES_AMANAGEDTASK_H_ 44 #define MT_MAX_ERROR_COUNT 0x7 46 #ifndef MT_ALLOWED_ERROR_COUNT 51 #define MT_ALLOWED_ERROR_COUNT 0x2 Definition: sysevent.h:44
void AMTResetAEDCounter(AManagedTask *this)
Definition: AManagedTaskVtbl.h:176
void AMTReportErrOnStepExecution(AManagedTask *this, sys_error_code_t nStepError)
Definition: AManagedTaskVtbl.h:186
Definition: AManagedTaskVtbl.h:95
sys_error_code_t AMTOnCreateTask(AManagedTask *this, TaskFunction_t *pvTaskCode, const char **pcName, unsigned short *pnStackDepth, void **pParams, UBaseType_t *pxPriority)
Definition: AManagedTaskVtbl.h:129
sys_error_code_t AMTHandleError(AManagedTask *this, SysEvent xError)
Definition: AManagedTaskVtbl.h:139
boolean_t AMTIsPowerModeSwitchPending(AManagedTask *this)
Definition: AManagedTaskVtbl.h:181
sys_error_code_t AMTHardwareInit(AManagedTask *this, void *pParams)
Definition: AManagedTaskVtbl.h:124
sys_error_code_t AMTInit(AManagedTask *this)
Definition: AManagedTaskVtbl.h:144
This file declares the public API related to the power management.
sys_error_code_t AMTDoEnterPowerMode(AManagedTask *this, const EPowerMode eActivePowerMode, const EPowerMode eNewPowerMode)
Definition: AManagedTaskVtbl.h:134
EPowerMode AMTGetSystemPowerMode()
Definition: AManagedTaskVtbl.h:158
unsigned short sys_error_code_t
Definition: syserror.h:45
sys_error_code_t AMTNotifyIsStillRunning(AManagedTask *this, sys_error_code_t nStepError)
Definition: AManagedTaskVtbl.h:163