iLLD_TC27xC  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_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 
27 #ifndef IFXSENT_CFG_H
28 #define IFXSENT_CFG_H 1
29 
30 /******************************************************************************/
31 /*----------------------------------Includes----------------------------------*/
32 /******************************************************************************/
33 
35 #include "Cpu/Std/IfxCpu.h"
36 #include "Port/Std/IfxPort.h"
37 #include "Src/Std/IfxSrc.h"
38 #include "Scu/Std/IfxScuCcu.h"
39 #include "Scu/Std/IfxScuWdt.h"
40 #include "_Reg/IfxSent_bf.h"
41 #include "_Reg/IfxSent_reg.h"
42 
43 /******************************************************************************/
44 /*-----------------------------------Macros-----------------------------------*/
45 /******************************************************************************/
46 
47 /** \brief Specifies all interrupt events
48  */
49 #define IFXSENT_CFG_CHANNEL_INTEN (0x1FEDU)
50 
51 /** \brief Specifies the step range for calculating module clock
52  */
53 #define IFXSENT_CFG_STEP_RANGE (1024)
54 
55 /** \brief Specifies timeout value in transmission
56  */
57 #define IFXSENT_CFG_TIMEOUT_VALUE ((uint16)0xFFFFU)
58 
59 
60 
61 /******************************************************************************/
62 /*-------------------------------Enumerations---------------------------------*/
63 /******************************************************************************/
64 
65 /** \brief Specifies the channel Id
66  */
67 typedef enum
68 {
69  IfxSent_ChannelId_0 = 0, /**< \brief Specifies the channel Id 0 */
70  IfxSent_ChannelId_1 = 1, /**< \brief Specifies the channel Id 1 */
71  IfxSent_ChannelId_2 = 2, /**< \brief Specifies the channel Id 2 */
72  IfxSent_ChannelId_3 = 3, /**< \brief Specifies the channel Id 3 */
73  IfxSent_ChannelId_4 = 4, /**< \brief Specifies the channel Id 4 */
74  IfxSent_ChannelId_5 = 5, /**< \brief Specifies the channel Id 5 */
75  IfxSent_ChannelId_6 = 6, /**< \brief Specifies the channel Id 6 */
76  IfxSent_ChannelId_7 = 7, /**< \brief Specifies the channel Id 7 */
77  IfxSent_ChannelId_8 = 8, /**< \brief Specifies the channel Id 8 */
78  IfxSent_ChannelId_9 = 9, /**< \brief Specifies the channel Id 9 */
79  IfxSent_ChannelId_none = -1 /**< \brief None Sent channels */
81 
82 
83 #endif /* IFXSENT_CFG_H */