ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
Cpu.h
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : Cpu.h
4 ** Project : ISF2P2_K64F_MQX_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : MK64FN1M0LL12_4SDK
7 ** Version : Component 1.2.0, Driver 01.00, CPU db: 3.00.000
8 ** Repository : KSDK 1.2.0
9 ** Datasheet : K64P144M120SF5RM, Rev.2, January 2014
10 ** Compiler : GNU C Compiler
11 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
12 ** Abstract :
13 **
14 ** Settings :
15 **
16 ** Contents :
17 ** SystemInit - void SystemInit(void);
18 ** SystemCoreClockUpdate - void SystemCoreClockUpdate(void);
19 **
20 ** (c) Freescale Semiconductor, Inc.
21 ** 2004 All Rights Reserved
22 **
23 ** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
24 ** All Rights Reserved.
25 **
26 ** Redistribution and use in source and binary forms, with or without modification,
27 ** are permitted provided that the following conditions are met:
28 **
29 ** o Redistributions of source code must retain the above copyright notice, this list
30 ** of conditions and the following disclaimer.
31 **
32 ** o Redistributions in binary form must reproduce the above copyright notice, this
33 ** list of conditions and the following disclaimer in the documentation and/or
34 ** other materials provided with the distribution.
35 **
36 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
37 ** contributors may be used to endorse or promote products derived from this
38 ** software without specific prior written permission.
39 **
40 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
41 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
42 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
44 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
45 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
46 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
47 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
49 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50 **
51 ** http: www.freescale.com
52 ** mail: support@freescale.com
53 ** ###################################################################*/
54 /*!
55 ** @file Cpu.h
56 ** @version 01.00
57 ** @brief
58 **
59 */
60 /*!
61 ** @addtogroup Cpu_module Cpu module documentation
62 ** @{
63 */
64 
65 #ifndef __Cpu_H
66 #define __Cpu_H
67 
68 /* MODULE Cpu. */
69 
70 /*Include shared modules, which are used for whole project*/
71 #include "fsl_device_registers.h"
72 #include "fsl_clock_manager.h"
73 #include "fsl_mcg_hal.h"
74 #include "fsl_sim_hal.h"
75 #include "fsl_osc_hal.h"
76 #include "fsl_rtc_hal.h"
77 #include "fsl_port_hal.h"
78 #include "fsl_interrupt_manager.h"
79 #include "fsl_uart_hal.h"
80 #include "fsl_uart_driver.h"
81 #include "fsl_mpu_hal.h"
82 #include "fsl_mpu_driver.h"
83 #include "fsl_hwtimer.h"
84 #include "fsl_os_abstraction.h"
85 #include "osa1.h"
86 #include "fsl_i2c_hal.h"
87 #include "fsl_i2c_master_driver.h"
88 #include "fsl_i2c_slave_driver.h"
89 #include "fsl_i2c_shared_function.h"
90 #include "fsl_dspi_hal.h"
91 #include "fsl_dspi_master_driver.h"
92 #include "fsl_dspi_slave_driver.h"
93 #include "fsl_dspi_shared_function.h"
94 #include "fsl_gpio_hal.h"
95 #include "fsl_gpio_driver.h"
96 #include "fsl_adc16_hal.h"
97 #include "fsl_adc16_driver.h"
98 #include "fsl_pit_hal.h"
99 #include "fsl_pit_driver.h"
100 #include <assert.h>
101 
102 #ifdef __cplusplus
103 extern "C" {
104 #endif
105 
106 #define CPU_PERIPHERALS_INIT 0x00U /* Peripherals_Init() method is not called in PE_low_level_init() */
107 #define CPU_COMPONENTS_INIT 0x01U /* Call Components_Init() method in PE_low_level_init() */
108 #define CPU_INIT_CONFIG 0x00U /* Do not include Init_Config.h in the main.c file */
109 #define CPU_HARDWARE_INIT 0x01U /* Call hardware_init() method in PE_low_level_init() */
110 
111 /*
112 ** ===================================================================
113 ** Method : Common_Init (component MK64FN1M0LL12_4SDK)
114 ** Description :
115 ** Initialization of registers for that there is no
116 ** initialization component.
117 ** Parameters : None
118 ** Returns : Nothing
119 ** ===================================================================
120 */
121 #if CPU_COMMON_INIT
122 void Common_Init(void);
123 #endif /* CPU_COMMON_INIT */
124 
125 /*
126 ** ===================================================================
127 ** Method : Components_Init (component MK64FN1M0LL12_4SDK)
128 ** Description :
129 ** Initialization of components (with exception for Peripheral
130 ** Initialization Components which are initialized in
131 ** Peripherals_Init() method).
132 ** For example, if automatic initialization feature
133 ** is enabled in LDD component then its Init method call
134 ** is executed in Components_Init() method.
135 ** Parameters : None
136 ** Returns : Nothing
137 ** ===================================================================
138 */
139 #if CPU_COMPONENTS_INIT
140 void Components_Init(void);
141 #endif /* CPU_COMPONENTS_INIT */
142 
143 /*
144 ** ===================================================================
145 ** Method : PE_low_level_init (component MK64FN1M0LL12_4SDK)
146 **
147 ** Description :
148 ** Initializes components and provides common register
149 ** initialization. The method is called automatically as a part
150 ** of the application initialization code.
151 ** This method is internal. It is used by Processor Expert only.
152 ** ===================================================================
153 */
154 extern void PE_low_level_init(void);
155 
156 
157 
158 #ifdef __cplusplus
159 }
160 #endif
161 
162 /* END Cpu. */
163 
164 #endif
165 /* __Cpu_H */
166 
167 /*!
168 ** @}
169 */
170 /*
171 ** ###################################################################
172 **
173 ** This file was created by Processor Expert 10.5 [05.21]
174 ** for the Freescale Kinetis series of microcontrollers.
175 **
176 ** ###################################################################
177 */
void Components_Init(void)
Definition: Cpu.c:113
void PE_low_level_init(void)