|
VSF Documented
|
#include "../driver.h"#include <sys/time.h>#include <time.h>#include "hal/driver/common/rtc/rtc_template.inc"Data Structures | |
| struct | vsf_hw_rtc_t |
Macros | |
| #define | VSF_RTC_CFG_IMP_PREFIX vsf_hw |
| #define | VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HW |
| #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) |
| 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) |
| time_t | vsf_hw_rtc_get_second (vsf_hw_rtc_t *hw_rtc_ptr) |
| vsf_err_t | vsf_hw_rtc_set_second (vsf_hw_rtc_t *rtc_ptr, time_t second) |
| 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_RTC_CFG_IMP_PREFIX vsf_hw |
| #define VSF_RTC_CFG_IMP_UPCASE_PREFIX VSF_HW |
| #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 | ||
| ) |
| 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 | ) |
| time_t vsf_hw_rtc_get_second | ( | vsf_hw_rtc_t * | hw_rtc_ptr | ) |
| vsf_err_t vsf_hw_rtc_set_second | ( | vsf_hw_rtc_t * | rtc_ptr, |
| time_t | second | ||
| ) |
| 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 | ||
| ) |