mbed library sources. Supersedes mbed-src.

Dependents:   BREAK_SENSOR_LED

Fork of mbed-dev by mbed official

Revision:
165:e614a9f1c9e2
Parent:
160:d5399cc887bb
Child:
167:e84263d55307
--- a/targets/TARGET_STM/rtc_api.c	Wed May 10 12:06:41 2017 +0100
+++ b/targets/TARGET_STM/rtc_api.c	Fri May 26 12:39:01 2017 +0100
@@ -83,7 +83,7 @@
         error("PeriphClkInitStruct RTC failed with LSE\n");
     }
 #else /* !RTC_LSI */
-    __PWR_CLK_ENABLE();
+    __HAL_RCC_PWR_CLK_ENABLE();
 
     // Reset Backup domain
     __HAL_RCC_BACKUPRESET_FORCE();
@@ -147,7 +147,7 @@
 {
 #if RTC_LSI
     // Enable Power clock
-    __PWR_CLK_ENABLE();
+    __HAL_RCC_PWR_CLK_ENABLE();
 
     // Enable access to Backup domain
     HAL_PWR_EnableBkUpAccess();