Macros | Functions | Variables
rtos.h File Reference
#include "../../src/ISConstants.h"
#include "task.h"
#include "../drivers/d_time.h"
#include "../../../hdw-src/uINS-3/IS_uINS/src/misc/debug_gpio.h"
Include dependency graph for rtos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BEGIN_CRITICAL_SECTION   {vTaskSuspendAll(); taskENTER_CRITICAL(); DBGPIO_START(DBG_CRITICAL_SECTION_PIN);}
 
#define END_CRITICAL_SECTION   {DBGPIO_END(DBG_CRITICAL_SECTION_PIN); taskEXIT_CRITICAL(); xTaskResumeAll();}
 
#define GPBR_IDX_G1_TASK   1
 
#define GPBR_IDX_G2_FILE_NUM   2
 
#define GPBR_IDX_G3_LINE_NUM   3
 
#define GPBR_IDX_G4_FLASH_MIG   4
 
#define GPBR_IDX_G5_LR   5
 
#define GPBR_IDX_PC   6
 
#define GPBR_IDX_PSR   7
 
#define GPBR_IDX_STATUS   0
 
#define RTOS_NUM_TASKS   (UINS_RTOS_NUM_TASKS)
 

Functions

int createTask (int index, pdTASK_CODE pxTaskCode, const char *const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, portTickType xTimeIncrement)
 
void rtos_monitor (int numRtosTasks)
 
void rtosResetStats (void)
 
void vApplicationIdleHook (void)
 
void vApplicationMallocFailedHook (uint32_t size, uint32_t remaining, uint32_t prevLR)
 
void vApplicationStackOverflowHook (xTaskHandle *pxTask, signed char *pcTaskName)
 
void vApplicationTickHook (void)
 

Variables

uint32_t g_faultFileNumber
 
uint32_t g_faultLineNumber
 

Macro Definition Documentation

◆ BEGIN_CRITICAL_SECTION

#define BEGIN_CRITICAL_SECTION   {vTaskSuspendAll(); taskENTER_CRITICAL(); DBGPIO_START(DBG_CRITICAL_SECTION_PIN);}

Definition at line 33 of file rtos.h.

◆ END_CRITICAL_SECTION

#define END_CRITICAL_SECTION   {DBGPIO_END(DBG_CRITICAL_SECTION_PIN); taskEXIT_CRITICAL(); xTaskResumeAll();}

Definition at line 34 of file rtos.h.

◆ GPBR_IDX_G1_TASK

#define GPBR_IDX_G1_TASK   1

Definition at line 41 of file rtos.h.

◆ GPBR_IDX_G2_FILE_NUM

#define GPBR_IDX_G2_FILE_NUM   2

Definition at line 42 of file rtos.h.

◆ GPBR_IDX_G3_LINE_NUM

#define GPBR_IDX_G3_LINE_NUM   3

Definition at line 43 of file rtos.h.

◆ GPBR_IDX_G4_FLASH_MIG

#define GPBR_IDX_G4_FLASH_MIG   4

Definition at line 44 of file rtos.h.

◆ GPBR_IDX_G5_LR

#define GPBR_IDX_G5_LR   5

Definition at line 45 of file rtos.h.

◆ GPBR_IDX_PC

#define GPBR_IDX_PC   6

Definition at line 46 of file rtos.h.

◆ GPBR_IDX_PSR

#define GPBR_IDX_PSR   7

Definition at line 47 of file rtos.h.

◆ GPBR_IDX_STATUS

#define GPBR_IDX_STATUS   0

Definition at line 40 of file rtos.h.

◆ RTOS_NUM_TASKS

#define RTOS_NUM_TASKS   (UINS_RTOS_NUM_TASKS)

Definition at line 29 of file rtos.h.

Function Documentation

◆ createTask()

int createTask ( int  index,
pdTASK_CODE  pxTaskCode,
const char *const  pcName,
unsigned short  usStackDepth,
void *  pvParameters,
unsigned portBASE_TYPE  uxPriority,
portTickType  xTimeIncrement 
)

Definition at line 30 of file rtos.c.

◆ rtos_monitor()

void rtos_monitor ( int  numRtosTasks)

Definition at line 64 of file rtos.c.

◆ rtosResetStats()

void rtosResetStats ( void  )

Definition at line 100 of file rtos.c.

◆ vApplicationIdleHook()

void vApplicationIdleHook ( void  )

Definition at line 109 of file rtos.c.

◆ vApplicationMallocFailedHook()

void vApplicationMallocFailedHook ( uint32_t  size,
uint32_t  remaining,
uint32_t  prevLR 
)

Definition at line 166 of file rtos.c.

◆ vApplicationStackOverflowHook()

void vApplicationStackOverflowHook ( xTaskHandle pxTask,
signed char *  pcTaskName 
)

Definition at line 149 of file rtos.c.

◆ vApplicationTickHook()

void vApplicationTickHook ( void  )

Definition at line 116 of file rtos.c.

Variable Documentation

◆ g_faultFileNumber

uint32_t g_faultFileNumber

Definition at line 26 of file rtos.c.

◆ g_faultLineNumber

uint32_t g_faultLineNumber

Definition at line 25 of file rtos.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:06