27#ifdef _STK_ASSERT_REDIRECT
29extern void STK_ASSERT_HANDLER(
const char *err,
const char *source, int32_t line);
41#ifdef _STK_ASSERT_REDIRECT
42void STK_ASSERT_HANDLER(
const char *err,
const char *source, int32_t line)
Top-level STK include. Provides the Kernel class template and all built-in task-switching strategies.
static void __stk_debug_break()
Collection of time-related primitives (stk::time namespace).
@ ACCESS_PRIVILEGED
Privileged access mode (access to hardware is fully unrestricted).
static Ticks GetTicksFromMs(Time ms, uint32_t resolution)
Convert milliseconds to ticks.
PlatformArmCortexM PlatformDefault
Default platform implementation.
@ KERNEL_TICKLESS
Tickless mode. To use this mode STK_TICKLESS_IDLE must be defined to 1 in stk_config....
@ KERNEL_SYNC
Synchronization support (see Event).
@ KERNEL_DYNAMIC
Tasks can be added or removed and therefore exit when done.
SwitchStrategyRoundRobinT< false > SwitchStrategyRR
Shorthand alias for SwitchStrategyRoundRobin.
Concrete implementation of IKernel.
Software timer multiplexer that manages multiple Timer instances on top of a small fixed set of kerne...
EResult Shutdown()
Shutdown host instance. All timers are stopped and removed from the host.
@ TASK_COUNT
total number of tasks serving this instance
::stk::time::Timer Timer
Alias of stk::time::Timer, keeps the former nested name TimerHost::Timer valid.
static void InitAll(bool init_state)
static void SwitchOnExclusive(Id led)
void OnExpired(stk::time::TimerHost *host)
Callback invoked when this timer expires.
void OnExpired(stk::time::TimerHost *host)
Callback invoked when this timer expires.
static stk::time::TimerHost g_Timers
static stk_kernel_t * g_Kernel