![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
Provides a simple abstraction for a periodic interval timer. More...
Go to the source code of this file.
Functions | |
void | pit_init (uint32_t microseconds) |
Variables | |
volatile bool | pitIsrFlag |
Provides a simple abstraction for a periodic interval timer.
Bare metal implementations of the sensor fusion library require at least one periodic interrupt for use as a timebase for sensor fusion functions. The Periodic Interval Timer (PIT) is one such module that is commonly found on NXP Kinetis MCUs. The PIT functions are only referenced at the main() level. There is no interaction within the fusion routines themselves.
Definition in file driver_pit.h.
void pit_init | ( | uint32_t | microseconds | ) |
Definition at line 64 of file driver_ctimer.c.
References BUS_CLK_FREQ, CTIMER, PIT_IRQ_ID, and PIT_SOURCE_CLOCK.
Referenced by main().
volatile bool pitIsrFlag |
Definition at line 49 of file driver_ctimer.c.
Referenced by ctimer_callback(), main(), and PIT_LED_HANDLER().