1 /*
2 * Do not modify this file; it is automatically
3 * generated and any modifications will be overwritten.
4 *
5 * @(#) xdc-B06
6 */
8 /*
9 * ======== GENERATED SECTIONS ========
10 *
11 * PROLOGUE
12 * INCLUDES
13 *
14 * INTERNAL DEFINITIONS
15 * MODULE-WIDE CONFIGS
16 * FUNCTION DECLARATIONS
17 * SYSTEM FUNCTIONS
18 *
19 * EPILOGUE
20 * STATE STRUCTURES
21 * PREFIX ALIASES
22 */
25 /*
26 * ======== PROLOGUE ========
27 */
29 #ifndef ti_csl_Settings__include
30 #define ti_csl_Settings__include
32 #ifndef __nested__
33 #define __nested__
34 #define ti_csl_Settings__top__
35 #endif
37 #ifdef __cplusplus
38 #define __extern extern "C"
39 #else
40 #define __extern extern
41 #endif
43 #define ti_csl_Settings___VERS 160
46 /*
47 * ======== INCLUDES ========
48 */
50 #include <xdc/std.h>
52 #include <xdc/runtime/xdc.h>
53 #include <xdc/runtime/Types.h>
54 #include <ti/csl/package/package.defs.h>
56 #include <xdc/runtime/IModule.h>
59 /*
60 * ======== AUXILIARY DEFINITIONS ========
61 */
64 /*
65 * ======== INTERNAL DEFINITIONS ========
66 */
69 /*
70 * ======== MODULE-WIDE CONFIGS ========
71 */
73 /* Module__diagsEnabled */
74 typedef xdc_Bits32 CT__ti_csl_Settings_Module__diagsEnabled;
75 __extern __FAR__ const CT__ti_csl_Settings_Module__diagsEnabled ti_csl_Settings_Module__diagsEnabled__C;
77 /* Module__diagsIncluded */
78 typedef xdc_Bits32 CT__ti_csl_Settings_Module__diagsIncluded;
79 __extern __FAR__ const CT__ti_csl_Settings_Module__diagsIncluded ti_csl_Settings_Module__diagsIncluded__C;
81 /* Module__diagsMask */
82 typedef xdc_Bits16 *CT__ti_csl_Settings_Module__diagsMask;
83 __extern __FAR__ const CT__ti_csl_Settings_Module__diagsMask ti_csl_Settings_Module__diagsMask__C;
85 /* Module__gateObj */
86 typedef xdc_Ptr CT__ti_csl_Settings_Module__gateObj;
87 __extern __FAR__ const CT__ti_csl_Settings_Module__gateObj ti_csl_Settings_Module__gateObj__C;
89 /* Module__gatePrms */
90 typedef xdc_Ptr CT__ti_csl_Settings_Module__gatePrms;
91 __extern __FAR__ const CT__ti_csl_Settings_Module__gatePrms ti_csl_Settings_Module__gatePrms__C;
93 /* Module__id */
94 typedef xdc_runtime_Types_ModuleId CT__ti_csl_Settings_Module__id;
95 __extern __FAR__ const CT__ti_csl_Settings_Module__id ti_csl_Settings_Module__id__C;
97 /* Module__loggerDefined */
98 typedef xdc_Bool CT__ti_csl_Settings_Module__loggerDefined;
99 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerDefined ti_csl_Settings_Module__loggerDefined__C;
101 /* Module__loggerObj */
102 typedef xdc_Ptr CT__ti_csl_Settings_Module__loggerObj;
103 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerObj ti_csl_Settings_Module__loggerObj__C;
105 /* Module__loggerFxn0 */
106 typedef xdc_runtime_Types_LoggerFxn0 CT__ti_csl_Settings_Module__loggerFxn0;
107 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn0 ti_csl_Settings_Module__loggerFxn0__C;
109 /* Module__loggerFxn1 */
110 typedef xdc_runtime_Types_LoggerFxn1 CT__ti_csl_Settings_Module__loggerFxn1;
111 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn1 ti_csl_Settings_Module__loggerFxn1__C;
113 /* Module__loggerFxn2 */
114 typedef xdc_runtime_Types_LoggerFxn2 CT__ti_csl_Settings_Module__loggerFxn2;
115 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn2 ti_csl_Settings_Module__loggerFxn2__C;
117 /* Module__loggerFxn4 */
118 typedef xdc_runtime_Types_LoggerFxn4 CT__ti_csl_Settings_Module__loggerFxn4;
119 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn4 ti_csl_Settings_Module__loggerFxn4__C;
121 /* Module__loggerFxn8 */
122 typedef xdc_runtime_Types_LoggerFxn8 CT__ti_csl_Settings_Module__loggerFxn8;
123 __extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn8 ti_csl_Settings_Module__loggerFxn8__C;
125 /* Module__startupDoneFxn */
126 typedef xdc_Bool (*CT__ti_csl_Settings_Module__startupDoneFxn)(void);
127 __extern __FAR__ const CT__ti_csl_Settings_Module__startupDoneFxn ti_csl_Settings_Module__startupDoneFxn__C;
129 /* Object__count */
130 typedef xdc_Int CT__ti_csl_Settings_Object__count;
131 __extern __FAR__ const CT__ti_csl_Settings_Object__count ti_csl_Settings_Object__count__C;
133 /* Object__heap */
134 typedef xdc_runtime_IHeap_Handle CT__ti_csl_Settings_Object__heap;
135 __extern __FAR__ const CT__ti_csl_Settings_Object__heap ti_csl_Settings_Object__heap__C;
137 /* Object__sizeof */
138 typedef xdc_SizeT CT__ti_csl_Settings_Object__sizeof;
139 __extern __FAR__ const CT__ti_csl_Settings_Object__sizeof ti_csl_Settings_Object__sizeof__C;
141 /* Object__table */
142 typedef xdc_Ptr CT__ti_csl_Settings_Object__table;
143 __extern __FAR__ const CT__ti_csl_Settings_Object__table ti_csl_Settings_Object__table__C;
145 /* cslVersionString */
146 #define ti_csl_Settings_cslVersionString (ti_csl_Settings_cslVersionString__C)
147 typedef xdc_String CT__ti_csl_Settings_cslVersionString;
148 __extern __FAR__ const CT__ti_csl_Settings_cslVersionString ti_csl_Settings_cslVersionString__C;
150 /* useCSLIntcLib */
151 #ifdef ti_csl_Settings_useCSLIntcLib__D
152 #define ti_csl_Settings_useCSLIntcLib (ti_csl_Settings_useCSLIntcLib__D)
153 #else
154 #define ti_csl_Settings_useCSLIntcLib (ti_csl_Settings_useCSLIntcLib__C)
155 typedef xdc_Bool CT__ti_csl_Settings_useCSLIntcLib;
156 __extern __FAR__ const CT__ti_csl_Settings_useCSLIntcLib ti_csl_Settings_useCSLIntcLib__C;
157 #endif
160 /*
161 * ======== FUNCTION DECLARATIONS ========
162 */
164 /* Module_startup */
165 #define ti_csl_Settings_Module_startup( state ) (-1)
167 /* Module__startupDone__S */
168 xdc__CODESECT(ti_csl_Settings_Module__startupDone__S, "ti_csl_Settings_Module__startupDone__S")
169 __extern xdc_Bool ti_csl_Settings_Module__startupDone__S( void );
172 /*
173 * ======== SYSTEM FUNCTIONS ========
174 */
176 /* Module_startupDone */
177 #define ti_csl_Settings_Module_startupDone() ti_csl_Settings_Module__startupDone__S()
179 /* Object_heap */
180 #define ti_csl_Settings_Object_heap() ti_csl_Settings_Object__heap__C
182 /* Module_heap */
183 #define ti_csl_Settings_Module_heap() ti_csl_Settings_Object__heap__C
185 /* Module_id */
186 static inline CT__ti_csl_Settings_Module__id ti_csl_Settings_Module_id( void )
187 {
188 return ti_csl_Settings_Module__id__C;
189 }
191 /* Module_hasMask */
192 static inline xdc_Bool ti_csl_Settings_Module_hasMask( void )
193 {
194 return ti_csl_Settings_Module__diagsMask__C != NULL;
195 }
197 /* Module_getMask */
198 static inline xdc_Bits16 ti_csl_Settings_Module_getMask( void )
199 {
200 return ti_csl_Settings_Module__diagsMask__C != NULL ? *ti_csl_Settings_Module__diagsMask__C : 0;
201 }
203 /* Module_setMask */
204 static inline xdc_Void ti_csl_Settings_Module_setMask( xdc_Bits16 mask )
205 {
206 if (ti_csl_Settings_Module__diagsMask__C != NULL) *ti_csl_Settings_Module__diagsMask__C = mask;
207 }
210 /*
211 * ======== EPILOGUE ========
212 */
214 #ifdef ti_csl_Settings__top__
215 #undef __nested__
216 #endif
218 #endif /* ti_csl_Settings__include */
221 /*
222 * ======== STATE STRUCTURES ========
223 */
225 #if defined(__config__) || (!defined(__nested__) && defined(ti_csl_Settings__internalaccess))
227 #ifndef ti_csl_Settings__include_state
228 #define ti_csl_Settings__include_state
231 #endif /* ti_csl_Settings__include_state */
233 #endif
235 /*
236 * ======== PREFIX ALIASES ========
237 */
239 #if !defined(__nested__) && !defined(ti_csl_Settings__nolocalnames)
241 #ifndef ti_csl_Settings__localnames__done
242 #define ti_csl_Settings__localnames__done
244 /* module prefix */
245 #define Settings_cslVersionString ti_csl_Settings_cslVersionString
246 #define Settings_useCSLIntcLib ti_csl_Settings_useCSLIntcLib
247 #define Settings_Module_name ti_csl_Settings_Module_name
248 #define Settings_Module_id ti_csl_Settings_Module_id
249 #define Settings_Module_startup ti_csl_Settings_Module_startup
250 #define Settings_Module_startupDone ti_csl_Settings_Module_startupDone
251 #define Settings_Module_hasMask ti_csl_Settings_Module_hasMask
252 #define Settings_Module_getMask ti_csl_Settings_Module_getMask
253 #define Settings_Module_setMask ti_csl_Settings_Module_setMask
254 #define Settings_Object_heap ti_csl_Settings_Object_heap
255 #define Settings_Module_heap ti_csl_Settings_Module_heap
257 #endif /* ti_csl_Settings__localnames__done */
258 #endif