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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

ISFBusManager1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : ISFBusManager1.c
4 ** CDE edition : Standard
5 ** Project : ISF2P2_K64F_MQX_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_KSDK_BusManager
8 ** Version : Component 02.500, Driver 01.00, CPU db: 3.00.000
9 ** Repository : My Components
10 ** Compiler : GNU C Compiler
11 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
12 ** Abstract :
13 **
14 ** Settings :
15 ** Component Name : ISFBusManager1
16 ** HWTimer : PIT0
17 ** BMTIMER : fsl_pit
18 ** Contents :
19 ** No public methods
20 **
21 ** (c) Copyright <company/user-name>, 2015,
22 http://www.<company>.com
23 mail: info@<company>.com
24 ** ###################################################################*/
25 /*!
26 ** @file ISFBusManager1.c
27 ** @version 01.00
28 ** @brief
29 **
30 */
31 /*!
32 ** @addtogroup ISFBusManager1_module ISFBusManager1 module documentation
33 ** @{
34 */
35
36 /* MODULE ISFBusManager1. */
37
38 #include "ISFBusManager1.h"
39 #include "BM_pit_instance.h"
40
41
42 // Declare externs to variables for PIT instance constants.
43 uint32 bmPITInstance = ISF_BM_PIT_INSTANCE;
44 uint32 bmRolloverPeriod = BM_ROLLOVER_PERIOD;
45
46 void Timer_IRQHandler(void);
47 extern void isr_bm_callback_tmr (void *dummy);
48
49 void bm_timer_init(void)
50 {
51 OSA_InstallIntHandler(PIT0_IRQn, Timer_IRQHandler);
52 NVIC_SetPriority(PIT0_IRQn, 7U);
53 }
54
55
56
57 void Timer_IRQHandler(void)
58 {
59 PIT_HAL_ClearIntFlag(g_pitBase[ISF_BM_PIT_INSTANCE], ISF_BM_PIT_CHANNEL_NO);
60 isr_bm_callback_tmr(0);
61 }
62
63
64 /* END ISFBusManager1. */
65
66 /*!
67 ** @}
68 */
69 /*
70 ** ###################################################################
71 **
72 ** This file was created by Processor Expert 10.5 [05.21]
73 ** for the Freescale Kinetis series of microcontrollers.
74 **
75 ** ###################################################################
76 */
bmPITInstance
uint32 bmPITInstance
Definition: ISFBusManager1.c:43
isr_bm_callback_tmr
void isr_bm_callback_tmr(void *dummy)
Definition: bus_management.c:570
ISF_BM_PIT_INSTANCE
#define ISF_BM_PIT_INSTANCE
Definition: BM_pit_instance.h:16
bm_timer_init
void bm_timer_init(void)
Definition: ISFBusManager1.c:49
BM_pit_instance.h
header for current pit instance.
ISFBusManager1.h
BM_ROLLOVER_PERIOD
#define BM_ROLLOVER_PERIOD
Definition: BM_pit_instance.h:21
bmRolloverPeriod
uint32 bmRolloverPeriod
Definition: ISFBusManager1.c:44
Timer_IRQHandler
void Timer_IRQHandler(void)
Definition: ISFBusManager1.c:57
uint32
unsigned long int uint32
Definition: isf_types.h:78
ISF_BM_PIT_CHANNEL_NO
#define ISF_BM_PIT_CHANNEL_NO
Definition: BM_pit_instance.h:17
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.