aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F4xx/hal_lld.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-09 13:58:19 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-09 13:58:19 +0000
commite7e63d88dbe7eb57e8d13236e4da772d7fa2a912 (patch)
tree86ec800b96e2b0ad84e35f795bc5d6d638c12605 /os/hal/platforms/STM32F4xx/hal_lld.h
parentda68de0d34eaeeb4f0638c64b661c38c7f06b871 (diff)
parent28cb4b4849c6e124baed09bdb4753d7b87a47483 (diff)
downloadChibiOS-e7e63d88dbe7eb57e8d13236e4da772d7fa2a912.tar.gz
ChibiOS-e7e63d88dbe7eb57e8d13236e4da772d7fa2a912.tar.bz2
ChibiOS-e7e63d88dbe7eb57e8d13236e4da772d7fa2a912.zip
RTC. Code compiles but not tested.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rtc_dev@3588 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F4xx/hal_lld.h')
-rw-r--r--os/hal/platforms/STM32F4xx/hal_lld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h
index 1bb69958e..f292285da 100644
--- a/os/hal/platforms/STM32F4xx/hal_lld.h
+++ b/os/hal/platforms/STM32F4xx/hal_lld.h
@@ -218,6 +218,12 @@
#define STM32_MCO2SEL_HSE (2U << 30) /**< HSE clock on MCO2 pin. */
#define STM32_MCO2SEL_PLL (3U << 30) /**< PLL clock on MCO2 pin. */
+#define STM32_RTC_NOCLOCK (0 << 8) /**< No clock. */
+#define STM32_RTC_LSE (1 << 8) /**< LSE used as RTC clock. */
+#define STM32_RTC_LSI (2 << 8) /**< LSI used as RTC clock. */
+#define STM32_RTC_HSE (3 << 8) /**< HSE divided by programmable
+ prescaler used as RTC clock*/
+
/**
* @name RCC_PLLI2SCFGR register bits definitions
* @{