SatCat5
task.h File Reference

Detailed Description

Provides a FreeRTOS task function and hooks for using SatCat5 as a task inside a larger FreeRTOS project.

Please reference the FreeRTOS HAL README.md for help getting this code running.

Definition in file task.h.

#include <satcat5/build_date.h>
#include <satcat5/polling.h>
#include <satcat5/log.h>
#include <FreeRTOS.h>
#include <task.h>
#include <hal_freertos/interrupts.h>
#include <hal_freertos/tick_timer.h>
Include dependency graph for task.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  satcat5::freertos::StaticTask< TASK_SIZE, TASK_PRIORITY >
 Instantiate a FreeRTOS statically-allocated Task. More...
 
class  satcat5::freertos::SatCatTask< TASK_SIZE, TASK_PRIORITY >
 Instantiate a FreeRTOS statically-allocated Task that services the SatCat5 core loop. More...
 

Macros

#define portYIELD_FROM_ISR(x)   portEND_SWITCHING_ISR(x)
 

Variables

TaskHandle_t satcat5::freertos::satcat_task_handle = NULL
 Task handle, must be outside StaticTask for access by vApplicationTickHook()