iLLD_TC27xD  1.0
IfxSent_cfg.h
Go to the documentation of this file.
1 /**
2  * \file IfxSent_cfg.h
3  * \brief SENT on-chip implementation data
4  * \ingroup IfxLld_Sent
5  *
6  * \version iLLD_1_0_0_11_0
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  * \defgroup IfxLld_Sent SENT
26  * \ingroup IfxLld
27  * \defgroup IfxLld_Sent_Impl Implementation
28  * \ingroup IfxLld_Sent
29  * \defgroup IfxLld_Sent_Std Standard Driver
30  * \ingroup IfxLld_Sent
31  */
32 
33 #ifndef IFXSENT_CFG_H
34 #define IFXSENT_CFG_H 1
35 
36 /******************************************************************************/
37 /*----------------------------------Includes----------------------------------*/
38 /******************************************************************************/
39 
40 /******************************************************************************/
41 /*-----------------------------------Macros-----------------------------------*/
42 /******************************************************************************/
43 
44 /** \brief Specifies all interrupt events
45  */
46 #define IFXSENT_CFG_CHANNEL_INTEN (0x1FEDU)
47 
48 /** \brief Specifies the step range for calculating module clock
49  */
50 #define IFXSENT_CFG_STEP_RANGE (1024)
51 
52 /** \brief Specifies timeout value in transmission
53  */
54 #define IFXSENT_CFG_TIMEOUT_VALUE ((uint16)0xFFFFU)
55 
56 #define IFXSENT_NUM_CHANNELS (10)
57 
58 /******************************************************************************/
59 /*-------------------------------Enumerations---------------------------------*/
60 /******************************************************************************/
61 
62 /** \brief Specifies the channel Id
63  */
64 typedef enum
65 {
66  IfxSent_ChannelId_0 = 0, /**< \brief Specifies the channel Id 0 */
67  IfxSent_ChannelId_1 = 1, /**< \brief Specifies the channel Id 1 */
68  IfxSent_ChannelId_2 = 2, /**< \brief Specifies the channel Id 2 */
69  IfxSent_ChannelId_3 = 3, /**< \brief Specifies the channel Id 3 */
70  IfxSent_ChannelId_4 = 4, /**< \brief Specifies the channel Id 4 */
71  IfxSent_ChannelId_5 = 5, /**< \brief Specifies the channel Id 5 */
72  IfxSent_ChannelId_6 = 6, /**< \brief Specifies the channel Id 6 */
73  IfxSent_ChannelId_7 = 7, /**< \brief Specifies the channel Id 7 */
74  IfxSent_ChannelId_8 = 8, /**< \brief Specifies the channel Id 8 */
75  IfxSent_ChannelId_9 = 9, /**< \brief Specifies the channel Id 9 */
76  IfxSent_ChannelId_none = -1 /**< \brief None Sent channels */
78 
79 #endif /* IFXSENT_CFG_H */