![]() |
CMSIS-RTOS Validation
Version 1.0
RTOS Validation
|
#include <string.h>
#include "RV_Framework.h"
#include "cmsis_rv.h"
Macros | |
#define | TST_SIG_CHILD 1 /* Test child thread signaling */ |
#define | TST_SIG_ISR 2 /* Test ISR signaling */ |
#define | SIG_FLAG_MSK ((1U << 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_Wakeup (void const *arg) |
osThreadDef (Th_Sig_Wakeup, osPriorityBelowNormal, 1, 0) | |
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 | Th_Sig_Wakeup (void const __attribute__((unused))*arg) |
void | Th_ChildSignals (void const __attribute__((unused))*arg) |
void | TC_SignalMainThread (void) |
Test case: TC_SignalMainThread. More... | |
void | TC_SignalChildThread (void) |
Test case: TC_SignalChildThread. More... | |
void | TC_SignalChildToParent (void) |
Test case: TC_SignalChildToParent. More... | |
void | TC_SignalChildToChild (void) |
Test case: TC_SignalChildToChild. More... | |
void | TC_SignalWaitTimeout (void) |
Test case: TC_SignalWaitTimeout. More... | |
void | TC_SignalCheckTimeout (void) |
Test case: TC_SignalCheckTimeout. More... | |
void | TC_SignalParam (void) |
Test case: TC_SignalParam. More... | |
void | TC_SignalInterrupts (void) |
Test case: TC_SignalInterrupts. More... | |
Variables | |
static osThreadId | Var_ThreadId |
static osThreadId | ThId_Sig |
static volatile int32_t | Sign_Isr |
static volatile osEvent | Evnt_Isr |
#define SIG_FLAG_MSK ((1U << osFeature_Signals) - 1) /* Signal flag mask */ |
#define TST_SIG_CHILD 1 /* Test child thread signaling */ |
#define TST_SIG_ISR 2 /* Test ISR signaling */ |
osThreadDef | ( | Th_ChildSignals | , |
osPriorityNormal | , | ||
1 | , | ||
0 | |||
) |
osThreadDef | ( | Th_Sig | , |
osPriorityNormal | , | ||
1 | , | ||
200 | |||
) |
osThreadDef | ( | Th_Sig_Wakeup | , |
osPriorityBelowNormal | , | ||
1 | , | ||
0 | |||
) |
osThreadDef | ( | Th_Sig_Child_0 | , |
osPriorityBelowNormal | , | ||
1 | , | ||
0 | |||
) |
osThreadDef | ( | Th_Sig_Child_1 | , |
osPriorityBelowNormal | , | ||
1 | , | ||
0 | |||
) |
osThreadDef | ( | Th_SignalSet | , |
osPriorityNormal | , | ||
1 | , | ||
0 | |||
) |
void Signal_IRQHandler | ( | void | ) |
void Th_ChildSignals | ( | void const * | arg | ) |
void Th_ChildSignals | ( | void const __attribute__((unused))* | 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_Sig_Wakeup | ( | void const * | arg | ) |
void Th_Sig_Wakeup | ( | void const __attribute__((unused))* | arg | ) |
void Th_SignalSet | ( | void const * | arg | ) |
|
static |
|
static |
|
static |
|
static |