mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Fri Sep 04 09:30:10 2015 +0100
Revision:
619:034e698bc035
Parent:
targets/cmsis/TARGET_WIZNET/TARGET_W7500x/TARGET_WIZwiki_W7500/system_W7500x.h@558:0880f51c4036
Synchronized with git revision 92d1bfad30082571776c810a56fd471d30514ccf

Full URL: https://github.com/mbedmicro/mbed/commit/92d1bfad30082571776c810a56fd471d30514ccf/

Change directory structure and move files.

Who changed what in which revision?

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