mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c

Dependents:   Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay

Fork of mbed-dev by mbed official

Revision:
150:02e0a0aed4ec
Parent:
149:156823d33999
Child:
153:fa9ff456f731
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/pwm_map.h	Fri Oct 28 11:17:30 2016 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/pwm_map.h	Tue Nov 08 17:45:16 2016 +0000
@@ -44,37 +44,6 @@
 #include "architecture.h"
 
 /** Power management Control HW Structure Overlay */
-#ifdef REVB
-typedef struct {
-    __IO uint32_t DUTYCYCLE;
-    union {
-        struct {
-            __IO uint32_t ENABLED :1;/**< 1 = PWM enable , 0 = PWM disable  */
-            __I uint32_t CURRENT :1;/**< current state of PWM enable signal  */
-            __O uint32_t PAD1 :6; /**< Reserved. Writes have no effect; Read as 0x00. */
-            __O uint32_t RDPWMEN :1;/**< current state of pwmEnable configuration  */
-            __O uint32_t RDPWMOP :1;/**< current state of PWM out signal  */
-            __O uint32_t PAD2 :6; /**< Reserved. Writes have no effect; Read as 0x00. */
-        } BITS;
-        __I uint32_t WORD;
-    } PWMOUT;
-    __O uint32_t DISABLE;
-    union {
-        struct {
-            __IO uint32_t ENABLED :1;
-            __O uint32_t PAD1 :7; /**< Reserved. Writes have no effect */
-            __O uint32_t STATE :1; /**< current state of prescaler enable configuration. */
-            __O uint32_t PAD2 :7; /**< Reserved. Writes have no effect; Read as 0x00. */
-        } BITS;
-        __I uint32_t WORD;
-    } PRESCALE_EN;
-
-    __O uint32_t PRESCALE_DIS;
-
-} PwmReg_t, *PwmReg_pt;
-#endif /* REVB */
-
-#ifdef REVD
 typedef struct {
     __IO uint32_t DUTYCYCLE;
     union {
@@ -96,5 +65,4 @@
     } PRESCALE_ENABLE;
     __O uint32_t PRESCALE_DISABLE;
 } PwmReg_t, *PwmReg_pt;
-#endif /* REVD */
 #endif /* PWM_MAP_H_ */