You are on page 1of 2

1 /******************************************************************************

2 * @file system_XMC1300.h
3 * @brief Device specific initialization for the XMC1300-Series according
4 * to CMSIS
5 * @version V1.2
6 * @date 19 Jul 2013
7 *
8 * @note
9 * Copyright (C) 2012-2013 Infineon Technologies AG. All rights reserved.
10
11 *
12 * @par
13 * Infineon Technologies AG (Infineon) is supplying this software for use with
14 * Infineon’s microcontrollers.
15 *
16 * This file can be freely distributed within development tools that are
17 * supporting such microcontrollers.
18 *
19 *
20 * @par
21 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
22 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
23 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
24 * INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
25 * OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
26 *
27 ******************************************************************************/
28 /*
29 * *************************** Change history *********************************
30 * V1.1, 13 Dec 2012, PKB, Created this table, added extern and stdint
31 * V1.2, 19 Jul 2013, PKB, Added header guard, BootROM header, C++ support
32 */
33 #ifndef SYSTEM_XMC1300_H
34 #define SYSTEM_XMC1300_H
35
36 /*******************************************************************************
37 * HEADER FILES
38 *******************************************************************************/
39
40 #include <stdint.h>
41
42 /*******************************************************************************
43 * GLOBAL VARIABLES
44 *******************************************************************************/
45
46 extern uint32_t SystemCoreClock;
47
48 /*******************************************************************************
49 * API PROTOTYPES
50 *******************************************************************************/
51
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55
56 /**
57 * @brief Initialize the system
58 *
59 */
60 void SystemInit(void);
61
62 /**
63 * @brief Initialize CPU settings
64 *
65 */
66 void SystemCoreSetup(void);
67
68 /**
69 * @brief Initialize clock
70 *
71 */
72 void SystemCoreClockSetup(void);
73
74 /**
75 * @brief Update SystemCoreClock variable
76 *
77 */
78 void SystemCoreClockUpdate(void);
79
80 #ifdef __cplusplus
81 }
82 #endif
83
84 #endif
85

You might also like