CMSIS-RTOS Validation  Version 1.0
RTOS Validation
 All Data Structures Files Functions Variables Macros Groups Pages
RV_Thread.c File Reference
#include <string.h>
#include "RV_Framework.h"
#include "cmsis_rv.h"
#include "cmsis_os.h"

Data Structures

struct  YIELD_TEST
 

Macros

#define GETID_THR_CNT   7
 

Functions

static void Th_CountingThread (void const *arg)
 
 osThreadDef (Th_CountingThread, osPriorityNormal, 1, 0)
 
void Th_Thr0 (void const *arg)
 
void Th_Thr1 (void const *arg)
 
void Th_Thr2 (void const *arg)
 
void Th_Thr3 (void const *arg)
 
void Th_Thr4 (void const *arg)
 
void Th_Thr5 (void const *arg)
 
void Th_Thr6 (void const *arg)
 
void Th_Thr7 (void const *arg)
 
void Th_Run (void const *arg)
 
void Th_isr (void const *arg)
 
 osThreadDef (Th_Thr0, osPriorityIdle, 1, 0)
 
 osThreadDef (Th_Thr1, osPriorityLow, 1, 0)
 
 osThreadDef (Th_Thr2, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_Thr3, osPriorityNormal, 1, 0)
 
 osThreadDef (Th_Thr4, osPriorityAboveNormal, 1, 0)
 
 osThreadDef (Th_Thr5, osPriorityHigh, 1, 0)
 
 osThreadDef (Th_Thr6, osPriorityRealtime, 1, 0)
 
 osThreadDef (Th_Thr7, osPriorityError, 1, 0)
 
 osThreadDef (Th_Run, osPriorityIdle, 1, 0)
 
 osThreadDef (Th_isr, osPriorityIdle, 1, 0)
 
void Th_MultiInst (void const *arg)
 
 osThreadDef (Th_MultiInst, osPriorityNormal, 5, 0)
 
void Th_GetId0 (void const *arg)
 
void Th_GetId1 (void const *arg)
 
void Th_GetId2 (void const *arg)
 
void Th_GetId3 (void const *arg)
 
void Th_GetId4 (void const *arg)
 
void Th_GetId5 (void const *arg)
 
void Th_GetId6 (void const *arg)
 
 osThreadDef (Th_GetId0, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId1, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId2, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId3, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId4, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId5, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_GetId6, osPriorityBelowNormal, 1, 0)
 
void Th_PrioExec (void const *arg)
 
 osThreadDef (Th_PrioExec, osPriorityIdle, 7, 0)
 
void Th_Child_0 (void const *arg)
 
void Th_Child_1 (void const *arg)
 
void Th_Child_2 (void const *arg)
 
void Th_Child_3 (void const *arg)
 
 osThreadDef (Th_Child_0, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_Child_1, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_Child_2, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_Child_3, osPriorityBelowNormal, 1, 0)
 
void Th_YieldTest (void const *arg)
 
 osThreadDef (Th_YieldTest, osPriorityNormal, 1, 0)
 
void Thread_IRQHandler (void)
 
void TC_ThreadCreate (void)
 Test case: TC_ThreadCreate.
 
void TC_ThreadMultiInstance (void)
 Test case: TC_ThreadMultiInstance.
 
void TC_ThreadTerminate (void)
 Test case: TC_ThreadTerminate.
 
void TC_ThreadRestart (void)
 Test case: TC_ThreadRestart.
 
void TC_ThreadGetId (void)
 Test case: TC_ThreadGetId.
 
void TC_ThreadPriority (void)
 Test case: TC_ThreadPriority.
 
void TC_ThreadPriorityExec (void)
 Test case: TC_ThreadPriorityExec.
 
void TC_ThreadChainedCreate (void)
 Test case: TC_ThreadChainedCreate.
 
void TC_ThreadYield (void)
 Test case: TC_ThreadYield.
 
void TC_ThreadParam (void)
 Test case: TC_ThreadParam.
 
void TC_ThreadInterrupts (void)
 Test case: TC_ThreadInterrupts.
 

Variables

uint32_t Var_Counter
 
uint32_t Var_ThreadExec
 
osThreadId ExecArr [7]
 
osThreadId ThId_Running
 
osThreadId ThId_Isr
 
osPriority ThPr_Isr
 
osStatus ThSt_Isr
 

Macro Definition Documentation

#define GETID_THR_CNT   7

Function Documentation

osThreadDef ( Th_CountingThread  ,
osPriorityNormal  ,
,
 
)
osThreadDef ( Th_Thr0  ,
osPriorityIdle  ,
,
 
)
osThreadDef ( Th_Thr1  ,
osPriorityLow  ,
,
 
)
osThreadDef ( Th_Thr2  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_Thr3  ,
osPriorityNormal  ,
,
 
)
osThreadDef ( Th_Thr4  ,
osPriorityAboveNormal  ,
,
 
)
osThreadDef ( Th_Thr5  ,
osPriorityHigh  ,
,
 
)
osThreadDef ( Th_Thr6  ,
osPriorityRealtime  ,
,
 
)
osThreadDef ( Th_Thr7  ,
osPriorityError  ,
,
 
)
osThreadDef ( Th_Run  ,
osPriorityIdle  ,
,
 
)
osThreadDef ( Th_isr  ,
osPriorityIdle  ,
,
 
)
osThreadDef ( Th_MultiInst  ,
osPriorityNormal  ,
,
 
)
osThreadDef ( Th_GetId0  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId1  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId2  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId3  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId4  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId5  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_GetId6  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_PrioExec  ,
osPriorityIdle  ,
,
 
)
osThreadDef ( Th_Child_0  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_Child_1  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_Child_2  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_Child_3  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_YieldTest  ,
osPriorityNormal  ,
,
 
)
void Th_Child_0 ( void const *  arg)
void Th_Child_1 ( void const *  arg)
void Th_Child_2 ( void const *  arg)
void Th_Child_3 ( void const *  arg)
static void Th_CountingThread ( void const *  arg)
static
void Th_GetId0 ( void const *  arg)
void Th_GetId1 ( void const *  arg)
void Th_GetId2 ( void const *  arg)
void Th_GetId3 ( void const *  arg)
void Th_GetId4 ( void const *  arg)
void Th_GetId5 ( void const *  arg)
void Th_GetId6 ( void const *  arg)
void Th_isr ( void const *  arg)
void Th_MultiInst ( void const *  arg)
void Th_PrioExec ( void const *  arg)
void Th_Run ( void const *  arg)
void Th_Thr0 ( void const *  arg)
void Th_Thr1 ( void const *  arg)
void Th_Thr2 ( void const *  arg)
void Th_Thr3 ( void const *  arg)
void Th_Thr4 ( void const *  arg)
void Th_Thr5 ( void const *  arg)
void Th_Thr6 ( void const *  arg)
void Th_Thr7 ( void const *  arg)
void Th_YieldTest ( void const *  arg)
void Thread_IRQHandler ( void  )

Variable Documentation

osThreadId ExecArr[7]
osThreadId ThId_Isr
osThreadId ThId_Running
osPriority ThPr_Isr
osStatus ThSt_Isr
uint32_t Var_Counter
uint32_t Var_ThreadExec