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:
144:ef7eb2e8f9f7
Child:
147:30b64687e01f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/targets/hal/TARGET_ONSEMI/TARGET_NCS36510/ncs36510Init.h	Fri Sep 02 15:07:44 2016 +0100
@@ -0,0 +1,48 @@
+/**
+***************************************************************************
+* @file ncs36510_init.h
+* @brief Initialization of Orion SoC
+* @internal
+* @author ON Semiconductor.
+* $Rev:
+* $Date: $
+******************************************************************************
+* @copyright (c) 2012 ON Semiconductor. All rights reserved.
+* ON Semiconductor is supplying this software for use with ON Semiconductor
+* processor based microcontrollers only.
+*
+* THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
+* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
+* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
+* ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL,
+* INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
+* @endinternal
+*
+* @ingroup main
+*
+* @details
+*/
+#ifndef NCS36510_H_
+#define NCS36510_H_
+
+/* BSP inclusions */
+#include "architecture.h"
+#include "memory_map.h"
+#include "ticker.h"
+#include "gpio.h"
+#include "gpio_api.h"
+
+/* Other inclusions */
+#include "types.h"
+
+boolean fTrim(void);
+
+void fClockInit(void) ;
+
+uint32_t fClockGetPeriphClockfrequency(void);
+
+void fNcs36510Init(void);
+
+#endif //NCS36510_H_
+
+