MegaThread
Data Fields
threadTCBData_t Struct Reference

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...
 

Detailed Description

structure to hold data of the thread control block (TCB). This structure is capsuled and should only accessed by setter and getter functions.

Field Documentation

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

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.


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