aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/RTCv1
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/RTCv1')
-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