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

Macros

#define TST_SIG_CHILD   1 /* Test child thread signaling */
 
#define TST_SIG_ISR   2 /* Test ISR signaling */
 
#define SIG_FLAG_MSK   ((1 << osFeature_Signals) - 1) /* Signal flag mask */
 

Functions

void Th_ChildSignals (void const *arg)
 
 osThreadDef (Th_ChildSignals, osPriorityNormal, 1, 0)
 
void Th_Sig (void const *arg)
 
 osThreadDef (Th_Sig, osPriorityNormal, 1, 200)
 
void Th_Sig_Child_0 (void const *arg)
 
void Th_Sig_Child_1 (void const *arg)
 
 osThreadDef (Th_Sig_Child_0, osPriorityBelowNormal, 1, 0)
 
 osThreadDef (Th_Sig_Child_1, osPriorityBelowNormal, 1, 0)
 
void Th_SignalSet (void const *arg)
 
 osThreadDef (Th_SignalSet, osPriorityNormal, 1, 0)
 
void Signal_IRQHandler (void)
 
void TC_SignalMainThread (void)
 Test case: TC_SignalMainThread.
 
void TC_SignalChildThread (void)
 Test case: TC_SignalChildThread.
 
void TC_SignalChildToParent (void)
 Test case: TC_SignalChildToParent.
 
void TC_SignalChildToChild (void)
 Test case: TC_SignalChildToChild.
 
void TC_SignalWaitTimeout (void)
 Test case: TC_SignalWaitTimeout.
 
void TC_SignalParam (void)
 Test case: TC_SignalParam.
 
void TC_SignalInterrupts (void)
 Test case: TC_SignalInterrupts.
 

Variables

osThreadId Var_ThreadId
 
osThreadId ThId_Sig
 
int32_t Sign_Isr
 
osEvent Evnt_Isr
 

Macro Definition Documentation

#define SIG_FLAG_MSK   ((1 << osFeature_Signals) - 1) /* Signal flag mask */
#define TST_SIG_CHILD   1 /* Test child thread signaling */
#define TST_SIG_ISR   2 /* Test ISR signaling */

Function Documentation

osThreadDef ( Th_ChildSignals  ,
osPriorityNormal  ,
,
 
)
osThreadDef ( Th_Sig  ,
osPriorityNormal  ,
,
200   
)
osThreadDef ( Th_Sig_Child_0  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_Sig_Child_1  ,
osPriorityBelowNormal  ,
,
 
)
osThreadDef ( Th_SignalSet  ,
osPriorityNormal  ,
,
 
)
void Signal_IRQHandler ( void  )
void Th_ChildSignals ( void const *  arg)
void Th_Sig ( void const *  arg)
void Th_Sig_Child_0 ( void const *  arg)
void Th_Sig_Child_1 ( void const *  arg)
void Th_SignalSet ( void const *  arg)

Variable Documentation

osEvent Evnt_Isr
int32_t Sign_Isr
osThreadId ThId_Sig
osThreadId Var_ThreadId