eLooM for STM32 application
v3.3.0
|
#include <AManagedTask_vtbl.h>
Data Fields | |
uint8_t | nDelayPowerModeSwitch: 1 |
uint8_t | nPowerModeSwitchPending: 1 |
uint8_t | nPowerModeSwitchDone: 1 |
uint8_t | nIsTaskStillRunning: 1 |
uint8_t | nErrorCount: 2 |
uint8_t | nAutoStart: 1 |
Managed Task status field. This data is used to coordinate the power mode switch between the INIT task and the application managed tasks.
uint8_t _AMTStatus::nAutoStart |
Specify if the task has been created suspended. It depends on the pnAutoStart parameter passed during the task creation.
uint8_t _AMTStatus::nDelayPowerModeSwitch |
Set by task to delay a power mode switch. This allow a task to complete a step in its control loop and put the task in a safe state before the power mode transaction.
uint8_t _AMTStatus::nErrorCount |
Count the error occurred during the task execution.
uint8_t _AMTStatus::nIsTaskStillRunning |
Set by a managed task to notify the system that it is working fine. It is reset by the application error delegate.
uint8_t _AMTStatus::nPowerModeSwitchDone |
SET by INIT to mark a task ready for the power mode switch. RESET by INIT at the end of teh power mode switch sequence.
uint8_t _AMTStatus::nPowerModeSwitchPending |
Set by INIT to signal a task about a pending power mode switch.