|
VSF Documented
|
#include "hal/vsf_hal.h"#include "service/vsf_service.h"#include <Windows.h>#include "hal/driver/common/rtc/rtc_template.inc"Data Structures | |
| struct | vsf_hostos_rtc_t |
Macros | |
| #define | VSF_HOSTOS_RTC_CFG_MULTI_CLASS VSF_RTC_CFG_MULTI_CLASS |
| #define | VSF_RTC_CFG_IMP_PREFIX vsf_hostos |
| #define | VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HOSTOS |
| #define | VSF_RTC_CFG_GET_TIME_API_TEMPLATE ENABLED |
| #define | VSF_RTC_CFG_SET_TIME_API_TEMPLATE ENABLED |
| #define | VSF_RTC_CFG_CAPABILITY_IRQ_MASK 0 |
| #define | VSF_RTC_CFG_IMP_LV0(__IDX, __HAL_OP) |
| #define | VSF_RTC_CFG_IMP_PREFIX VSF_HOSTOS_RTC_PREFIX |
| #define | VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HOSTOS_RTC_UPCASE_PREFIX |
| #define | VSF_RTC_CFG_IMP_COUNT_MASK_PREFIX VSF_HOSTOS |
| #define | VSF_RTC_CFG_IMP_REMAP_PREFIX vsf_remapped |
| #define | VSF_RTC_CFG_IMP_LV0(__IDX, __HAL_OP) |
Typedefs | |
| typedef struct vsf_hostos_rtc_t | vsf_hostos_rtc_t |
Functions | |
| vsf_err_t | vsf_hostos_rtc_init (vsf_hostos_rtc_t *rtc_ptr, vsf_rtc_cfg_t *cfg_ptr) |
| void | vsf_hostos_rtc_fini (vsf_hostos_rtc_t *rtc_ptr) |
| fsm_rt_t | vsf_hostos_rtc_enable (vsf_hostos_rtc_t *rtc_ptr) |
| fsm_rt_t | vsf_hostos_rtc_disable (vsf_hostos_rtc_t *rtc_ptr) |
| vsf_err_t | vsf_hostos_rtc_get (vsf_hostos_rtc_t *rtc_ptr, vsf_rtc_tm_t *rtc_tm) |
| vsf_err_t | vsf_hostos_rtc_set (vsf_hostos_rtc_t *rtc_ptr, const vsf_rtc_tm_t *rtc_tm) |
| #define VSF_HOSTOS_RTC_CFG_MULTI_CLASS VSF_RTC_CFG_MULTI_CLASS |
| #define VSF_RTC_CFG_IMP_PREFIX vsf_hostos |
| #define VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HOSTOS |
| #define VSF_RTC_CFG_GET_TIME_API_TEMPLATE ENABLED |
| #define VSF_RTC_CFG_SET_TIME_API_TEMPLATE ENABLED |
| #define VSF_RTC_CFG_CAPABILITY_IRQ_MASK 0 |
| #define VSF_RTC_CFG_IMP_LV0 | ( | __IDX, | |
| __HAL_OP | |||
| ) |
| #define VSF_RTC_CFG_IMP_PREFIX VSF_HOSTOS_RTC_PREFIX |
| #define VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HOSTOS_RTC_UPCASE_PREFIX |
| #define VSF_RTC_CFG_IMP_COUNT_MASK_PREFIX VSF_HOSTOS |
| #define VSF_RTC_CFG_IMP_REMAP_PREFIX vsf_remapped |
| #define VSF_RTC_CFG_IMP_LV0 | ( | __IDX, | |
| __HAL_OP | |||
| ) |
| typedef struct vsf_hostos_rtc_t vsf_hostos_rtc_t |
| vsf_err_t vsf_hostos_rtc_init | ( | vsf_hostos_rtc_t * | rtc_ptr, |
| vsf_rtc_cfg_t * | cfg_ptr | ||
| ) |
| void vsf_hostos_rtc_fini | ( | vsf_hostos_rtc_t * | rtc_ptr | ) |
| fsm_rt_t vsf_hostos_rtc_enable | ( | vsf_hostos_rtc_t * | rtc_ptr | ) |
| fsm_rt_t vsf_hostos_rtc_disable | ( | vsf_hostos_rtc_t * | rtc_ptr | ) |
| vsf_err_t vsf_hostos_rtc_get | ( | vsf_hostos_rtc_t * | rtc_ptr, |
| vsf_rtc_tm_t * | rtc_tm | ||
| ) |
| vsf_err_t vsf_hostos_rtc_set | ( | vsf_hostos_rtc_t * | rtc_ptr, |
| const vsf_rtc_tm_t * | rtc_tm | ||
| ) |