SatCat5
satcat5::freertos::StaticTask< TASK_SIZE, TASK_PRIORITY > Class Template Reference

Detailed Description

template<configSTACK_DEPTH_TYPE TASK_SIZE, unsigned TASK_PRIORITY>
class satcat5::freertos::StaticTask< TASK_SIZE, TASK_PRIORITY >

Instantiate a FreeRTOS statically-allocated Task.

This class can then be inherited by other classes to create FreeRTOS tasks.

Definition at line 43 of file task.h.

#include <task.h>

Inheritance diagram for satcat5::freertos::StaticTask< TASK_SIZE, TASK_PRIORITY >:
[legend]

Public Member Functions

void suspend (void)
 Suspends running task.
 
void resume (void)
 Resumes suspended task.
 
void resume_from_isr (void)
 Resumes suspended task (should be called from ISR)
 
TaskHandle_t get_task_handle (void)
 Returns task handle of created task.
 
void notify (void)
 Notify Task.
 
void notify_from_isr (void)
 Notify Task (should be called from ISR)
 

Protected Member Functions

 StaticTask (const char *task_name, TaskFunction_t task_function, void *const task_params=NULL)
 

Protected Attributes

TaskHandle_t m_task_handle
 Task Handle.
 
StackType_t m_stack [TASK_SIZE]
 Task Stack.
 
StaticTask_t m_static_task
 Task internals.
 

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