= {
{
}
}
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...
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...
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)...
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...
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...
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.
LDD_TError BMTimer1_Disable(LDD_TDeviceData *DeviceDataPtr)
Disables the component - it stops signal generation and events calling. The method is not available i...
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...
LDD_TError(* fnTUDisable_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit disable.