eLooM for STM32 application
v3.3.0
A framework for multitasking low power embedded applications powerd by STM32
|
#include <AManagedTask_vtbl.h>
Data Fields | |
const AManagedTask_vtbl * | vptr |
TX_THREAD | m_xTaskHandle |
struct _AManagedTask * | m_pNext |
const pExecuteStepFunc_t * | m_pfPMState2FuncMap |
const EPowerMode * | m_pPMState2PMStateMap |
AMTStatus | m_xStatus |
A Managed Task a task integrated in the system. It defines a common interface for all application tasks. All Managed Tasks belong to a linked list that is the _ApplicationContext.
const pExecuteStepFunc_t* _AManagedTask::m_pfPMState2FuncMap |
Specifies a map (PM_STATE, ExecuteStepFunc) between each application PM state and the associated step function. If the pointer
struct _AManagedTask* _AManagedTask::m_pNext |
Specifies a pointer to the next managed task in the _ApplicationContext.
const EPowerMode* _AManagedTask::m_pPMState2PMStateMap |
Specifies a map (PM_STATE, PM_STATE). It is used by the application to re-map the behavior of an AManagedTask during a power mode switch. Image a developer that want to use an existing managed task (MyManagedTask1) in a new application. Probably the new application has a different PM (PM_SM_2) state machine than the one used to design and implement the managed task MyManagedTask1 (PM_SM_1). In this scenario it is possible to reuse the managed task as it is if exist a subjective function f(x) -> (PM_SM_2, PM_SM_1), that map all states of PM_SM_1 in one or more states of PM_SM_2. It is possible to set this member to NULL, and, in this case no remapping is done.
AMTStatus _AManagedTask::m_xStatus |
Status flags.
TX_THREAD _AManagedTask::m_xTaskHandle |
Specifies the native ThreadX task handle.
const AManagedTask_vtbl* _AManagedTask::vptr |
Specifies a pointer to the class virtual table.