aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-25 10:06:23 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-25 10:06:23 +0000
commit17a20fe36a9356f8d73088ad0411486710210e24 (patch)
tree4f0da402b9f5678c2202b5d31e13d6db7514562a
parent41fd0fb5fb2d446605e7a99c11f46d7c28071500 (diff)
downloadChibiOS-17a20fe36a9356f8d73088ad0411486710210e24.tar.gz
ChibiOS-17a20fe36a9356f8d73088ad0411486710210e24.tar.bz2
ChibiOS-17a20fe36a9356f8d73088ad0411486710210e24.zip
RTC. Documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3406 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32/RTCv1/rtc_lld.h20
1 files 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