X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=FreeRTOS%2FDemo%2FCORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC%2FKeil_Specific%2Fsystem_XMC1300.h;fp=FreeRTOS%2FDemo%2FCORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC%2FKeil_Specific%2Fsystem_XMC1300.h;h=eaf710d379e528ac56c2af801b7a2c2a159a01d9;hb=64ac3ffbbbd7e31b31093b5d91effec7f9e8123b;hp=0000000000000000000000000000000000000000;hpb=f0dd0fbf1bae663e9594b7a08badb745d6ed953c;p=freertos diff --git a/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/Keil_Specific/system_XMC1300.h b/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/Keil_Specific/system_XMC1300.h new file mode 100644 index 000000000..eaf710d37 --- /dev/null +++ b/FreeRTOS/Demo/CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC/Keil_Specific/system_XMC1300.h @@ -0,0 +1,84 @@ +/****************************************************************************** + * @file system_XMC1300.h + * @brief Device specific initialization for the XMC1300-Series according + * to CMSIS + * @version V1.2 + * @date 19 Jul 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. + * + ******************************************************************************/ +/* + * *************************** Change history ********************************* + * V1.1, 13 Dec 2012, PKB, Created this table, added extern and stdint + * V1.2, 19 Jul 2013, PKB, Added header guard, BootROM header, C++ support + */ +#ifndef SYSTEM_XMC1300_H +#define SYSTEM_XMC1300_H + +/******************************************************************************* + * HEADER FILES + *******************************************************************************/ + +#include + +/******************************************************************************* + * GLOBAL VARIABLES + *******************************************************************************/ + +extern uint32_t SystemCoreClock; + +/******************************************************************************* + * API PROTOTYPES + *******************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief Initialize the system + * + */ +void SystemInit(void); + +/** + * @brief Initialize CPU settings + * + */ +void SystemCoreSetup(void); + +/** + * @brief Initialize clock + * + */ +void SystemCoreClockSetup(void); + +/** + * @brief Update SystemCoreClock variable + * + */ +void SystemCoreClockUpdate(void); + +#ifdef __cplusplus +} +#endif + +#endif