56 lines
1.8 KiB
C
56 lines
1.8 KiB
C
/******************************************************************************
|
||
* @file system_tle986x.h
|
||
* @brief Device specific initialization for the TLE986x-Series according
|
||
* to CMSIS
|
||
* @version V0.01
|
||
* @date 15 Oct 2013
|
||
*
|
||
* @note
|
||
* Copyright (C) 2012-2013 Infineon Technologies AG. All rights reserved.
|
||
|
||
*
|
||
* @par
|
||
* Infineon Technologies AG (Infineon) is supplying this software for use with
|
||
* Infineon’s microcontrollers.
|
||
*
|
||
* This file can be freely distributed within development tools that are
|
||
* supporting such microcontrollers.
|
||
*
|
||
*
|
||
* @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.
|
||
* INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
|
||
* OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
|
||
*
|
||
******************************************************************************/
|
||
|
||
#ifndef __SYSTEM_TLE986x_H
|
||
#define __SYSTEM_TLE986x_H
|
||
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
/*----------------------------------------------------------------------------
|
||
Define clocks
|
||
*----------------------------------------------------------------------------*/
|
||
#define XTAL ( 5000000UL) /* Oscillator frequency */
|
||
#define OSC_CLK ( XTAL) /* Main oscillator frequency */
|
||
|
||
/**
|
||
* Initialize the system
|
||
*
|
||
* @param none
|
||
* @return none
|
||
*
|
||
* @brief Setup the microcontroller system.
|
||
* Initialize the System and update the SystemFrequency variable.
|
||
*/
|
||
extern void SystemInit (void);
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|
||
|
||
#endif /* __SYSTEM_TLE986x_H */
|