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_NCS36510/TOOLCHAIN_IAR/system_NCS36510.h@171:3a7713b1edbc, 2018-11-08 (annotated)
- Committer:
- AnnaBridge
- Date:
- Thu Nov 08 11:45:42 2018 +0000
- Revision:
- 171:3a7713b1edbc
mbed library. Release version 164
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 171:3a7713b1edbc | 1 | /**************************************************************************//** |
AnnaBridge | 171:3a7713b1edbc | 2 | * @file system_NCS36510.h |
AnnaBridge | 171:3a7713b1edbc | 3 | * @brief CMSIS Cortex-M3 Device System Header File |
AnnaBridge | 171:3a7713b1edbc | 4 | * for CM3 Device Series |
AnnaBridge | 171:3a7713b1edbc | 5 | * @version V1.05 |
AnnaBridge | 171:3a7713b1edbc | 6 | * @date 19. July 2011 |
AnnaBridge | 171:3a7713b1edbc | 7 | * |
AnnaBridge | 171:3a7713b1edbc | 8 | * @note |
AnnaBridge | 171:3a7713b1edbc | 9 | * Copyright (C) 2010-2011 ARM Limited. All rights reserved. |
AnnaBridge | 171:3a7713b1edbc | 10 | * |
AnnaBridge | 171:3a7713b1edbc | 11 | * @par |
AnnaBridge | 171:3a7713b1edbc | 12 | * ARM Limited (ARM) is supplying this software for use with Cortex-M |
AnnaBridge | 171:3a7713b1edbc | 13 | * processor based microcontrollers. This file can be freely distributed |
AnnaBridge | 171:3a7713b1edbc | 14 | * within development tools that are supporting such ARM based processors. |
AnnaBridge | 171:3a7713b1edbc | 15 | * |
AnnaBridge | 171:3a7713b1edbc | 16 | * @par |
AnnaBridge | 171:3a7713b1edbc | 17 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
AnnaBridge | 171:3a7713b1edbc | 18 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
AnnaBridge | 171:3a7713b1edbc | 19 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
AnnaBridge | 171:3a7713b1edbc | 20 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
AnnaBridge | 171:3a7713b1edbc | 21 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
AnnaBridge | 171:3a7713b1edbc | 22 | * |
AnnaBridge | 171:3a7713b1edbc | 23 | ******************************************************************************/ |
AnnaBridge | 171:3a7713b1edbc | 24 | |
AnnaBridge | 171:3a7713b1edbc | 25 | |
AnnaBridge | 171:3a7713b1edbc | 26 | #ifndef SYSTEM_ARMCM3_H |
AnnaBridge | 171:3a7713b1edbc | 27 | #define SYSTEM_ARMCM3_H |
AnnaBridge | 171:3a7713b1edbc | 28 | |
AnnaBridge | 171:3a7713b1edbc | 29 | #ifdef __cplusplus |
AnnaBridge | 171:3a7713b1edbc | 30 | extern "C" { |
AnnaBridge | 171:3a7713b1edbc | 31 | #endif |
AnnaBridge | 171:3a7713b1edbc | 32 | |
AnnaBridge | 171:3a7713b1edbc | 33 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
AnnaBridge | 171:3a7713b1edbc | 34 | |
AnnaBridge | 171:3a7713b1edbc | 35 | |
AnnaBridge | 171:3a7713b1edbc | 36 | /** |
AnnaBridge | 171:3a7713b1edbc | 37 | * Initialize the system |
AnnaBridge | 171:3a7713b1edbc | 38 | * |
AnnaBridge | 171:3a7713b1edbc | 39 | * @param none |
AnnaBridge | 171:3a7713b1edbc | 40 | * @return none |
AnnaBridge | 171:3a7713b1edbc | 41 | * |
AnnaBridge | 171:3a7713b1edbc | 42 | * @brief Setup the microcontroller system. |
AnnaBridge | 171:3a7713b1edbc | 43 | * Initialize the System and update the SystemCoreClock variable. |
AnnaBridge | 171:3a7713b1edbc | 44 | */ |
AnnaBridge | 171:3a7713b1edbc | 45 | extern void SystemInit (void); |
AnnaBridge | 171:3a7713b1edbc | 46 | |
AnnaBridge | 171:3a7713b1edbc | 47 | /** |
AnnaBridge | 171:3a7713b1edbc | 48 | * Update SystemCoreClock variable |
AnnaBridge | 171:3a7713b1edbc | 49 | * |
AnnaBridge | 171:3a7713b1edbc | 50 | * @param none |
AnnaBridge | 171:3a7713b1edbc | 51 | * @return none |
AnnaBridge | 171:3a7713b1edbc | 52 | * |
AnnaBridge | 171:3a7713b1edbc | 53 | * @brief Updates the SystemCoreClock with current core Clock |
AnnaBridge | 171:3a7713b1edbc | 54 | * retrieved from cpu registers. |
AnnaBridge | 171:3a7713b1edbc | 55 | */ |
AnnaBridge | 171:3a7713b1edbc | 56 | extern void SystemCoreClockUpdate (void); |
AnnaBridge | 171:3a7713b1edbc | 57 | |
AnnaBridge | 171:3a7713b1edbc | 58 | #ifdef __cplusplus |
AnnaBridge | 171:3a7713b1edbc | 59 | } |
AnnaBridge | 171:3a7713b1edbc | 60 | #endif |
AnnaBridge | 171:3a7713b1edbc | 61 | |
AnnaBridge | 171:3a7713b1edbc | 62 | #endif /* SYSTEM_ARMCM3_H */ |