| 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
isf_fsl_TU_PEx.h
Go to the documentation of this file.
1 /*
2 * isf_fsl_TU_PEx.h
3 *
4 * Created on: Jun 17, 2014
5 * Author: B46330
6 */
7
8 #ifndef ISF_FSL_TU_PEX_H_
9 #define ISF_FSL_TU_PEX_H_
10 #include "PE_Types.h"
11 #include "BMTimer1.h"
12 /**
13 * @brief This is the function pointer signature for Timer Unit initialization.
14 */
15 typedef LDD_TDeviceData* (*fnTUInit_t) (LDD_TUserData *UserDataPtr);
16
17 /**
18 * @brief This is the function pointer signature for Timer Unit de-initialization.
19 */
20 typedef void (*fnTUDeinit_t) (LDD_TDeviceData *DeviceDataPtr);
21
22 /**
23 * @brief This is the function pointer signature for Timer Unit enable.
24 */
25 typedef LDD_TError (*fnTUEnable_t) (LDD_TDeviceData *DeviceDataPtr);
26
27 /**
28 * @brief This is the function pointer signature for Timer Unit disable.
29 */
30 typedef LDD_TError (*fnTUDisable_t) (LDD_TDeviceData *DeviceDataPtr);
31
32 /**
33 * @brief This is the function pointer signature for setting the Timer Unit period.
34 */
35 typedef LDD_TError (*fnTUSetPeriodTicks_t) (LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks);
36
37 /**
38 * @brief This is the the function pointer signature for retrieving the Timer Unit period.
39 */
40 typedef LDD_TError (*fnTUGetPeriodTicks_t) (LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr);
41
42 /**
43 * @brief This is the the function pointer signature for resetting the Timer Unit counter.
44 */
45 typedef LDD_TError (*fnTUResetCounter_t) (LDD_TDeviceData *DeviceDataPtr);
46
47 /**
48 * @brief This is the the function pointer signature retrieving the Timer Unit counter.
49 */
50 typedef BMTimer1_TValueType (*fnTUGetCounterValue_t) (LDD_TDeviceData *DeviceDataPtr);
51
52 /**
53 * @brief This structure contains Timer Unit LLD function pointers.
54 */
55 typedef struct {
56 fnTUInit_t fnTULDDInit; /*!< Initialize a Timer Unit LDD component.*/
57 fnTUDeinit_t fnTULDDDeint; /*!< De-initialize a Timer Unit LDD component.*/
58 fnTUEnable_t fnTULDDEnable; /*!< Enable a Timer Unit LDD component.*/
59 fnTUDisable_t fnTULDDDisable; /*!< Disable a Timer Unit LDD component.*/
60 fnTUSetPeriodTicks_t fnTULDDSetPeriod; /*!< Set a Timer Unit period.*/
61 fnTUGetPeriodTicks_t fnTULDDGetPeriod; /*!< Get the Timer Unit period.*/
62 fnTUResetCounter_t fnTULDDResetCounter; /*!< Reset the Timer Unit counter.*/
63 fnTUGetCounterValue_t fnTULDDGetCounter; /*!< Get the current value of the Timer Unit counter.*/
64 } TU_instance_PEx_t;
65
66 extern const TU_instance_PEx_t TU_instance_tbl[];
67
68 #endif /* ISF_FSL_TU_PEX_H_ */
69
70
71
fnTUResetCounter_t
LDD_TError(* fnTUResetCounter_t)(LDD_TDeviceData *DeviceDataPtr)
This is the the function pointer signature for resetting the Timer Unit counter.
Definition: isf_fsl_TU_PEx.h:45
fnTUSetPeriodTicks_t
LDD_TError(* fnTUSetPeriodTicks_t)(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType Ticks)
This is the function pointer signature for setting the Timer Unit period.
Definition: isf_fsl_TU_PEx.h:35
TU_instance_PEx_t::fnTULDDDisable
fnTUDisable_t fnTULDDDisable
Definition: isf_fsl_TU_PEx.h:59
TU_instance_tbl
const TU_instance_PEx_t TU_instance_tbl[]
Definition: BM_pit_instance_tbl.h:2
fnTUGetCounterValue_t
BMTimer1_TValueType(* fnTUGetCounterValue_t)(LDD_TDeviceData *DeviceDataPtr)
This is the the function pointer signature retrieving the Timer Unit counter.
Definition: isf_fsl_TU_PEx.h:50
BMTimer1_TValueType
uint32_t BMTimer1_TValueType
Definition: BMTimer1.h:126
TU_instance_PEx_t
This structure contains Timer Unit LLD function pointers.
Definition: isf_fsl_TU_PEx.h:55
fnTUInit_t
LDD_TDeviceData *(* fnTUInit_t)(LDD_TUserData *UserDataPtr)
This is the function pointer signature for Timer Unit initialization.
Definition: isf_fsl_TU_PEx.h:15
TU_instance_PEx_t::fnTULDDResetCounter
fnTUResetCounter_t fnTULDDResetCounter
Definition: isf_fsl_TU_PEx.h:62
fnTUGetPeriodTicks_t
LDD_TError(* fnTUGetPeriodTicks_t)(LDD_TDeviceData *DeviceDataPtr, BMTimer1_TValueType *TicksPtr)
This is the the function pointer signature for retrieving the Timer Unit period.
Definition: isf_fsl_TU_PEx.h:40
BMTimer1.h
This TimerUnit component provides a low level API for unified hardware access across various timer de...
fnTUEnable_t
LDD_TError(* fnTUEnable_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit enable.
Definition: isf_fsl_TU_PEx.h:25
TU_instance_PEx_t::fnTULDDGetCounter
fnTUGetCounterValue_t fnTULDDGetCounter
Definition: isf_fsl_TU_PEx.h:63
fnTUDeinit_t
void(* fnTUDeinit_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit de-initialization.
Definition: isf_fsl_TU_PEx.h:20
TU_instance_PEx_t::fnTULDDSetPeriod
fnTUSetPeriodTicks_t fnTULDDSetPeriod
Definition: isf_fsl_TU_PEx.h:60
TU_instance_PEx_t::fnTULDDEnable
fnTUEnable_t fnTULDDEnable
Definition: isf_fsl_TU_PEx.h:58
TU_instance_PEx_t::fnTULDDDeint
fnTUDeinit_t fnTULDDDeint
Definition: isf_fsl_TU_PEx.h:57
fnTUDisable_t
LDD_TError(* fnTUDisable_t)(LDD_TDeviceData *DeviceDataPtr)
This is the function pointer signature for Timer Unit disable.
Definition: isf_fsl_TU_PEx.h:30
TU_instance_PEx_t::fnTULDDInit
fnTUInit_t fnTULDDInit
Definition: isf_fsl_TU_PEx.h:56
TU_instance_PEx_t::fnTULDDGetPeriod
fnTUGetPeriodTicks_t fnTULDDGetPeriod
Definition: isf_fsl_TU_PEx.h:61
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.