MegaThread
|
Data Fields | |
uint8_t | state |
The last state of the thread. More... | |
bool | alreadyRunning |
Set to true as long the thread has not finished the last call. More... | |
threadFunc_t | func |
Pointer to the thread function. More... | |
void * | pArgument |
Holds the argument of the thread function. More... | |
uint16_t | period |
time between two calls in ticks More... | |
uint16_t | elapsed |
elapsed time since the last call in ticks More... | |
structure to hold data of the thread control block (TCB). This structure is capsuled and should only accessed by setter and getter functions.
bool alreadyRunning |
Set to true as long the thread has not finished the last call.
uint16_t elapsed |
elapsed time since the last call in ticks
threadFunc_t func |
Pointer to the thread function.
void* pArgument |
Holds the argument of the thread function.
uint16_t period |
time between two calls in ticks
uint8_t state |
The last state of the thread.