cc y / mbed

Fork of mbed by mbed official

Committer:
Kojto
Date:
Thu Jul 07 14:34:11 2016 +0100
Revision:
122:f9eeca106725
Release 122 of the mbed library

Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 122:f9eeca106725 1 /* MPS2 CMSIS Library
Kojto 122:f9eeca106725 2 *
Kojto 122:f9eeca106725 3 * Copyright (c) 2006-2016 ARM Limited
Kojto 122:f9eeca106725 4 * All rights reserved.
Kojto 122:f9eeca106725 5 *
Kojto 122:f9eeca106725 6 * Redistribution and use in source and binary forms, with or without
Kojto 122:f9eeca106725 7 * modification, are permitted provided that the following conditions are met:
Kojto 122:f9eeca106725 8 *
Kojto 122:f9eeca106725 9 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 122:f9eeca106725 10 * this list of conditions and the following disclaimer.
Kojto 122:f9eeca106725 11 *
Kojto 122:f9eeca106725 12 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 122:f9eeca106725 13 * this list of conditions and the following disclaimer in the documentation
Kojto 122:f9eeca106725 14 * and/or other materials provided with the distribution.
Kojto 122:f9eeca106725 15 *
Kojto 122:f9eeca106725 16 * 3. Neither the name of the copyright holder nor the names of its contributors
Kojto 122:f9eeca106725 17 * may be used to endorse or promote products derived from this software without
Kojto 122:f9eeca106725 18 * specific prior written permission.
Kojto 122:f9eeca106725 19 *
Kojto 122:f9eeca106725 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 122:f9eeca106725 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 122:f9eeca106725 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Kojto 122:f9eeca106725 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
Kojto 122:f9eeca106725 24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
Kojto 122:f9eeca106725 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
Kojto 122:f9eeca106725 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
Kojto 122:f9eeca106725 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
Kojto 122:f9eeca106725 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
Kojto 122:f9eeca106725 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Kojto 122:f9eeca106725 30 * POSSIBILITY OF SUCH DAMAGE.
Kojto 122:f9eeca106725 31 *
Kojto 122:f9eeca106725 32 *******************************************************************************
Kojto 122:f9eeca106725 33 * @file system_CMSDK_BEID.h
Kojto 122:f9eeca106725 34 * @brief CMSIS Device Peripheral Access Layer Header File for
Kojto 122:f9eeca106725 35 * CMSDK_BEID Device
Kojto 122:f9eeca106725 36 *
Kojto 122:f9eeca106725 37 ******************************************************************************/
Kojto 122:f9eeca106725 38
Kojto 122:f9eeca106725 39
Kojto 122:f9eeca106725 40 #ifndef SYSTEM_CMSDK_BEID_H
Kojto 122:f9eeca106725 41 #define SYSTEM_CMSDK_BEID_H
Kojto 122:f9eeca106725 42
Kojto 122:f9eeca106725 43 #ifdef __cplusplus
Kojto 122:f9eeca106725 44 extern "C" {
Kojto 122:f9eeca106725 45 #endif
Kojto 122:f9eeca106725 46
Kojto 122:f9eeca106725 47 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
Kojto 122:f9eeca106725 48
Kojto 122:f9eeca106725 49
Kojto 122:f9eeca106725 50 /**
Kojto 122:f9eeca106725 51 * Initialize the system
Kojto 122:f9eeca106725 52 *
Kojto 122:f9eeca106725 53 * @param none
Kojto 122:f9eeca106725 54 * @return none
Kojto 122:f9eeca106725 55 *
Kojto 122:f9eeca106725 56 * @brief Setup the microcontroller system.
Kojto 122:f9eeca106725 57 * Initialize the System and update the SystemCoreClock variable.
Kojto 122:f9eeca106725 58 */
Kojto 122:f9eeca106725 59 extern void SystemInit (void);
Kojto 122:f9eeca106725 60
Kojto 122:f9eeca106725 61 /**
Kojto 122:f9eeca106725 62 * Update SystemCoreClock variable
Kojto 122:f9eeca106725 63 *
Kojto 122:f9eeca106725 64 * @param none
Kojto 122:f9eeca106725 65 * @return none
Kojto 122:f9eeca106725 66 *
Kojto 122:f9eeca106725 67 * @brief Updates the SystemCoreClock with current core Clock
Kojto 122:f9eeca106725 68 * retrieved from cpu registers.
Kojto 122:f9eeca106725 69 */
Kojto 122:f9eeca106725 70 extern void SystemCoreClockUpdate (void);
Kojto 122:f9eeca106725 71
Kojto 122:f9eeca106725 72 #ifdef __cplusplus
Kojto 122:f9eeca106725 73 }
Kojto 122:f9eeca106725 74 #endif
Kojto 122:f9eeca106725 75
Kojto 122:f9eeca106725 76 #endif /* SYSTEM_CMSDK_BEID_H */