TuyaOS
tal_rtc.h
浏览该文件的文档.
1
11#ifndef __TAL_RTC_H__
12#define __TAL_RTC_H__
13
14#include "tuya_cloud_types.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20
28OPERATE_RET tal_rtc_init(VOID_T);
29
35OPERATE_RET tal_rtc_deinit(VOID_T);
36
44OPERATE_RET tal_rtc_time_set(TIME_T time_sec);
45
53OPERATE_RET tal_rtc_time_get(TIME_T *time_sec);
54
55
56#ifdef __cplusplus
57} // extern "C"
58#endif
59
60#endif // __TAL_RTC_H__
61
OPERATE_RET tal_rtc_time_get(TIME_T *time_sec)
rtc time get
OPERATE_RET tal_rtc_init(VOID_T)
rtc init
OPERATE_RET tal_rtc_time_set(TIME_T time_sec)
rtc time set
OPERATE_RET tal_rtc_deinit(VOID_T)
rtc deinit