| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
bm_timer.c File Reference
`#include "isf_target.h"`
`#include "isf.h"`
`#include "fsl_pit_hal.h"`
`#include "fsl_pit_driver.h"`
`#include "bm_internal.h"`
`#include "bm_timer.h"`
Include dependency graph for bm_timer.c:

Go to the source code of this file.

## Functions
void | bm_timer_init (boolean bEnableirq, uint32 usec)
| Timer initialization . More...

## Function Documentation

void bm_timer_init | ( | boolean | bEnableirq,
|  | uint32 | usec
| ) |  |

Timer initialization
.

Parameters

  bEnableirq | - [in] TRUE to enable timer interrupt
  usec | - [in] Initial time in usec to program in timer

Returns

Errors:

Constraints:

Reentrant: No.

Link Libraries:

See also

Definition at line 31 of file bm_timer.c.

References FALSE, ISF_BM_PIT_INSTANCE, PitUserConfig::isInterruptEnabled, pit_hal_clear_interrupt_flag(), pit_init(), pit_init_channel(), pit_init_module(), pit_set_timer_period_us(), and pit_timer_stop().

Referenced by bm_init().

Here is the call graph for this function:

Here is the caller graph for this function:
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.