VSF Documented
|
#include "../driver.h"
#include "service/vsf_service.h"
#include <Windows.h>
#include "hal/driver/common/rtc/rtc_template.inc"
Data Structures | |
struct | vsf_hw_rtc_t |
Macros | |
#define | VSF_HW_RTC_CFG_MULTI_CLASS VSF_RTC_CFG_MULTI_CLASS |
#define | VSF_RTC_CFG_IMP_PREFIX vsf_hw |
#define | VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HW |
#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) |
Typedefs | |
typedef struct vsf_hw_rtc_t | vsf_hw_rtc_t |
Functions | |
vsf_err_t | vsf_hw_rtc_init (vsf_hw_rtc_t *hw_rtc_ptr, vsf_rtc_cfg_t *cfg_ptr) |
void | vsf_hw_rtc_fini (vsf_hw_rtc_t *hw_rtc_ptr) |
fsm_rt_t | vsf_hw_rtc_enable (vsf_hw_rtc_t *hw_rtc_ptr) |
fsm_rt_t | vsf_hw_rtc_disable (vsf_hw_rtc_t *hw_rtc_ptr) |
vsf_err_t | vsf_hw_rtc_get (vsf_hw_rtc_t *hw_rtc_ptr, vsf_rtc_tm_t *rtc_tm) |
vsf_err_t | vsf_hw_rtc_set (vsf_hw_rtc_t *hw_rtc_ptr, const vsf_rtc_tm_t *rtc_tm) |
#define VSF_HW_RTC_CFG_MULTI_CLASS VSF_RTC_CFG_MULTI_CLASS |
#define VSF_RTC_CFG_IMP_PREFIX vsf_hw |
#define VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HW |
#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 | |||
) |
typedef struct vsf_hw_rtc_t vsf_hw_rtc_t |
vsf_err_t vsf_hw_rtc_init | ( | vsf_hw_rtc_t * | hw_rtc_ptr, |
vsf_rtc_cfg_t * | cfg_ptr | ||
) |
void vsf_hw_rtc_fini | ( | vsf_hw_rtc_t * | hw_rtc_ptr | ) |
fsm_rt_t vsf_hw_rtc_enable | ( | vsf_hw_rtc_t * | hw_rtc_ptr | ) |
fsm_rt_t vsf_hw_rtc_disable | ( | vsf_hw_rtc_t * | hw_rtc_ptr | ) |
vsf_err_t vsf_hw_rtc_get | ( | vsf_hw_rtc_t * | hw_rtc_ptr, |
vsf_rtc_tm_t * | rtc_tm | ||
) |
vsf_err_t vsf_hw_rtc_set | ( | vsf_hw_rtc_t * | hw_rtc_ptr, |
const vsf_rtc_tm_t * | rtc_tm | ||
) |