![]() |
SuperTinyKernel™ RTOS 1.06.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Contains common inventory for platform implementation. More...
#include "stk_common.h"Go to the source code of this file.
Classes | |
| class | stk::PlatformContext |
| Base platform context for all platform implementations. More... | |
Namespaces | |
| namespace | stk |
| Namespace of STK package. | |
Macros | |
| #define | STK_ARCH_GET_CPU_ID() |
| Get CPU core id of the caller, e.g. if called while running on core 0 then returned value must be 0. | |
| #define | GetContext() |
| Get platform's context. | |
Functions | |
| static __stk_forceinline Cycles | stk::ConvertTimeUsToClockCycles (uint32_t clock_freq, Ticks time_us) |
| Convert time (microseconds) to core clock cycles. | |
Contains common inventory for platform implementation.
Definition in file stk_arch_common.h.
| #define GetContext | ( | ) |
Get platform's context.
Definition at line 100 of file stk_arch_common.h.
| #define STK_ARCH_GET_CPU_ID | ( | ) |
Get CPU core id of the caller, e.g. if called while running on core 0 then returned value must be 0.
Definition at line 93 of file stk_arch_common.h.