Crate rucos_cortex_m

Source
Expand description

A port of the RuCOS kernel to ARM Cortex-M

Constants§

MAX_NUM_TASKS
Maximum number of kernel tasks
TICK_RATE_HZ
Kernel tick rate in hertz

Functions§

PendSV
PendSV interrupt handler
SysTick
SysTick interrupt handler
create
Create a task
delete
Delete a task
get_current_task
Get the ID of the current task
get_current_tick
Get the current value of the kernel tick
init
Initialize the kernel and create the idle task
resume
Resume a task
sleep
Sleep the current task
start
Start the kernel
suspend
Suspend a task