![]() |
SuperTinyKernel™ RTOS 1.08.x
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_SUBMICORSECOND_PRECISION_TIMER 0 |
| Enables sub-microsecond precision timer, see hw::HiResClock. | |
| #define | STK_SYSTEM_CORE_CLOCK_FREQUENCY 150000000U |
| System clock frequency in Hz. Default: 150 MHz. | |
Functions | |
| static __stk_forceinline void | __stk_dmb () |
| Data memory barrier. | |
Variables | |
| volatile uint32_t | STK_SYSTEM_CORE_CLOCK_VAR |
Platform port for RISC-V.
Definition in file stk_arch_risc-v.h.
| #define STK_SUBMICORSECOND_PRECISION_TIMER 0 |
Enables sub-microsecond precision timer, see hw::HiResClock.
Definition at line 112 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 119 of file stk_arch_risc-v.h.
|
static |
Data memory barrier.
Definition at line 105 of file stk_arch_risc-v.h.
References __stk_forceinline.
| volatile uint32_t STK_SYSTEM_CORE_CLOCK_VAR |
Definition at line 125 of file stk_arch_risc-v.h.