TMPM4G(1) Group Peripheral Driver User Manual  V1.0.0.0
txz_cec_include.h
Go to the documentation of this file.
1 
13 /*------------------------------------------------------------------------------*/
14 /* Define to prevent recursive inclusion */
15 /*------------------------------------------------------------------------------*/
16 #ifndef __CEC_INCLUDE_H
17 #define __CEC_INCLUDE_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /*------------------------------------------------------------------------------*/
24 /* Includes */
25 /*------------------------------------------------------------------------------*/
26 #include "txz_driver_def.h"
27 
37 /*------------------------------------------------------------------------------*/
38 /* Macro Definition */
39 /*------------------------------------------------------------------------------*/
50 #define CEC_NULL ((void *)0) /* End of group CEC_NullPointer */
54 
60 #define CEC_PARAM_OK ((int32_t)1)
61 #define CEC_PARAM_NG ((int32_t)0) /* End of group CEC_ParameterResult */
65 
71 #define CECxEN_CECEN_DISABLE ((uint32_t)0x00000002)
72 #define CECxEN_CECEN_ENABLE ((uint32_t)0x00000003) /* End of group CECxEN */
76 
77 
83 #define CECxRESET_CECRESET_DISABLE ((uint32_t)0x00000000)
84 #define CECxRESET_CECRESET_ENABLE ((uint32_t)0x00000001) /* End of group CECxRESET */
88 
89 
95 #define CECxREN_CECREN_MASK ((uint32_t)0x00000001)
96 #define CECxREN_CECREN_STOP ((uint32_t)0x00000000)
97 #define CECxREN_CECREN_RUN ((uint32_t)0x00000001)
98 #define CECxREN_CECREN_DISABLE ((uint32_t)0x00000000)
99 #define CECxREN_CECREN_ENABLE ((uint32_t)0x00000001) /* End of group CECxREN */
103 
109 #define CECxRBUF_CECACK_MASK ((uint32_t)0x00000200)
110 #define CECxRBUF_CECACK_CLR ((uint32_t)0x00000000)
111 #define CECxRBUF_CECACK_SET ((uint32_t)0x00000200)
112 #define CECxRBUF_CECEOM_MASK ((uint32_t)0x00000100)
113 #define CECxRBUF_CECEOM_CLR ((uint32_t)0x00000000)
114 #define CECxRBUF_CECEOM_SET ((uint32_t)0x00000100)
115 #define CECxRBUF_CECRBUF_MASK ((uint32_t)0x000000FF) /* End of group CECxRBUF */
119 
125 #define CECxTEN_CECTRANS_MASK ((uint32_t)0x00000002)
126 #define CECxTEN_CECTRANS_STOP ((uint32_t)0x00000000)
127 #define CECxTEN_CECTRANS_RUN ((uint32_t)0x00000002)
128 #define CECxTEN_CECTEN_DISABLE ((uint32_t)0x00000000)
129 #define CECxTEN_CECTEN_ENABLE ((uint32_t)0x00000001) /* End of group CECxTEN */
133 
139 #define CECxTBUF_CECTEOM_OFF ((uint32_t)0x00000000)
140 #define CECxTBUF_CECTEOM_ON ((uint32_t)0x00000100)
141 #define CECxRBUF_CECTBUF_MASK ((uint32_t)0x000000FF) /* End of group CECxTBUF */
145 
146  /* End of group CEC_Private_define */
150 
151 
152 /*------------------------------------------------------------------------------*/
153 /* Enumerated Type Definition */
154 /*------------------------------------------------------------------------------*/
160 /* no define */
161  /* End of group CEC_Private_define */
165 
166 
167 /*------------------------------------------------------------------------------*/
168 /* Structure Definition */
169 /*------------------------------------------------------------------------------*/
175 /* no define */
176  /* End of group CEC_Private_typedef */
180 
181 /*------------------------------------------------------------------------------*/
182 /* Inline Functions */
183 /*------------------------------------------------------------------------------*/ /* End of group CEC_Private_functions */
192  /* End of group CEC */
196  /* End of group Periph_Driver */
200 
201 #ifdef __cplusplus
202 }
203 #endif /* __cplusplus */
204 #endif /* __UART_EX_H */
205 
206 
All common macro and definition for TXZ peripheral drivers.