VSF Documented
|
#include "./vsf_kernel_cfg.h"
#include "./vsf_kernel_common.h"
#include "./vsf_eda.h"
#include "./vsf_evtq.h"
#include "./vsf_os.h"
#include "./task/vsf_task.h"
#include "service/vsf_service.h"
#include "hal/arch/vsf_arch.h"
#include "hal/vsf_hal.h"
#include "component/debugger/vsf_debugger.h"
#include "service/pool/impl_vsf_pool.inc"
Data Structures | |
struct | vsf_os_t |
Macros | |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | __name vsf_eda_frame_pool |
#define | __type __vsf_eda_frame_buffer_t |
#define | __name vsf_evt_node_pool |
#define | __type vsf_evt_node_t |
Typedefs | |
typedef struct vsf_os_t | vsf_os_t |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __name vsf_eda_frame_pool |
#define __type __vsf_eda_frame_buffer_t |
#define __name vsf_evt_node_pool |
#define __type vsf_evt_node_t |
|
extern |
You start task, e.g. eda, vsf_task, vsf_pt or vsf_thread in the idle task. Please use vsf_prio_0 when you do this in idle task.
|
extern |
|
extern |
doing nothing here
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
__vsf_eda_frame_t * vsf_eda_new_frame | ( | size_t | local_size | ) |
should be provided by user
make sure local_size is aligned with sizeof(uintalu_t);
this is important, don't remove it.
add watermark for local buffer overflow detection, please never remove this!!! as local size could be zero
void vsf_eda_free_frame | ( | __vsf_eda_frame_t * | frame | ) |
vsf_evtq_t * __vsf_os_evtq_get | ( | vsf_prio_t | priority | ) |
vsf_prio_t __vsf_os_evtq_get_priority | ( | vsf_evtq_t * | this_ptr | ) |
vsf_err_t __vsf_os_evtq_set_priority | ( | vsf_evtq_t * | this_ptr, |
vsf_prio_t | priority | ||
) |
vsf_err_t __vsf_os_evtq_init | ( | vsf_evtq_t * | this_ptr | ) |
vsf_err_t __vsf_os_evtq_activate | ( | vsf_evtq_t * | this_ptr | ) |
vsf_evt_node_t * __vsf_os_alloc_evt_node | ( | void | ) |
void __vsf_os_free_evt_node | ( | vsf_evt_node_t * | pnode | ) |
void __vsf_sleep | ( | int | level | ) |
void vsf_cpu_usage_start | ( | vsf_cpu_usage_ctx_t * | ctx | ) |
void vsf_cpu_usage_stop | ( | void | ) |
void __vsf_kernel_os_run_priority | ( | vsf_prio_t | priority | ) |
void __vsf_kernel_os_start | ( | void | ) |
__vsf_kernel_os_start and __vsf_kernel_os_run_priority are ONLY used when embedded weak vsf_main_entry is not used
void vsf_main_entry | ( | void | ) |
< customised kernel diagnosis
< user defined idle task