The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_ARM_CM3DS_MPS2/TOOLCHAIN_GCC_ARM/system_CMSDK_CM3DS.h@172:65be27845400, 2019-02-20 (annotated)
- Committer:
- AnnaBridge
- Date:
- Wed Feb 20 20:53:29 2019 +0000
- Revision:
- 172:65be27845400
- Parent:
- 171:3a7713b1edbc
mbed library release version 165
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 145:64910690c574 | 1 | /* |
AnnaBridge | 145:64910690c574 | 2 | * Copyright (c) 2009-2017 ARM Limited. All rights reserved. |
AnnaBridge | 145:64910690c574 | 3 | * |
AnnaBridge | 145:64910690c574 | 4 | * SPDX-License-Identifier: Apache-2.0 |
AnnaBridge | 145:64910690c574 | 5 | * |
AnnaBridge | 145:64910690c574 | 6 | * Licensed under the Apache License, Version 2.0 (the License); you may |
AnnaBridge | 145:64910690c574 | 7 | * not use this file except in compliance with the License. |
AnnaBridge | 145:64910690c574 | 8 | * You may obtain a copy of the License at |
AnnaBridge | 145:64910690c574 | 9 | * |
AnnaBridge | 145:64910690c574 | 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 145:64910690c574 | 11 | * |
AnnaBridge | 145:64910690c574 | 12 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 145:64910690c574 | 13 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
AnnaBridge | 145:64910690c574 | 14 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 145:64910690c574 | 15 | * See the License for the specific language governing permissions and |
AnnaBridge | 145:64910690c574 | 16 | * limitations under the License. |
Anna Bridge |
169:a7c7b631e539 | 17 | */ |
Anna Bridge |
169:a7c7b631e539 | 18 | |
Anna Bridge |
169:a7c7b631e539 | 19 | /* |
AnnaBridge | 145:64910690c574 | 20 | * This file is derivative of CMSIS V5.00 system_ARMCM3.h |
AnnaBridge | 145:64910690c574 | 21 | */ |
AnnaBridge | 145:64910690c574 | 22 | |
AnnaBridge | 145:64910690c574 | 23 | #ifndef SYSTEM_CMSDK_CM3DS_H |
AnnaBridge | 145:64910690c574 | 24 | #define SYSTEM_CMSDK_CM3DS_H |
AnnaBridge | 145:64910690c574 | 25 | |
AnnaBridge | 145:64910690c574 | 26 | #ifdef __cplusplus |
AnnaBridge | 145:64910690c574 | 27 | extern "C" { |
AnnaBridge | 145:64910690c574 | 28 | #endif |
AnnaBridge | 145:64910690c574 | 29 | |
AnnaBridge | 145:64910690c574 | 30 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
AnnaBridge | 145:64910690c574 | 31 | |
AnnaBridge | 145:64910690c574 | 32 | /** |
AnnaBridge | 145:64910690c574 | 33 | * Initialize the system |
AnnaBridge | 145:64910690c574 | 34 | * |
AnnaBridge | 145:64910690c574 | 35 | * @param none |
AnnaBridge | 145:64910690c574 | 36 | * @return none |
AnnaBridge | 145:64910690c574 | 37 | * |
AnnaBridge | 145:64910690c574 | 38 | * @brief Setup the microcontroller system. |
AnnaBridge | 145:64910690c574 | 39 | * Initialize the System and update the SystemCoreClock variable. |
AnnaBridge | 145:64910690c574 | 40 | */ |
AnnaBridge | 145:64910690c574 | 41 | extern void SystemInit (void); |
AnnaBridge | 145:64910690c574 | 42 | |
AnnaBridge | 145:64910690c574 | 43 | /** |
AnnaBridge | 145:64910690c574 | 44 | * Update SystemCoreClock variable |
AnnaBridge | 145:64910690c574 | 45 | * |
AnnaBridge | 145:64910690c574 | 46 | * @param none |
AnnaBridge | 145:64910690c574 | 47 | * @return none |
AnnaBridge | 145:64910690c574 | 48 | * |
AnnaBridge | 145:64910690c574 | 49 | * @brief Updates the SystemCoreClock with current core Clock |
AnnaBridge | 145:64910690c574 | 50 | * retrieved from cpu registers. |
AnnaBridge | 145:64910690c574 | 51 | */ |
AnnaBridge | 145:64910690c574 | 52 | extern void SystemCoreClockUpdate (void); |
AnnaBridge | 145:64910690c574 | 53 | |
AnnaBridge | 145:64910690c574 | 54 | #ifdef __cplusplus |
AnnaBridge | 145:64910690c574 | 55 | } |
AnnaBridge | 145:64910690c574 | 56 | #endif |
AnnaBridge | 145:64910690c574 | 57 | |
AnnaBridge | 145:64910690c574 | 58 | #endif /* SYSTEM_CMSDK_CM3DS_H */ |