aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx/hal_lld_f103.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-20 17:33:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-20 17:33:38 +0000
commit01596d8b5e9399d2c4b3e3551cdd3396b4c787bc (patch)
tree8dc8a5f4de0e679e7864a7aeda69fb7c9bf24605 /os/hal/platforms/STM32F1xx/hal_lld_f103.h
parent2eae0014602871fc7b1d9d0b67830d055e15554f (diff)
downloadChibiOS-01596d8b5e9399d2c4b3e3551cdd3396b4c787bc.tar.gz
ChibiOS-01596d8b5e9399d2c4b3e3551cdd3396b4c787bc.tar.bz2
ChibiOS-01596d8b5e9399d2c4b3e3551cdd3396b4c787bc.zip
Fixed bug 3411774.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3367 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx/hal_lld_f103.h')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld_f103.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld_f103.h b/os/hal/platforms/STM32F1xx/hal_lld_f103.h
index f14ab5dc4..9ba74d239 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld_f103.h
+++ b/os/hal/platforms/STM32F1xx/hal_lld_f103.h
@@ -90,10 +90,11 @@
#define STM32_MCO_HSE (6 << 24) /**< HSE clock on MCO pin. */
#define STM32_MCO_PLLDIV2 (7 << 24) /**< PLL/2 clock on MCO 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 128 used as RTC clock */
+#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 128 used as
+ RTC clock. */
/*===========================================================================*/
/* Platform specific friendly IRQ names. */
@@ -144,8 +145,8 @@
#define USART2_IRQHandler VectorD8 /**< USART2. */
#define USART3_IRQHandler VectorDC /**< USART3. */
#define EXTI15_10_IRQHandler VectorE0 /**< EXTI Line 15..10. */
-#define RTCAlarm_IRQHandler VectorE4 /**< RTC Alarm through EXTI. */
-#define USBWakeUp_IRQHandler VectorE8 /**< USB Wakeup from suspend. */
+#define RTC_Alarm_IRQHandler VectorE4 /**< RTC Alarm through EXTI. */
+#define USB_FS_WKUP_IRQHandler VectorE8 /**< USB Wakeup from suspend. */
#define TIM8_BRK_IRQHandler VectorEC /**< TIM8 Break. */
#define TIM8_UP_IRQHandler VectorF0 /**< TIM8 Update. */
#define TIM8_TRG_COM_IRQHandler VectorF4 /**< TIM8 Trigger and