ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
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"
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 
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 */
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 */
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 */
#define FSL_ISF_I2C1
Device instance number.
Definition: ISF_I2C1.h:91
This is user's event module. Put your event handler code here.
This is user's event module. Put your event handler code here.
#define FSL_ISF_SPI1
Device instance number.
Definition: ISF_SPI1.h:79
#define FSL_BMTIMER1_CHANNEL
PIT timer channel.
Definition: BMTIMER1.h:79
#define FSL_BMTIMER1
Device instance number.
Definition: BMTIMER1.h:77
void BMTIMER1_IRQHandler(void)
Definition: Events.c:55
This is user's event module. Put your event handler code here.
This is user's event module. Put your event handler code here.
This is user's event module. Put your event handler code here.
void ISF_I2C1_IRQHandler(void)
Definition: Events.c:74
void ISF_SPI1_IRQHandler(void)
Definition: Events.c:63
void ADC1_IRQHandler(void)
Definition: Events.c:50