|
VSF Documented
|
#include "kernel/vsf_kernel_cfg.h"#include "../../vsf_kernel_common.h"#include "./vsf_simple.h"#include "../../task/vsf_thread.h"#include "../../vsf_eda.h"Macros | |
| #define | __VSF_EDA_CLASS_INHERIT__ |
Functions | |
| vsf_evt_t | __vsf_delay (vsf_systimer_tick_t tick) |
| Low-level delay helper backing the vsf_delay() statement macros. | |
| vsf_sync_reason_t | __vsf_sem_pend (vsf_sem_t *sem_ptr, vsf_timeout_tick_t time_out) |
| Low-level semaphore-pend helper backing the vsf_sem_pend() and vsf_trig_wait() statement macros. | |
| vsf_sync_reason_t | __vsf_mutex_enter (vsf_mutex_t *mtx_ptr, vsf_timeout_tick_t time_out) |
| Low-level mutex-enter helper backing the vsf_mutex_enter() and vsf_crit_enter() statement macros. | |
| vsf_evt_t | __vsf_yield (void) |
| Low-level yield helper backing the vsf_yield() statement macro. | |
| vsf_err_t | __vsf_call_eda (uintptr_t evthandler, uintptr_t param, size_t local_size, size_t local_buff_size, uintptr_t local_buff) |
| Low-level sub-task-call helper backing the vsf_call_eda() and vsf_call_peda() macros. | |
| fsm_rt_t | __vsf_call_task (vsf_task_entry_t entry, uintptr_t param, size_t local_size) |
| Low-level helper for calling a sub task with a return value. | |
| #define __VSF_EDA_CLASS_INHERIT__ |
| vsf_evt_t __vsf_delay | ( | vsf_systimer_tick_t | tick | ) |
Low-level delay helper backing the vsf_delay() statement macros.
| [in] | tick | delay time in system timer ticks |
| vsf_sync_reason_t __vsf_sem_pend | ( | vsf_sem_t * | sem_ptr, |
| vsf_timeout_tick_t | time_out ) |
Low-level semaphore-pend helper backing the vsf_sem_pend() and vsf_trig_wait() statement macros.
| [in] | sem_ptr | pointer to the semaphore vsf_sem_t |
| [in] | time_out | timeout in system timer ticks; a negative value waits forever |
| vsf_sync_reason_t __vsf_mutex_enter | ( | vsf_mutex_t * | mtx_ptr, |
| vsf_timeout_tick_t | time_out ) |
Low-level mutex-enter helper backing the vsf_mutex_enter() and vsf_crit_enter() statement macros.
| [in] | mtx_ptr | pointer to the mutex vsf_mutex_t |
| [in] | time_out | timeout in system timer ticks; a negative value waits forever |
| vsf_evt_t __vsf_yield | ( | void | ) |
Low-level yield helper backing the vsf_yield() statement macro.
|
extern |
Low-level sub-task-call helper backing the vsf_call_eda() and vsf_call_peda() macros.
| [in] | evthandler | entry function of the sub task |
| [in] | param | parameter passed to the sub task |
| [in] | local_size | size of the local variable area of the sub task |
| [in] | local_buff_size | size of the buffer pointed by local_buff |
| [in] | local_buff | buffer used to initialize the local variable area of the sub task, NULL if not used |
| fsm_rt_t __vsf_call_task | ( | vsf_task_entry_t | entry, |
| uintptr_t | param, | ||
| size_t | local_size ) |
Low-level helper for calling a sub task with a return value.
| [in] | entry | entry function of the sub task vsf_task_entry_t |
| [in] | param | parameter passed to the sub task |
| [in] | local_size | size of the local variable area of the sub task |