TuyaOS
tkl_rtc.h
浏览该文件的文档.
1
10#ifndef __TKL_RTC_H__
11#define __TKL_RTC_H__
12
13#include "tuya_cloud_types.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
26OPERATE_RET tkl_rtc_init(VOID_T);
27
33OPERATE_RET tkl_rtc_deinit(VOID_T);
34
42OPERATE_RET tkl_rtc_time_set(TIME_T time_sec);
43
51OPERATE_RET tkl_rtc_time_get(TIME_T *time_sec);
52
53
54#ifdef __cplusplus
55}
56#endif /* __cplusplus */
57
58#endif
59
OPERATE_RET tkl_rtc_time_set(TIME_T time_sec)
rtc time set
OPERATE_RET tkl_rtc_time_get(TIME_T *time_sec)
rtc time get
OPERATE_RET tkl_rtc_deinit(VOID_T)
rtc deinit
OPERATE_RET tkl_rtc_init(VOID_T)
rtc init