ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
Main Page
Modules
Data Structures
Files
File List
Globals
BM_pit_instance.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright (c) 2015, Freescale Semiconductor, Inc.
4
*
5
*/
6
7
/*!
8
* @file BM_pit_instance.h
9
* @brief header for current pit instance.
10
*
11
*/
12
#ifndef BM_PIT_INSTANCE_H
13
#define BM_PIT_INSTANCE_H
14
#include "
BMTIMER1.h
"
15
16
#define ISF_BM_PIT_INSTANCE FSL_BMTIMER1
17
#define ISF_BM_PIT_CHANNEL_NO FSL_BMTIMER1_CHANNEL
18
#define ISF_BM_PIT_INSTANCER (clockMan1_InitConfig4)
19
#define BM_PIT_SCALER (24)
20
#define BM_PIT_SOURCE_CLK (24000000)
21
#define BM_ROLLOVER_PERIOD (0x100000000/BM_PIT_SCALER) // Guarantees that no period will exceed 32-bit hardware counter.
22
23
#endif //BM_PIT_INSTANCE_H
24
25
26
27
28
29
30
31
BMTIMER1.h
© Freescale Semiconductor, Inc. 2016. All Rights Reserved.