text: /**************************************************************************//**
   * @file     system_CMSDK_CM0.c
   * @brief    CMSIS Cortex-M0 Device Peripheral Access Layer Source File for
   *           Device CMSDK
   * @version  V3.01
   * @date     06. March 2012
   *
   * @note
   * Copyright (C) 2010-2012 ARM Limited or its affiliates. All rights reserved.
   *
   * @par
   * ARM Limited (ARM) is supplying this software for use with Cortex-M
   * processor based microcontrollers.  This file can be freely distributed
   * within development tools that are supporting such ARM based processors.
   *
   * @par
   * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
   * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
   * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
   * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
   * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
   *
   ******************************************************************************/
  
  
  #include <stdint.h>
  #include "CMSDK_CM0.h"
  
  
  /*----------------------------------------------------------------------------
    DEFINES
   *----------------------------------------------------------------------------*/
  
  /*----------------------------------------------------------------------------
    Define clocks
   *----------------------------------------------------------------------------*/
  
  #define XTAL    (100000000UL)            /* Oscillator frequency               */
  
  
  /*----------------------------------------------------------------------------
    Clock Variable definitions
   *----------------------------------------------------------------------------*/
  uint32_t SystemFrequency = XTAL;    /*!< System Clock Frequency (Core Clock)  */
  uint32_t SystemCoreClock = XTAL;    /*!< Processor Clock Frequency            */
  
  
  /*----------------------------------------------------------------------------
    Clock functions
   *----------------------------------------------------------------------------*/
  void SystemCoreClockUpdate (void)            /* Get Core Clock Frequency      */
  {
    SystemCoreClock = XTAL;
  }
  
  /**
   * Initialize the system
   *
   * @param  none
   * @return none
   *
   * @brief  Setup the microcontroller system.
   *         Initialize the System.
   */
  void SystemInit (void)
  {
    SystemCoreClock = XTAL;
  }
  