BSP430
20141115
Board Support Package for MSP430 microcontrollers
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
include
bsp430
periph
want_.h
Go to the documentation of this file.
1
/* Copyright 2012-2014, Peter A. Bigot
2
*
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions are met:
7
*
8
* * Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
*
11
* * Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions and the following disclaimer in the documentation
13
* and/or other materials provided with the distribution.
14
*
15
* * Neither the name of the software nor the names of its contributors may be
16
* used to endorse or promote products derived from this software without
17
* specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
* POSSIBILITY OF SUCH DAMAGE.
30
*/
31
53
#if defined(BSP430_DOXYGEN)
54
#define BSP430_WANT_PERIPH_CPPID context specific
55
#endif
/* BSP430_DOXYGEN */
56
59
#if defined(BSP430_DOXYGEN)
60
#define BSP430_WANT_CONFIG_HPL context specific
61
#endif
/* BSP430_DOXYGEN */
62
65
#if defined(BSP430_DOXYGEN)
66
#define BSP430_WANT_CONFIG_HAL context specific
67
#endif
/* BSP430_DOXYGEN */
68
71
#if defined(BSP430_DOXYGEN)
72
#define BSP430_WANT_CONFIG_HAL_ISR context specific
73
#endif
/* BSP430_DOXYGEN */
74
81
#if defined(BSP430_DOXYGEN)
82
#define BSP430_WANT_CONFIG_HAL_CC0_ISR context specific
83
#endif
/* BSP430_DOXYGEN */
84
87
#if BSP430_PERIPH_CPPID_NONE == BSP430_WANT_PERIPH_CPPID
88
/* !BSP430! instance=@periphs insert=periph_want */
89
/* BEGIN AUTOMATICALLY GENERATED CODE---DO NOT MODIFY [periph_want] */
90
91
#elif BSP430_PERIPH_CPPID_PORT1 == BSP430_WANT_PERIPH_CPPID
92
#if (BSP430_WANT_CONFIG_HAL - 0)
93
#define configBSP430_HAL_PORT1 1
94
#endif
/* HAL */
95
#if (BSP430_WANT_CONFIG_HPL - 0)
96
#define configBSP430_HPL_PORT1 1
97
#endif
/* HPL */
98
#ifdef BSP430_WANT_CONFIG_HAL_ISR
99
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
100
#define configBSP430_HAL_PORT1_ISR 1
101
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
102
#define configBSP430_HAL_PORT1_ISR 0
103
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
104
#endif
/* ISR */
105
106
#elif BSP430_PERIPH_CPPID_PORT2 == BSP430_WANT_PERIPH_CPPID
107
#if (BSP430_WANT_CONFIG_HAL - 0)
108
#define configBSP430_HAL_PORT2 1
109
#endif
/* HAL */
110
#if (BSP430_WANT_CONFIG_HPL - 0)
111
#define configBSP430_HPL_PORT2 1
112
#endif
/* HPL */
113
#ifdef BSP430_WANT_CONFIG_HAL_ISR
114
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
115
#define configBSP430_HAL_PORT2_ISR 1
116
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
117
#define configBSP430_HAL_PORT2_ISR 0
118
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
119
#endif
/* ISR */
120
121
#elif BSP430_PERIPH_CPPID_PORT3 == BSP430_WANT_PERIPH_CPPID
122
#if (BSP430_WANT_CONFIG_HAL - 0)
123
#define configBSP430_HAL_PORT3 1
124
#endif
/* HAL */
125
#if (BSP430_WANT_CONFIG_HPL - 0)
126
#define configBSP430_HPL_PORT3 1
127
#endif
/* HPL */
128
#ifdef BSP430_WANT_CONFIG_HAL_ISR
129
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
130
#define configBSP430_HAL_PORT3_ISR 1
131
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
132
#define configBSP430_HAL_PORT3_ISR 0
133
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
134
#endif
/* ISR */
135
136
#elif BSP430_PERIPH_CPPID_PORT4 == BSP430_WANT_PERIPH_CPPID
137
#if (BSP430_WANT_CONFIG_HAL - 0)
138
#define configBSP430_HAL_PORT4 1
139
#endif
/* HAL */
140
#if (BSP430_WANT_CONFIG_HPL - 0)
141
#define configBSP430_HPL_PORT4 1
142
#endif
/* HPL */
143
#ifdef BSP430_WANT_CONFIG_HAL_ISR
144
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
145
#define configBSP430_HAL_PORT4_ISR 1
146
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
147
#define configBSP430_HAL_PORT4_ISR 0
148
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
149
#endif
/* ISR */
150
151
#elif BSP430_PERIPH_CPPID_PORT5 == BSP430_WANT_PERIPH_CPPID
152
#if (BSP430_WANT_CONFIG_HAL - 0)
153
#define configBSP430_HAL_PORT5 1
154
#endif
/* HAL */
155
#if (BSP430_WANT_CONFIG_HPL - 0)
156
#define configBSP430_HPL_PORT5 1
157
#endif
/* HPL */
158
#ifdef BSP430_WANT_CONFIG_HAL_ISR
159
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
160
#define configBSP430_HAL_PORT5_ISR 1
161
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
162
#define configBSP430_HAL_PORT5_ISR 0
163
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
164
#endif
/* ISR */
165
166
#elif BSP430_PERIPH_CPPID_PORT6 == BSP430_WANT_PERIPH_CPPID
167
#if (BSP430_WANT_CONFIG_HAL - 0)
168
#define configBSP430_HAL_PORT6 1
169
#endif
/* HAL */
170
#if (BSP430_WANT_CONFIG_HPL - 0)
171
#define configBSP430_HPL_PORT6 1
172
#endif
/* HPL */
173
#ifdef BSP430_WANT_CONFIG_HAL_ISR
174
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
175
#define configBSP430_HAL_PORT6_ISR 1
176
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
177
#define configBSP430_HAL_PORT6_ISR 0
178
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
179
#endif
/* ISR */
180
181
#elif BSP430_PERIPH_CPPID_PORT7 == BSP430_WANT_PERIPH_CPPID
182
#if (BSP430_WANT_CONFIG_HAL - 0)
183
#define configBSP430_HAL_PORT7 1
184
#endif
/* HAL */
185
#if (BSP430_WANT_CONFIG_HPL - 0)
186
#define configBSP430_HPL_PORT7 1
187
#endif
/* HPL */
188
#ifdef BSP430_WANT_CONFIG_HAL_ISR
189
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
190
#define configBSP430_HAL_PORT7_ISR 1
191
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
192
#define configBSP430_HAL_PORT7_ISR 0
193
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
194
#endif
/* ISR */
195
196
#elif BSP430_PERIPH_CPPID_PORT8 == BSP430_WANT_PERIPH_CPPID
197
#if (BSP430_WANT_CONFIG_HAL - 0)
198
#define configBSP430_HAL_PORT8 1
199
#endif
/* HAL */
200
#if (BSP430_WANT_CONFIG_HPL - 0)
201
#define configBSP430_HPL_PORT8 1
202
#endif
/* HPL */
203
#ifdef BSP430_WANT_CONFIG_HAL_ISR
204
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
205
#define configBSP430_HAL_PORT8_ISR 1
206
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
207
#define configBSP430_HAL_PORT8_ISR 0
208
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
209
#endif
/* ISR */
210
211
#elif BSP430_PERIPH_CPPID_PORT9 == BSP430_WANT_PERIPH_CPPID
212
#if (BSP430_WANT_CONFIG_HAL - 0)
213
#define configBSP430_HAL_PORT9 1
214
#endif
/* HAL */
215
#if (BSP430_WANT_CONFIG_HPL - 0)
216
#define configBSP430_HPL_PORT9 1
217
#endif
/* HPL */
218
#ifdef BSP430_WANT_CONFIG_HAL_ISR
219
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
220
#define configBSP430_HAL_PORT9_ISR 1
221
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
222
#define configBSP430_HAL_PORT9_ISR 0
223
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
224
#endif
/* ISR */
225
226
#elif BSP430_PERIPH_CPPID_PORT10 == BSP430_WANT_PERIPH_CPPID
227
#if (BSP430_WANT_CONFIG_HAL - 0)
228
#define configBSP430_HAL_PORT10 1
229
#endif
/* HAL */
230
#if (BSP430_WANT_CONFIG_HPL - 0)
231
#define configBSP430_HPL_PORT10 1
232
#endif
/* HPL */
233
#ifdef BSP430_WANT_CONFIG_HAL_ISR
234
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
235
#define configBSP430_HAL_PORT10_ISR 1
236
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
237
#define configBSP430_HAL_PORT10_ISR 0
238
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
239
#endif
/* ISR */
240
241
#elif BSP430_PERIPH_CPPID_PORT11 == BSP430_WANT_PERIPH_CPPID
242
#if (BSP430_WANT_CONFIG_HAL - 0)
243
#define configBSP430_HAL_PORT11 1
244
#endif
/* HAL */
245
#if (BSP430_WANT_CONFIG_HPL - 0)
246
#define configBSP430_HPL_PORT11 1
247
#endif
/* HPL */
248
#ifdef BSP430_WANT_CONFIG_HAL_ISR
249
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
250
#define configBSP430_HAL_PORT11_ISR 1
251
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
252
#define configBSP430_HAL_PORT11_ISR 0
253
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
254
#endif
/* ISR */
255
256
#elif BSP430_PERIPH_CPPID_TA0 == BSP430_WANT_PERIPH_CPPID
257
#if (BSP430_WANT_CONFIG_HAL - 0)
258
#define configBSP430_HAL_TA0 1
259
#endif
/* HAL */
260
#if (BSP430_WANT_CONFIG_HPL - 0)
261
#define configBSP430_HPL_TA0 1
262
#endif
/* HPL */
263
#ifdef BSP430_WANT_CONFIG_HAL_ISR
264
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
265
#define configBSP430_HAL_TA0_ISR 1
266
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
267
#define configBSP430_HAL_TA0_ISR 0
268
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
269
#endif
/* ISR */
270
271
#elif BSP430_PERIPH_CPPID_TA1 == BSP430_WANT_PERIPH_CPPID
272
#if (BSP430_WANT_CONFIG_HAL - 0)
273
#define configBSP430_HAL_TA1 1
274
#endif
/* HAL */
275
#if (BSP430_WANT_CONFIG_HPL - 0)
276
#define configBSP430_HPL_TA1 1
277
#endif
/* HPL */
278
#ifdef BSP430_WANT_CONFIG_HAL_ISR
279
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
280
#define configBSP430_HAL_TA1_ISR 1
281
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
282
#define configBSP430_HAL_TA1_ISR 0
283
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
284
#endif
/* ISR */
285
286
#elif BSP430_PERIPH_CPPID_TA2 == BSP430_WANT_PERIPH_CPPID
287
#if (BSP430_WANT_CONFIG_HAL - 0)
288
#define configBSP430_HAL_TA2 1
289
#endif
/* HAL */
290
#if (BSP430_WANT_CONFIG_HPL - 0)
291
#define configBSP430_HPL_TA2 1
292
#endif
/* HPL */
293
#ifdef BSP430_WANT_CONFIG_HAL_ISR
294
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
295
#define configBSP430_HAL_TA2_ISR 1
296
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
297
#define configBSP430_HAL_TA2_ISR 0
298
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
299
#endif
/* ISR */
300
301
#elif BSP430_PERIPH_CPPID_TA3 == BSP430_WANT_PERIPH_CPPID
302
#if (BSP430_WANT_CONFIG_HAL - 0)
303
#define configBSP430_HAL_TA3 1
304
#endif
/* HAL */
305
#if (BSP430_WANT_CONFIG_HPL - 0)
306
#define configBSP430_HPL_TA3 1
307
#endif
/* HPL */
308
#ifdef BSP430_WANT_CONFIG_HAL_ISR
309
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
310
#define configBSP430_HAL_TA3_ISR 1
311
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
312
#define configBSP430_HAL_TA3_ISR 0
313
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
314
#endif
/* ISR */
315
316
#elif BSP430_PERIPH_CPPID_TB0 == BSP430_WANT_PERIPH_CPPID
317
#if (BSP430_WANT_CONFIG_HAL - 0)
318
#define configBSP430_HAL_TB0 1
319
#endif
/* HAL */
320
#if (BSP430_WANT_CONFIG_HPL - 0)
321
#define configBSP430_HPL_TB0 1
322
#endif
/* HPL */
323
#ifdef BSP430_WANT_CONFIG_HAL_ISR
324
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
325
#define configBSP430_HAL_TB0_ISR 1
326
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
327
#define configBSP430_HAL_TB0_ISR 0
328
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
329
#endif
/* ISR */
330
331
#elif BSP430_PERIPH_CPPID_TB1 == BSP430_WANT_PERIPH_CPPID
332
#if (BSP430_WANT_CONFIG_HAL - 0)
333
#define configBSP430_HAL_TB1 1
334
#endif
/* HAL */
335
#if (BSP430_WANT_CONFIG_HPL - 0)
336
#define configBSP430_HPL_TB1 1
337
#endif
/* HPL */
338
#ifdef BSP430_WANT_CONFIG_HAL_ISR
339
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
340
#define configBSP430_HAL_TB1_ISR 1
341
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
342
#define configBSP430_HAL_TB1_ISR 0
343
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
344
#endif
/* ISR */
345
346
#elif BSP430_PERIPH_CPPID_TB2 == BSP430_WANT_PERIPH_CPPID
347
#if (BSP430_WANT_CONFIG_HAL - 0)
348
#define configBSP430_HAL_TB2 1
349
#endif
/* HAL */
350
#if (BSP430_WANT_CONFIG_HPL - 0)
351
#define configBSP430_HPL_TB2 1
352
#endif
/* HPL */
353
#ifdef BSP430_WANT_CONFIG_HAL_ISR
354
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
355
#define configBSP430_HAL_TB2_ISR 1
356
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
357
#define configBSP430_HAL_TB2_ISR 0
358
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
359
#endif
/* ISR */
360
361
#elif BSP430_PERIPH_CPPID_USCI_A0 == BSP430_WANT_PERIPH_CPPID
362
#if (BSP430_WANT_CONFIG_HAL - 0)
363
#define configBSP430_HAL_USCI_A0 1
364
#endif
/* HAL */
365
#if (BSP430_WANT_CONFIG_HPL - 0)
366
#define configBSP430_HPL_USCI_A0 1
367
#endif
/* HPL */
368
#ifdef BSP430_WANT_CONFIG_HAL_ISR
369
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
370
#define configBSP430_HAL_USCI_A0_ISR 1
371
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
372
#define configBSP430_HAL_USCI_A0_ISR 0
373
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
374
#endif
/* ISR */
375
376
#elif BSP430_PERIPH_CPPID_USCI_A1 == BSP430_WANT_PERIPH_CPPID
377
#if (BSP430_WANT_CONFIG_HAL - 0)
378
#define configBSP430_HAL_USCI_A1 1
379
#endif
/* HAL */
380
#if (BSP430_WANT_CONFIG_HPL - 0)
381
#define configBSP430_HPL_USCI_A1 1
382
#endif
/* HPL */
383
#ifdef BSP430_WANT_CONFIG_HAL_ISR
384
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
385
#define configBSP430_HAL_USCI_A1_ISR 1
386
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
387
#define configBSP430_HAL_USCI_A1_ISR 0
388
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
389
#endif
/* ISR */
390
391
#elif BSP430_PERIPH_CPPID_USCI_B0 == BSP430_WANT_PERIPH_CPPID
392
#if (BSP430_WANT_CONFIG_HAL - 0)
393
#define configBSP430_HAL_USCI_B0 1
394
#endif
/* HAL */
395
#if (BSP430_WANT_CONFIG_HPL - 0)
396
#define configBSP430_HPL_USCI_B0 1
397
#endif
/* HPL */
398
#ifdef BSP430_WANT_CONFIG_HAL_ISR
399
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
400
#define configBSP430_HAL_USCI_B0_ISR 1
401
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
402
#define configBSP430_HAL_USCI_B0_ISR 0
403
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
404
#endif
/* ISR */
405
406
#elif BSP430_PERIPH_CPPID_USCI_B1 == BSP430_WANT_PERIPH_CPPID
407
#if (BSP430_WANT_CONFIG_HAL - 0)
408
#define configBSP430_HAL_USCI_B1 1
409
#endif
/* HAL */
410
#if (BSP430_WANT_CONFIG_HPL - 0)
411
#define configBSP430_HPL_USCI_B1 1
412
#endif
/* HPL */
413
#ifdef BSP430_WANT_CONFIG_HAL_ISR
414
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
415
#define configBSP430_HAL_USCI_B1_ISR 1
416
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
417
#define configBSP430_HAL_USCI_B1_ISR 0
418
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
419
#endif
/* ISR */
420
421
#elif BSP430_PERIPH_CPPID_USCI5_A0 == BSP430_WANT_PERIPH_CPPID
422
#if (BSP430_WANT_CONFIG_HAL - 0)
423
#define configBSP430_HAL_USCI5_A0 1
424
#endif
/* HAL */
425
#if (BSP430_WANT_CONFIG_HPL - 0)
426
#define configBSP430_HPL_USCI5_A0 1
427
#endif
/* HPL */
428
#ifdef BSP430_WANT_CONFIG_HAL_ISR
429
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
430
#define configBSP430_HAL_USCI5_A0_ISR 1
431
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
432
#define configBSP430_HAL_USCI5_A0_ISR 0
433
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
434
#endif
/* ISR */
435
436
#elif BSP430_PERIPH_CPPID_USCI5_A1 == BSP430_WANT_PERIPH_CPPID
437
#if (BSP430_WANT_CONFIG_HAL - 0)
438
#define configBSP430_HAL_USCI5_A1 1
439
#endif
/* HAL */
440
#if (BSP430_WANT_CONFIG_HPL - 0)
441
#define configBSP430_HPL_USCI5_A1 1
442
#endif
/* HPL */
443
#ifdef BSP430_WANT_CONFIG_HAL_ISR
444
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
445
#define configBSP430_HAL_USCI5_A1_ISR 1
446
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
447
#define configBSP430_HAL_USCI5_A1_ISR 0
448
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
449
#endif
/* ISR */
450
451
#elif BSP430_PERIPH_CPPID_USCI5_A2 == BSP430_WANT_PERIPH_CPPID
452
#if (BSP430_WANT_CONFIG_HAL - 0)
453
#define configBSP430_HAL_USCI5_A2 1
454
#endif
/* HAL */
455
#if (BSP430_WANT_CONFIG_HPL - 0)
456
#define configBSP430_HPL_USCI5_A2 1
457
#endif
/* HPL */
458
#ifdef BSP430_WANT_CONFIG_HAL_ISR
459
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
460
#define configBSP430_HAL_USCI5_A2_ISR 1
461
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
462
#define configBSP430_HAL_USCI5_A2_ISR 0
463
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
464
#endif
/* ISR */
465
466
#elif BSP430_PERIPH_CPPID_USCI5_A3 == BSP430_WANT_PERIPH_CPPID
467
#if (BSP430_WANT_CONFIG_HAL - 0)
468
#define configBSP430_HAL_USCI5_A3 1
469
#endif
/* HAL */
470
#if (BSP430_WANT_CONFIG_HPL - 0)
471
#define configBSP430_HPL_USCI5_A3 1
472
#endif
/* HPL */
473
#ifdef BSP430_WANT_CONFIG_HAL_ISR
474
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
475
#define configBSP430_HAL_USCI5_A3_ISR 1
476
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
477
#define configBSP430_HAL_USCI5_A3_ISR 0
478
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
479
#endif
/* ISR */
480
481
#elif BSP430_PERIPH_CPPID_USCI5_B0 == BSP430_WANT_PERIPH_CPPID
482
#if (BSP430_WANT_CONFIG_HAL - 0)
483
#define configBSP430_HAL_USCI5_B0 1
484
#endif
/* HAL */
485
#if (BSP430_WANT_CONFIG_HPL - 0)
486
#define configBSP430_HPL_USCI5_B0 1
487
#endif
/* HPL */
488
#ifdef BSP430_WANT_CONFIG_HAL_ISR
489
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
490
#define configBSP430_HAL_USCI5_B0_ISR 1
491
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
492
#define configBSP430_HAL_USCI5_B0_ISR 0
493
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
494
#endif
/* ISR */
495
496
#elif BSP430_PERIPH_CPPID_USCI5_B1 == BSP430_WANT_PERIPH_CPPID
497
#if (BSP430_WANT_CONFIG_HAL - 0)
498
#define configBSP430_HAL_USCI5_B1 1
499
#endif
/* HAL */
500
#if (BSP430_WANT_CONFIG_HPL - 0)
501
#define configBSP430_HPL_USCI5_B1 1
502
#endif
/* HPL */
503
#ifdef BSP430_WANT_CONFIG_HAL_ISR
504
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
505
#define configBSP430_HAL_USCI5_B1_ISR 1
506
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
507
#define configBSP430_HAL_USCI5_B1_ISR 0
508
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
509
#endif
/* ISR */
510
511
#elif BSP430_PERIPH_CPPID_USCI5_B2 == BSP430_WANT_PERIPH_CPPID
512
#if (BSP430_WANT_CONFIG_HAL - 0)
513
#define configBSP430_HAL_USCI5_B2 1
514
#endif
/* HAL */
515
#if (BSP430_WANT_CONFIG_HPL - 0)
516
#define configBSP430_HPL_USCI5_B2 1
517
#endif
/* HPL */
518
#ifdef BSP430_WANT_CONFIG_HAL_ISR
519
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
520
#define configBSP430_HAL_USCI5_B2_ISR 1
521
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
522
#define configBSP430_HAL_USCI5_B2_ISR 0
523
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
524
#endif
/* ISR */
525
526
#elif BSP430_PERIPH_CPPID_USCI5_B3 == BSP430_WANT_PERIPH_CPPID
527
#if (BSP430_WANT_CONFIG_HAL - 0)
528
#define configBSP430_HAL_USCI5_B3 1
529
#endif
/* HAL */
530
#if (BSP430_WANT_CONFIG_HPL - 0)
531
#define configBSP430_HPL_USCI5_B3 1
532
#endif
/* HPL */
533
#ifdef BSP430_WANT_CONFIG_HAL_ISR
534
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
535
#define configBSP430_HAL_USCI5_B3_ISR 1
536
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
537
#define configBSP430_HAL_USCI5_B3_ISR 0
538
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
539
#endif
/* ISR */
540
541
#elif BSP430_PERIPH_CPPID_EUSCI_A0 == BSP430_WANT_PERIPH_CPPID
542
#if (BSP430_WANT_CONFIG_HAL - 0)
543
#define configBSP430_HAL_EUSCI_A0 1
544
#endif
/* HAL */
545
#if (BSP430_WANT_CONFIG_HPL - 0)
546
#define configBSP430_HPL_EUSCI_A0 1
547
#endif
/* HPL */
548
#ifdef BSP430_WANT_CONFIG_HAL_ISR
549
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
550
#define configBSP430_HAL_EUSCI_A0_ISR 1
551
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
552
#define configBSP430_HAL_EUSCI_A0_ISR 0
553
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
554
#endif
/* ISR */
555
556
#elif BSP430_PERIPH_CPPID_EUSCI_A1 == BSP430_WANT_PERIPH_CPPID
557
#if (BSP430_WANT_CONFIG_HAL - 0)
558
#define configBSP430_HAL_EUSCI_A1 1
559
#endif
/* HAL */
560
#if (BSP430_WANT_CONFIG_HPL - 0)
561
#define configBSP430_HPL_EUSCI_A1 1
562
#endif
/* HPL */
563
#ifdef BSP430_WANT_CONFIG_HAL_ISR
564
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
565
#define configBSP430_HAL_EUSCI_A1_ISR 1
566
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
567
#define configBSP430_HAL_EUSCI_A1_ISR 0
568
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
569
#endif
/* ISR */
570
571
#elif BSP430_PERIPH_CPPID_EUSCI_A2 == BSP430_WANT_PERIPH_CPPID
572
#if (BSP430_WANT_CONFIG_HAL - 0)
573
#define configBSP430_HAL_EUSCI_A2 1
574
#endif
/* HAL */
575
#if (BSP430_WANT_CONFIG_HPL - 0)
576
#define configBSP430_HPL_EUSCI_A2 1
577
#endif
/* HPL */
578
#ifdef BSP430_WANT_CONFIG_HAL_ISR
579
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
580
#define configBSP430_HAL_EUSCI_A2_ISR 1
581
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
582
#define configBSP430_HAL_EUSCI_A2_ISR 0
583
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
584
#endif
/* ISR */
585
586
#elif BSP430_PERIPH_CPPID_EUSCI_B0 == BSP430_WANT_PERIPH_CPPID
587
#if (BSP430_WANT_CONFIG_HAL - 0)
588
#define configBSP430_HAL_EUSCI_B0 1
589
#endif
/* HAL */
590
#if (BSP430_WANT_CONFIG_HPL - 0)
591
#define configBSP430_HPL_EUSCI_B0 1
592
#endif
/* HPL */
593
#ifdef BSP430_WANT_CONFIG_HAL_ISR
594
#if (BSP430_WANT_CONFIG_HAL_ISR - 0)
595
#define configBSP430_HAL_EUSCI_B0_ISR 1
596
#else
/* BSP430_WANT_CONFIG_HAL_ISR */
597
#define configBSP430_HAL_EUSCI_B0_ISR 0
598
#endif
/* BSP430_WANT_CONFIG_HAL_ISR */
599
#endif
/* ISR */
600
/* END AUTOMATICALLY GENERATED CODE [periph_want] */
601
/* !BSP430! end=periph_want */
602
#endif
/* BSP430_WANT_PERIPH_CPPID */
603
604
#if BSP430_PERIPH_CPPID_NONE == BSP430_WANT_PERIPH_CPPID
605
/* !BSP430! instance=@timers insert=periph_want_cc0_isr */
606
/* BEGIN AUTOMATICALLY GENERATED CODE---DO NOT MODIFY [periph_want_cc0_isr] */
607
608
#elif BSP430_PERIPH_CPPID_TA0 == BSP430_WANT_PERIPH_CPPID
609
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
610
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
611
#define configBSP430_HAL_TA0_CC0_ISR 1
612
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
613
#define configBSP430_HAL_TA0_CC0_ISR 0
614
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
615
#endif
/* CC0_ISR */
616
617
#elif BSP430_PERIPH_CPPID_TA1 == BSP430_WANT_PERIPH_CPPID
618
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
619
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
620
#define configBSP430_HAL_TA1_CC0_ISR 1
621
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
622
#define configBSP430_HAL_TA1_CC0_ISR 0
623
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
624
#endif
/* CC0_ISR */
625
626
#elif BSP430_PERIPH_CPPID_TA2 == BSP430_WANT_PERIPH_CPPID
627
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
628
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
629
#define configBSP430_HAL_TA2_CC0_ISR 1
630
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
631
#define configBSP430_HAL_TA2_CC0_ISR 0
632
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
633
#endif
/* CC0_ISR */
634
635
#elif BSP430_PERIPH_CPPID_TA3 == BSP430_WANT_PERIPH_CPPID
636
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
637
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
638
#define configBSP430_HAL_TA3_CC0_ISR 1
639
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
640
#define configBSP430_HAL_TA3_CC0_ISR 0
641
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
642
#endif
/* CC0_ISR */
643
644
#elif BSP430_PERIPH_CPPID_TB0 == BSP430_WANT_PERIPH_CPPID
645
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
646
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
647
#define configBSP430_HAL_TB0_CC0_ISR 1
648
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
649
#define configBSP430_HAL_TB0_CC0_ISR 0
650
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
651
#endif
/* CC0_ISR */
652
653
#elif BSP430_PERIPH_CPPID_TB1 == BSP430_WANT_PERIPH_CPPID
654
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
655
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
656
#define configBSP430_HAL_TB1_CC0_ISR 1
657
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
658
#define configBSP430_HAL_TB1_CC0_ISR 0
659
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
660
#endif
/* CC0_ISR */
661
662
#elif BSP430_PERIPH_CPPID_TB2 == BSP430_WANT_PERIPH_CPPID
663
#ifdef BSP430_WANT_CONFIG_HAL_CC0_ISR
664
#if (BSP430_WANT_CONFIG_HAL_CC0_ISR - 0)
665
#define configBSP430_HAL_TB2_CC0_ISR 1
666
#else
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
667
#define configBSP430_HAL_TB2_CC0_ISR 0
668
#endif
/* BSP430_WANT_CONFIG_HAL_CC0_ISR */
669
#endif
/* CC0_ISR */
670
/* END AUTOMATICALLY GENERATED CODE [periph_want_cc0_isr] */
671
/* !BSP430! end=periph_want_cc0_isr */
672
#endif
/* BSP430_WANT_PERIPH_CPPID */
673
Generated on Sat Nov 15 2014 11:27:13 for BSP430 by
1.8.8