| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Events.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** Filename : Events.c
3 ** Project : ISF2P2_K64F_MQX_PROJ
4 ** Processor : MK64FN1M0VLL12
5 ** Component : Events
6 ** Version : Driver 01.00
7 ** Compiler : GNU C Compiler
8 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
9 ** Abstract :
10 ** This is user's event module.
11 ** Put your event handler code here.
12 ** Settings :
13 ** Contents :
14 ** ADC1_IRQHandler - void ADC1_IRQHandler(void);
15 ** BMTIMER1_IRQHandler - void BMTIMER1_IRQHandler();
16 ** ISF_SPI1_IRQHandler - void ISF_SPI1_IRQHandler(void);
17 ** ISF_I2C1_IRQHandler - void ISF_I2C1_IRQHandler(void);
18 **
19 ** ###################################################################*/
20 /*!
21 ** @file Events.c
22 ** @version 01.00
23 ** @brief
24 ** This is user's event module.
25 ** Put your event handler code here.
26 */
27 /*!
28 ** @addtogroup Events_module Events module documentation
29 ** @{
30 */
31 /* MODULE Events */
32
33 #include "Cpu.h"
34 #include "Events.h"
35 #include "rtos_main_task.h"
36 #include "os_tasks.h"
37 #include "App1_Functions.h"
38 #include "BasicApp1_Functions.h"
39 #include "fsl_Sensor_Custom_1_Functions.h"
40 #include "fsl_Sensor_Analog_1_Functions.h"
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45
46
47 /* User includes (#include below this line is not maintained by Processor Expert) */
48
49 /*! ADC1 IRQ handler */
50 void ADC1_IRQHandler(void)
51 {
52 /* Write your code here ... */
53 }
54
55 void BMTIMER1_IRQHandler(void)
56 {
57 /* Clear interrupt flag.*/
58 PIT_HAL_ClearIntFlag(g_pitBase[FSL_BMTIMER1], FSL_BMTIMER1_CHANNEL);
59 /* Write your code here ... */
60 }
61
62 /*! ISF_SPI1 IRQ handler */
63 void ISF_SPI1_IRQHandler(void)
64 {
65 #if ISF_SPI1_DMA_MODE
66 DSPI_DRV_EdmaIRQHandler(FSL_ISF_SPI1);
67 #else
68 DSPI_DRV_IRQHandler(FSL_ISF_SPI1);
69 #endif
70 /* Write your code here ... */
71 }
72
73 /*! ISF_I2C1 IRQ handler */
74 void ISF_I2C1_IRQHandler(void)
75 {
76 I2C_DRV_IRQHandler(FSL_ISF_I2C1);
77 }
78
79 /* END Events */
80
81 #ifdef __cplusplus
82 } /* extern "C" */
83 #endif
84
85 /*!
86 ** @}
87 */
88 /*
89 ** ###################################################################
90 **
91 ** This file was created by Processor Expert 10.5 [05.21]
92 ** for the Freescale Kinetis series of microcontrollers.
93 **
94 ** ###################################################################
95 */
Cpu.h
FSL_ISF_I2C1
#define FSL_ISF_I2C1
Device instance number.
Definition: ISF_I2C1.h:91
fsl_Sensor_Analog_1_Functions.h
This is user's event module. Put your event handler code here.
App1_Functions.h
This is user's event module. Put your event handler code here.
FSL_ISF_SPI1
#define FSL_ISF_SPI1
Device instance number.
Definition: ISF_SPI1.h:79
FSL_BMTIMER1_CHANNEL
#define FSL_BMTIMER1_CHANNEL
PIT timer channel.
Definition: BMTIMER1.h:79
FSL_BMTIMER1
#define FSL_BMTIMER1
Device instance number.
Definition: BMTIMER1.h:77
BMTIMER1_IRQHandler
void BMTIMER1_IRQHandler(void)
Definition: Events.c:55
Events.h
This is user's event module. Put your event handler code here.
BasicApp1_Functions.h
This is user's event module. Put your event handler code here.
fsl_Sensor_Custom_1_Functions.h
This is user's event module. Put your event handler code here.
ISF_I2C1_IRQHandler
void ISF_I2C1_IRQHandler(void)
Definition: Events.c:74
ISF_SPI1_IRQHandler
void ISF_SPI1_IRQHandler(void)
Definition: Events.c:63
ADC1_IRQHandler
void ADC1_IRQHandler(void)
Definition: Events.c:50
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.