![]() |
ISF
2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
|
fsl_pit_driver.h defines structures and types for the PIT driver. More...
Go to the source code of this file.
Data Structures | |
struct | PitUserConfig |
PIT timer configuration structure. More... | |
Typedefs | |
typedef struct PitUserConfig | pit_user_config_t |
PIT timer configuration structure. More... | |
typedef void(* | pit_isr_callback_t )(void) |
PIT ISR callback function typedef. More... | |
Functions | |
void | pit_init_module (bool isRunInDebug) |
Initialize PIT module. More... | |
void | pit_init_channel (uint32_t timer, const pit_user_config_t *config) |
Initialize PIT channel. More... | |
void | pit_shutdown (void) |
Disable PIT module and gate control. More... | |
void | pit_timer_start (uint32_t timer) |
Start timer counting. More... | |
void | pit_timer_stop (uint32_t timer) |
Stop timer counting. More... | |
void | pit_set_timer_period_us (uint32_t timer, uint32_t us) |
Set timer period in microsecond units. More... | |
uint32_t | pit_read_timer_us (uint32_t timer) |
Read current timer value in microsecond units. More... | |
void | pit_init (bool bEnableirq, uint32 usec) |
Complete initialization of the PIT timer. More... | |
void | pit_register_isr_callback_function (uint32_t timer, pit_isr_callback_t function) |
Register pit isr callback function. More... | |
fsl_pit_driver.h defines structures and types for the PIT driver.
File: fsl_pit_driver.h
Copyright (c) 2014, Freescale Semiconductor, Inc.
Definition in file fsl_pit_driver.h.