iLLD_TC27xC
1.0
IfxGtm_Tim.h
Go to the documentation of this file.
1
/**
2
* \file IfxGtm_Tim.h
3
* \brief GTM basic functionality
4
* \ingroup IfxLld_Gtm
5
*
6
* \version iLLD_0_1_0_10
7
* \copyright Copyright (c) 2013 Infineon Technologies AG. All rights reserved.
8
*
9
*
10
* IMPORTANT NOTICE
11
*
12
*
13
* Infineon Technologies AG (Infineon) is supplying this file for use
14
* exclusively with Infineon's microcontroller products. This file can be freely
15
* distributed within development tools that are supporting such microcontroller
16
* products.
17
*
18
* THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
19
* OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
20
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
21
* INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
22
* OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
23
*
24
*
25
*
26
* \defgroup IfxLld_Gtm_Std_Tim TIM Basic Functionality
27
* \ingroup IfxLld_Gtm_Std
28
* \defgroup IfxLld_Gtm_Std_Tim_Enumerations TIM Enumerations
29
* \ingroup IfxLld_Gtm_Std_Tim
30
*/
31
32
#ifndef IFXGTM_TIM_H
33
#define IFXGTM_TIM_H 1
34
35
/******************************************************************************/
36
/*----------------------------------Includes----------------------------------*/
37
/******************************************************************************/
38
39
#include "
_Impl/IfxGtm_cfg.h
"
40
41
/******************************************************************************/
42
/*--------------------------------Enumerations--------------------------------*/
43
/******************************************************************************/
44
45
/** \addtogroup IfxLld_Gtm_Std_Tim_Enumerations
46
* \{ */
47
typedef
enum
48
{
49
IfxGtm_Tim_CntsSel_cntReg
= 0,
50
IfxGtm_Tim_CntsSel_tbuTs0
51
}
IfxGtm_Tim_CntsSel
;
52
53
/** \brief Enum for Filter counter
54
*/
55
typedef
enum
56
{
57
IfxGtm_Tim_FilterCounter_upDown
= 0,
58
IfxGtm_Tim_FilterCounter_hold
59
}
IfxGtm_Tim_FilterCounter
;
60
61
/** \brief Enum for Filter mode
62
*/
63
typedef
enum
64
{
65
IfxGtm_Tim_FilterMode_immediateEdge
= 0,
/**< \brief Immediate edge mode */
66
IfxGtm_Tim_FilterMode_individualDeglitch
/**< \brief Individual deglitch mode */
67
}
IfxGtm_Tim_FilterMode
;
68
69
typedef
enum
70
{
71
IfxGtm_Tim_GprSel_tbuTs0
= 0,
72
IfxGtm_Tim_GprSel_tbuTs1
,
73
IfxGtm_Tim_GprSel_tbuTs2
,
74
IfxGtm_Tim_GprSel_cnts
75
}
IfxGtm_Tim_GprSel
;
76
77
typedef
enum
78
{
79
IfxGtm_Tim_Input_external
= 0,
80
IfxGtm_Tim_Input_adjacent
81
}
IfxGtm_Tim_Input
;
82
83
typedef
enum
84
{
85
IfxGtm_Tim_Mode_pwmMeasurement
= 0,
/**< \brief TPWM */
86
IfxGtm_Tim_Mode_pulseIntegration
,
/**< \brief TPIM */
87
IfxGtm_Tim_Mode_inputEvent
,
/**< \brief TIEM */
88
IfxGtm_Tim_Mode_inputPrescaler
,
/**< \brief TIPM */
89
IfxGtm_Tim_Mode_bitCompression
/**< \brief TBCM */
90
}
IfxGtm_Tim_Mode
;
91
92
/** \} */
93
94
#endif
/* IFXGTM_TIM_H */
home
mclld
Libraries
release
iLLD_0_1_0_10
src
ifx
TC27xC
Gtm
Std
IfxGtm_Tim.h
Generated by
1.8.4