ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
BM_pit_instance_tbl.h
Go to the documentation of this file.
1 
3  {
5  .fnTULDDDeint = (fnTUDeinit_t)&BMTimer1_Deinit,
6  .fnTULDDEnable = (fnTUEnable_t)&BMTimer1_Enable,
7  .fnTULDDDisable = (fnTUDisable_t)&BMTimer1_Disable,
8  .fnTULDDSetPeriod = (fnTUSetPeriodTicks_t)&BMTimer1_SetPeriodTicks,
9  .fnTULDDGetPeriod = (fnTUGetPeriodTicks_t)&BMTimer1_GetPeriodTicks,
10  .fnTULDDResetCounter = (fnTUResetCounter_t)&BMTimer1_ResetCounter,
11  .fnTULDDGetCounter = (fnTUGetCounterValue_t)&BMTimer1_GetCounterValue,
12  }
13 };
14 
15 
16 
17 
18 
19 
20 
21 
LDD_TError(* fnTUResetCounter_t)(LDD_TDeviceData *DeviceDataPtr)
This is the the function pointer signature for resetting the Timer Unit counter.
LDD_TError(* fnTUSetPeriodTicks_t)(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks)
This is the function pointer signature for setting the Timer Unit period.
LDD_TDeviceData * BMTimer1_Init(LDD_TUserData *UserDataPtr)
Initializes the device. Allocates memory for the device data structure, allocates interrupt vectors a...
Definition: BMTimer1.c:155
LDD_TError BMTimer1_ResetCounter(LDD_TDeviceData *DeviceDataPtr)
Resets counter. If counter is counting up then it is set to zero. If counter is counting down then co...
Definition: BMTimer1.c:356
BMTimer1_TValueType(* fnTUGetCounterValue_t)(LDD_TDeviceData *DeviceDataPtr)
This is the the function pointer signature retrieving the Timer Unit counter.
LDD_TError BMTimer1_Enable(LDD_TDeviceData *DeviceDataPtr)
Enables the component - it starts the signal generation. Events may be generated (see SetEventMask)...
Definition: BMTimer1.c:237
This structure contains Timer Unit LLD function pointers.
LDD_TDeviceData *(* fnTUInit_t)(LDD_TUserData *UserDataPtr)
This is the function pointer signature for Timer Unit initialization.
LDD_TError(* fnTUGetPeriodTicks_t)(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr)
This is the the function pointer signature for retrieving the Timer Unit period.
BMTimer1_TValueType BMTimer1_GetCounterValue(LDD_TDeviceData *DeviceDataPtr)
Returns the content of counter register. This method can be used both if counter is enabled and if co...
Definition: BMTimer1.c:387
LDD_TError(* fnTUEnable_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit enable.
void(* fnTUDeinit_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit de-initialization.
void BMTimer1_Deinit(LDD_TDeviceData *DeviceDataPtr)
Deinitializes the device. Switches off the device, frees the device data structure memory...
Definition: BMTimer1.c:201
LDD_TError BMTimer1_GetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr)
Returns the number of counter ticks before re-initialization. See also method [SetPeriodTicks]. This method is available only if the property ["Counter restart"] is switched to 'on-match' value.
Definition: BMTimer1.c:328
LDD_TError BMTimer1_Disable(LDD_TDeviceData *DeviceDataPtr)
Disables the component - it stops signal generation and events calling. The method is not available i...
Definition: BMTimer1.c:263
const TU_instance_PEx_t TU_instance_tbl[]
LDD_TError BMTimer1_SetPeriodTicks(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks)
The method sets timer re-initialization period (in timer ticks). This method is available only if the...
Definition: BMTimer1.c:297
LDD_TError(* fnTUDisable_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit disable.
fnTUInit_t fnTULDDInit