|
SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Sleep demo: tasks wake up after different sleep times. More...
Go to the source code of this file.
Classes | |
| class | MyTask< _AccessMode > |
Enumerations | |
| enum | { TASK_STACK_SIZE = 256 } |
Functions | |
| static void | RunCycle () |
| void | RunExample () |
Variables | |
| static stk::Kernel< stk::KERNEL_DYNAMIC|(1 ? stk::KERNEL_TICKLESS :0), 4, stk::sched::SwitchStrategyRR, stk::PlatformDefault > | g_Kernel |
| static MyTask< stk::ACCESS_PRIVILEGED > | g_Task1 (0) |
| static MyTask< stk::ACCESS_PRIVILEGED > | g_Task2 (1) |
| static MyTask< stk::ACCESS_PRIVILEGED > | g_Task3 (2) |
| static MyTask< stk::ACCESS_PRIVILEGED > | g_Task4 (3) |
Sleep demo: tasks wake up after different sleep times.
Definition in file sleep/example.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| TASK_STACK_SIZE | |
Definition at line 31 of file sleep/example.cpp.
|
static |
Definition at line 62 of file sleep/example.cpp.
References g_Kernel, g_Task1, g_Task2, g_Task3, and g_Task4.
Referenced by RunExample().
| void RunExample | ( | void | ) |
Definition at line 72 of file sleep/example.cpp.
References g_Kernel, bsp::Led::InitAll(), and RunCycle().
|
static |
Definition at line 57 of file sleep/example.cpp.
|
static |
| MyTask< stk::ACCESS_PRIVILEGED > g_Task2(1) | ( | 1 | ) |
| MyTask< stk::ACCESS_PRIVILEGED > g_Task3(2) | ( | 2 | ) |
| MyTask< stk::ACCESS_PRIVILEGED > g_Task4(3) | ( | 3 | ) |