eLooM for STM32 application  v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
Loading...
Searching...
No Matches
_AMTStatus Struct Reference

#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
 

Detailed Description

Managed Task status field. This data is used to coordinate the power mode switch between the INIT task and the application managed tasks.

Field Documentation

◆ nAutoStart

uint8_t _AMTStatus::nAutoStart

Specify if the task has been created suspended. It depends on the pnAutoStart parameter passed during the task creation.

◆ nDelayPowerModeSwitch

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.

◆ nErrorCount

uint8_t _AMTStatus::nErrorCount

Count the error occurred during the task execution.

◆ nIsTaskStillRunning

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.

◆ nPowerModeSwitchDone

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.

◆ nPowerModeSwitchPending

uint8_t _AMTStatus::nPowerModeSwitchPending

Set by INIT to signal a task about a pending power mode switch.


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