提交 e896021b 编写于 作者: 还_没_想_好's avatar 还_没_想_好 提交者: guo

[drivers][rtc]Add comments

上级 c4f107f5
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
* 2012-10-10 aozima first version. * 2012-10-10 aozima first version.
* 2021-06-11 iysheng implement RTC framework V2.0 * 2021-06-11 iysheng implement RTC framework V2.0
* 2021-07-30 Meco Man move rtc_core.h to rtc.h * 2021-07-30 Meco Man move rtc_core.h to rtc.h
* 2022-04-05 tyx add timestamp function
*/ */
#ifndef __RTC_H__ #ifndef __RTC_H__
......
...@@ -229,7 +229,7 @@ rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second) ...@@ -229,7 +229,7 @@ rt_err_t set_time(rt_uint32_t hour, rt_uint32_t minute, rt_uint32_t second)
} }
/** /**
* Set timestamp(utc). * Set timestamp(UTC).
* *
* @param time_t timestamp * @param time_t timestamp
* *
...@@ -251,7 +251,7 @@ rt_err_t set_timestamp(time_t timestamp) ...@@ -251,7 +251,7 @@ rt_err_t set_timestamp(time_t timestamp)
} }
/** /**
* Get timestamp(utc). * Get timestamp(UTC).
* *
* @param time_t* timestamp * @param time_t* timestamp
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册