From 17a20fe36a9356f8d73088ad0411486710210e24 Mon Sep 17 00:00:00 2001 From: barthess Date: Sun, 25 Sep 2011 10:06:23 +0000 Subject: [PATCH] RTC. Documentation improvements. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3406 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/RTCv1/rtc_lld.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/os/hal/platforms/STM32/RTCv1/rtc_lld.h b/os/hal/platforms/STM32/RTCv1/rtc_lld.h index 125b6c11e..37f8e105e 100644 --- a/os/hal/platforms/STM32/RTCv1/rtc_lld.h +++ b/os/hal/platforms/STM32/RTCv1/rtc_lld.h @@ -59,24 +59,24 @@ /* Driver data structures and types. */ /*===========================================================================*/ - - - - +/** + * @brief Structure representing an RTC time value. + */ typedef struct { + /** + * @brief Seconds sins UNIX epoch. + */ uint32_t tv_sec; + /** + * @brief Fractional part. + */ uint32_t tv_msec; }RTCDateTime; - - - - - /** * @brief Structure representing an RTC driver. - * @note This driver if dummy when callbacks disabled. + * @note This driver is dummy when callbacks disabled. */ struct RTCDriver{ #if RTC_SUPPORTS_CALLBACKS