TuyaOS
|
Common process - adapter the rtc api 更多...
#include "tuya_cloud_types.h"
宏定义 | |
#define | TAL_RTC_DISABLE_CMD 1 |
#define | TAL_RTC_GET_FLAG (1 << 1) |
#define | TAL_RTC_SET_FLAG (1 << 0) |
函数 | |
OPERATE_RET | tal_rtc_deinit (VOID_T) |
rtc deinit 更多... | |
OPERATE_RET | tal_rtc_init (VOID_T) |
rtc init 更多... | |
OPERATE_RET | tal_rtc_time_control (UINT8_T cmd, VOID_T *arg) |
OPERATE_RET | tal_rtc_time_get (TIME_T *time_sec) |
rtc time get 更多... | |
OPERATE_RET | tal_rtc_time_set (TIME_T time_sec) |
rtc time set 更多... | |
Common process - adapter the rtc api
OPERATE_RET tal_rtc_deinit | ( | VOID_T | ) |
OPERATE_RET tal_rtc_init | ( | VOID_T | ) |
OPERATE_RET tal_rtc_time_get | ( | TIME_T * | time_sec | ) |
rtc time get
[in] | time_sec:rtc | time seconds |
OPERATE_RET tal_rtc_time_set | ( | TIME_T | time_sec | ) |
rtc time set
[in] | time_sec | rtc time seconds |