![]() |
SuperTinyKernel™ RTOS 1.05.3
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
|
Platform port for RISC-V. More...
#include "stk_common.h"Go to the source code of this file.
Classes | |
| class | stk::PlatformRiscV |
| Concrete implementation of IPlatform driver for the Risc-V processors. More... | |
| class | stk::PlatformRiscV::ISpecificEventHandler |
Namespaces | |
| namespace | stk |
| Namespace of STK package. | |
Macros | |
| #define | _STK_INLINE_TLS_DEFINED 1 |
| #define | __stk_dmb() |
| Data memory barrier. | |
| #define | STK_SUBMICORSECOND_PRECISION_TIMER 0 |
| Enables sub-microsecond precision timer, see hw::HiResClock. | |
| #define | STK_SYSTEM_CORE_CLOCK_VAR SystemCoreClock |
| Definition of the system core clock variable holding frequency of the CPU in Hz. | |
| #define | STK_SYSTEM_CORE_CLOCK_FREQUENCY 150000000U |
| System clock frequency in Hz. Default: 150 MHz. | |
Functions | |
| Word | stk::GetTls () |
| Get thread-local storage (TLS). | |
| void | stk::SetTls (Word tp) |
| Set thread-local storage (TLS). | |
Variables | |
| volatile uint32_t | SystemCoreClock |
| System clock frequency in Hz. | |
Platform port for RISC-V.
Definition in file stk_arch_risc-v.h.
| #define __stk_dmb | ( | ) |
Data memory barrier.
Definition at line 96 of file stk_arch_risc-v.h.
| #define _STK_INLINE_TLS_DEFINED 1 |
Definition at line 89 of file stk_arch_risc-v.h.
| #define STK_SUBMICORSECOND_PRECISION_TIMER 0 |
Enables sub-microsecond precision timer, see hw::HiResClock.
Definition at line 103 of file stk_arch_risc-v.h.
| #define STK_SYSTEM_CORE_CLOCK_FREQUENCY 150000000U |
System clock frequency in Hz. Default: 150 MHz.
Definition at line 117 of file stk_arch_risc-v.h.
| #define STK_SYSTEM_CORE_CLOCK_VAR SystemCoreClock |
Definition of the system core clock variable holding frequency of the CPU in Hz.
Definition at line 110 of file stk_arch_risc-v.h.
| volatile uint32_t SystemCoreClock |
System clock frequency in Hz.
Definition at line 123 of file stk_arch_risc-v.h.