| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
PitUserConfig Struct Reference
Pit_driver

PIT timer configuration structure. More...

`#include <fsl_pit_driver.h>`

Collaboration diagram for PitUserConfig:

## Data Fields
bool | isInterruptEnabled
bool | isTimerChained
uint32_t | periodUs

## Detailed Description

PIT timer configuration structure.

Define structure PitConfig and use pit_init_channel() to make necessary initializations. You may also use remaining functions for PIT configuration.

Note
  the timer chain feature is not valid in all devices, please check fsl_pit_features.h for accurate setting. If it's not valid, the value set here will be bypassed inside function pit_init_channel().

Definition at line 38 of file fsl_pit_driver.h.

## Field Documentation

bool isInterruptEnabled

Timer interrupt 0-disable/1-enable

Definition at line 39 of file fsl_pit_driver.h.

Referenced by bm_start(), bm_timer_init(), pit_init(), and pit_init_channel().

bool isTimerChained

Chained with previous timer, 0-not/1-chained

Definition at line 40 of file fsl_pit_driver.h.

uint32_t periodUs

Timer period in unit of microseconds

Definition at line 41 of file fsl_pit_driver.h.

Referenced by pit_init_channel().

The documentation for this struct was generated from the following file:

- ISF/Bus_Manager/Include/fsl_pit_driver.h

- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.