Kinetis Bootloader  2.0.0
Common bootloader for Kinetis devices
system_MK80F25615.h
1 /*
2 ** ###################################################################
3 ** Processor: MK80FN256VLQR
4 ** Compilers: ARM Compiler
5 ** Freescale C/C++ for Embedded ARM
6 ** GNU C Compiler
7 ** IAR ANSI C/C++ Compiler for ARM
8 **
9 ** Reference manual: K66P144M180SF5RM, Rev.1, Draft C, June 2013
10 ** Version: rev. 1.0, 2014-06-13
11 **
12 ** Abstract:
13 ** Provides a system configuration function and a global variable that
14 ** contains the system frequency. It configures the device and initializes
15 ** the oscillator (PLL) that is part of the microcontroller device.
16 **
17 ** Copyright: 2014 Freescale, Inc. All Rights Reserved.
18 **
19 ** http: www.freescale.com
20 ** mail: support@freescale.com
21 **
22 ** Revisions:
23 ** - rev. 1.0 (2014-06-13)
24 ** Initial version.
25 **
26 ** ###################################################################
27 */
28 
40 #ifndef _SYSTEM_MK80F256_H_
41 #define _SYSTEM_MK80F256_H_
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
47 #include <stdint.h>
48 #include <stdbool.h>
49 #define DEFAULT_SYSTEM_CLOCK 20971520u /* Default System clock value */
50 
60 extern uint32_t SystemCoreClock;
61 
69 void SystemInit(void);
70 
78 void SystemCoreClockUpdate(void);
79 void SystemConfigureClocks(uint32_t clkdiv1, bool enableUsb);
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* #if !defined(_SYSTEM_MK80F256_H_) */