ISSDK  1.8
IoT Sensing Software Development Kit
driver_pit.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015, Freescale Semiconductor, Inc.
3  * Copyright 2016-2017 NXP
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 /*! \file driver_pit.h
10  \brief Provides a simple abstraction for a periodic interval timer.
11 
12  Bare metal implementations of the sensor fusion library require at least
13  one periodic interrupt for use as a timebase for sensor fusion functions.
14  The Periodic Interval Timer (PIT) is one such module that is commonly
15  found on NXP Kinetis MCUs. The PIT functions are only referenced at the
16  main() level. There is no interaction within the fusion routines themselves.
17 */
18 
19 
20 #ifndef SENSOR_FUSION_INCLUDES_DRIVER_PIT_H_
21 #define SENSOR_FUSION_INCLUDES_DRIVER_PIT_H_
22 
23 void pit_init(uint32_t microseconds);
24 extern volatile bool pitIsrFlag;
25 
26 
27 #endif /* SENSOR_FUSION_INCLUDES_DRIVER_PIT_H_ */
void pit_init(uint32_t microseconds)
Definition: driver_ctimer.c:64
volatile bool pitIsrFlag
Definition: driver_ctimer.c:49