![]() |
AKOS
v1.0.0
Documentation
|
Cortex-M3 port implementation (context switching and tick hook). More...
#include "port.h"#include "thread.h"#include "core.h"#include "config.h"#include "core_cm0.h"#include "core_cmFunc.h"Go to the source code of this file.
Functions | |
| void | akos_port_systick_init_freq (uint32_t cpu_freq) |
| Initialize SysTick to generate 1ms OS ticks. | |
| void | akos_port_start_first_task (void) |
| Start the first thread by restoring the initial exception context. | |
| uint32_t * | akos_port_task_stack_init (uint32_t *p_stack, size_t stack_size, void(*pf_task)(void *), void *p_arg) |
| Build the initial Cortex-M thread stack frame. | |
| void | port_SVCHandler (void) |
| SVC handler used to restore the first thread context. | |
| void | port_PendSVHandler (void) |
| PendSV handler used for context switching between threads. | |
| void | port_SysTickHandler () |
| SysTick ISR hook for scheduler tick updates. | |
Cortex-M3 port implementation (context switching and tick hook).
Definition in file port.c.
| void akos_port_start_first_task | ( | void | ) |
| void akos_port_systick_init_freq | ( | uint32_t | cpu_freq | ) |
| uint32_t * akos_port_task_stack_init | ( | uint32_t * | p_stack, |
| size_t | stack_size, | ||
| void(* | pf_task )(void *), | ||
| void * | p_arg ) |
| void port_PendSVHandler | ( | void | ) |
| void port_SVCHandler | ( | void | ) |