![]() |
CMSIS-RTOS Validation
Version 1.0
RTOS Validation
|
#include <string.h>
#include "RV_Framework.h"
#include "cmsis_rv.h"
Macros | |
#define | TEST_THREAD_CNT 5 |
Functions | |
static void | Th_TestSemaphore (void const *arg) |
osThreadDef (Th_TestSemaphore, osPriorityNormal, TEST_THREAD_CNT, 0) | |
osSemaphoreDef (Sem_TestZero) | |
osSemaphoreDef (Sem_TestMax) | |
osSemaphoreDef (Sem_TestPool) | |
osSemaphoreDef (Sem_TestBin) | |
osSemaphoreDef (Sem_TestMul) | |
osSemaphoreDef (Sem_TestZeroCount) | |
osSemaphoreDef (Sem_TestWaitTimeout) | |
osSemaphoreDef (Sem_CheckTimeout) | |
static void | Th_SemaphoreWait (void const *arg) |
osThreadDef (Th_SemaphoreWait, osPriorityBelowNormal, 1, 0) | |
static void | Th_SemaphoreWakeup (void const *arg) |
osThreadDef (Th_SemaphoreWakeup, osPriorityBelowNormal, 1, 0) | |
osSemaphoreDef (Sem_ISR) | |
void | Semaphore_IRQHandler (void) |
void | Th_SemaphoreWakeup (void const __attribute__((unused))*arg) |
void | TC_SemaphoreCreateAndDelete (void) |
Test case: TC_SemaphoreCreateAndDelete. More... | |
void | TC_SemaphoreObtainCounting (void) |
Test case: TC_SemaphoreObtainCounting. More... | |
void | TC_SemaphoreObtainBinary (void) |
Test case: TC_SemaphoreObtainBinary. More... | |
void | TC_SemaphoreWaitForBinary (void) |
Test case: TC_SemaphoreWaitForBinary. More... | |
void | TC_SemaphoreWaitForCounting (void) |
Test case: TC_SemaphoreWaitForCounting. More... | |
void | TC_SemaphoreZeroCount (void) |
Test case: TC_SemaphoreZeroCount. More... | |
void | TC_SemaphoreWaitTimeout (void) |
Test case: TC_SemaphoreWaitTimeout. More... | |
void | TC_SemaphoreCheckTimeout (void) |
Test case: TC_SemaphoreCheckTimeout. More... | |
void | TC_SemParam (void) |
Test case: TC_SemParam. More... | |
void | TC_SemInterrupts (void) |
Test case: TC_SemInterrupts. More... | |
Variables | |
static osThreadId | G_Semaphore_ThreadId |
static osSemaphoreId | G_SemaphoreId |
static volatile uint32_t | Var_ThreadStatus [TEST_THREAD_CNT] |
static volatile osSemaphoreId | SemId_Isr |
static volatile osStatus | SemSt_Isr |
static volatile int32_t | NumTokens_Isr |
#define TEST_THREAD_CNT 5 |
osSemaphoreDef | ( | Sem_TestZero | ) |
osSemaphoreDef | ( | Sem_TestMax | ) |
osSemaphoreDef | ( | Sem_TestPool | ) |
osSemaphoreDef | ( | Sem_TestBin | ) |
osSemaphoreDef | ( | Sem_TestMul | ) |
osSemaphoreDef | ( | Sem_TestZeroCount | ) |
osSemaphoreDef | ( | Sem_TestWaitTimeout | ) |
osSemaphoreDef | ( | Sem_CheckTimeout | ) |
osSemaphoreDef | ( | Sem_ISR | ) |
osThreadDef | ( | Th_TestSemaphore | , |
osPriorityNormal | , | ||
TEST_THREAD_CNT | , | ||
0 | |||
) |
osThreadDef | ( | Th_SemaphoreWait | , |
osPriorityBelowNormal | , | ||
1 | , | ||
0 | |||
) |
osThreadDef | ( | Th_SemaphoreWakeup | , |
osPriorityBelowNormal | , | ||
1 | , | ||
0 | |||
) |
void Semaphore_IRQHandler | ( | void | ) |
|
static |
|
static |
void Th_SemaphoreWakeup | ( | void const __attribute__((unused))* | arg | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |