TuyaOS
include
components
tal_driver
include
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
17
extern
"C"
{
18
#endif
19
20
28
OPERATE_RET
tal_rtc_init
(VOID_T);
29
35
OPERATE_RET
tal_rtc_deinit
(VOID_T);
36
44
OPERATE_RET
tal_rtc_time_set
(TIME_T time_sec);
45
53
OPERATE_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
tal_rtc_time_get
OPERATE_RET tal_rtc_time_get(TIME_T *time_sec)
rtc time get
tal_rtc_init
OPERATE_RET tal_rtc_init(VOID_T)
rtc init
tal_rtc_time_set
OPERATE_RET tal_rtc_time_set(TIME_T time_sec)
rtc time set
tal_rtc_deinit
OPERATE_RET tal_rtc_deinit(VOID_T)
rtc deinit
制作者
1.9.4