Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
109:9296ab0bfc11
.

Who changed what in which revision?

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