rom_map.h
Go to the documentation of this file.
1 /* --COPYRIGHT--,BSD
2  * Copyright (c) 2017, Texas Instruments Incorporated
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
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  * --/COPYRIGHT--*/
32 #ifndef __ROM_MAP_H__
33 #define __ROM_MAP_H__
34 
35 //*****************************************************************************
36 //
37 // Macros for the ADC14 API.
38 //
39 //*****************************************************************************
40 #ifdef ROM_ADC14_enableModule
41 #define MAP_ADC14_enableModule \
42  ROM_ADC14_enableModule
43 #else
44 #define MAP_ADC14_enableModule \
45  ADC14_enableModule
46 #endif
47 #ifdef ROM_ADC14_disableModule
48 #define MAP_ADC14_disableModule \
49  ROM_ADC14_disableModule
50 #else
51 #define MAP_ADC14_disableModule \
52  ADC14_disableModule
53 #endif
54 #ifdef ROM_ADC14_initModule
55 #define MAP_ADC14_initModule \
56  ROM_ADC14_initModule
57 #else
58 #define MAP_ADC14_initModule \
59  ADC14_initModule
60 #endif
61 #ifdef ROM_ADC14_setResolution
62 #define MAP_ADC14_setResolution \
63  ROM_ADC14_setResolution
64 #else
65 #define MAP_ADC14_setResolution \
66  ADC14_setResolution
67 #endif
68 #ifdef ROM_ADC14_getResolution
69 #define MAP_ADC14_getResolution \
70  ROM_ADC14_getResolution
71 #else
72 #define MAP_ADC14_getResolution \
73  ADC14_getResolution
74 #endif
75 #ifdef ROM_ADC14_setSampleHoldTrigger
76 #define MAP_ADC14_setSampleHoldTrigger \
77  ROM_ADC14_setSampleHoldTrigger
78 #else
79 #define MAP_ADC14_setSampleHoldTrigger \
80  ADC14_setSampleHoldTrigger
81 #endif
82 #ifdef ROM_ADC14_setSampleHoldTime
83 #define MAP_ADC14_setSampleHoldTime \
84  ROM_ADC14_setSampleHoldTime
85 #else
86 #define MAP_ADC14_setSampleHoldTime \
87  ADC14_setSampleHoldTime
88 #endif
89 #ifdef ROM_ADC14_configureMultiSequenceMode
90 #define MAP_ADC14_configureMultiSequenceMode \
91  ROM_ADC14_configureMultiSequenceMode
92 #else
93 #define MAP_ADC14_configureMultiSequenceMode \
94  ADC14_configureMultiSequenceMode
95 #endif
96 #ifdef ROM_ADC14_configureSingleSampleMode
97 #define MAP_ADC14_configureSingleSampleMode \
98  ROM_ADC14_configureSingleSampleMode
99 #else
100 #define MAP_ADC14_configureSingleSampleMode \
101  ADC14_configureSingleSampleMode
102 #endif
103 #ifdef ROM_ADC14_enableConversion
104 #define MAP_ADC14_enableConversion \
105  ROM_ADC14_enableConversion
106 #else
107 #define MAP_ADC14_enableConversion \
108  ADC14_enableConversion
109 #endif
110 #ifdef ROM_ADC14_disableConversion
111 #define MAP_ADC14_disableConversion \
112  ROM_ADC14_disableConversion
113 #else
114 #define MAP_ADC14_disableConversion \
115  ADC14_disableConversion
116 #endif
117 #ifdef ROM_ADC14_isBusy
118 #define MAP_ADC14_isBusy \
119  ROM_ADC14_isBusy
120 #else
121 #define MAP_ADC14_isBusy \
122  ADC14_isBusy
123 #endif
124 #ifdef ROM_ADC14_configureConversionMemory
125 #define MAP_ADC14_configureConversionMemory \
126  ROM_ADC14_configureConversionMemory
127 #else
128 #define MAP_ADC14_configureConversionMemory \
129  ADC14_configureConversionMemory
130 #endif
131 #ifdef ROM_ADC14_enableComparatorWindow
132 #define MAP_ADC14_enableComparatorWindow \
133  ROM_ADC14_enableComparatorWindow
134 #else
135 #define MAP_ADC14_enableComparatorWindow \
136  ADC14_enableComparatorWindow
137 #endif
138 #ifdef ROM_ADC14_disableComparatorWindow
139 #define MAP_ADC14_disableComparatorWindow \
140  ROM_ADC14_disableComparatorWindow
141 #else
142 #define MAP_ADC14_disableComparatorWindow \
143  ADC14_disableComparatorWindow
144 #endif
145 #ifdef ROM_ADC14_setComparatorWindowValue
146 #define MAP_ADC14_setComparatorWindowValue \
147  ROM_ADC14_setComparatorWindowValue
148 #else
149 #define MAP_ADC14_setComparatorWindowValue \
150  ADC14_setComparatorWindowValue
151 #endif
152 #ifdef ROM_ADC14_setResultFormat
153 #define MAP_ADC14_setResultFormat \
154  ROM_ADC14_setResultFormat
155 #else
156 #define MAP_ADC14_setResultFormat \
157  ADC14_setResultFormat
158 #endif
159 #ifdef ROM_ADC14_getResult
160 #define MAP_ADC14_getResult \
161  ROM_ADC14_getResult
162 #else
163 #define MAP_ADC14_getResult \
164  ADC14_getResult
165 #endif
166 #ifdef ROM_ADC14_getMultiSequenceResult
167 #define MAP_ADC14_getMultiSequenceResult \
168  ROM_ADC14_getMultiSequenceResult
169 #else
170 #define MAP_ADC14_getMultiSequenceResult \
171  ADC14_getMultiSequenceResult
172 #endif
173 #ifdef ROM_ADC14_getResultArray
174 #define MAP_ADC14_getResultArray \
175  ROM_ADC14_getResultArray
176 #else
177 #define MAP_ADC14_getResultArray \
178  ADC14_getResultArray
179 #endif
180 #ifdef ROM_ADC14_enableReferenceBurst
181 #define MAP_ADC14_enableReferenceBurst \
182  ROM_ADC14_enableReferenceBurst
183 #else
184 #define MAP_ADC14_enableReferenceBurst \
185  ADC14_enableReferenceBurst
186 #endif
187 #ifdef ROM_ADC14_disableReferenceBurst
188 #define MAP_ADC14_disableReferenceBurst \
189  ROM_ADC14_disableReferenceBurst
190 #else
191 #define MAP_ADC14_disableReferenceBurst \
192  ADC14_disableReferenceBurst
193 #endif
194 #ifdef ROM_ADC14_setPowerMode
195 #define MAP_ADC14_setPowerMode \
196  ROM_ADC14_setPowerMode
197 #else
198 #define MAP_ADC14_setPowerMode \
199  ADC14_setPowerMode
200 #endif
201 #ifdef ROM_ADC14_enableInterrupt
202 #define MAP_ADC14_enableInterrupt \
203  ROM_ADC14_enableInterrupt
204 #else
205 #define MAP_ADC14_enableInterrupt \
206  ADC14_enableInterrupt
207 #endif
208 #ifdef ROM_ADC14_disableInterrupt
209 #define MAP_ADC14_disableInterrupt \
210  ROM_ADC14_disableInterrupt
211 #else
212 #define MAP_ADC14_disableInterrupt \
213  ADC14_disableInterrupt
214 #endif
215 #ifdef ROM_ADC14_getInterruptStatus
216 #define MAP_ADC14_getInterruptStatus \
217  ROM_ADC14_getInterruptStatus
218 #else
219 #define MAP_ADC14_getInterruptStatus \
220  ADC14_getInterruptStatus
221 #endif
222 #ifdef ROM_ADC14_getEnabledInterruptStatus
223 #define MAP_ADC14_getEnabledInterruptStatus \
224  ROM_ADC14_getEnabledInterruptStatus
225 #else
226 #define MAP_ADC14_getEnabledInterruptStatus \
227  ADC14_getEnabledInterruptStatus
228 #endif
229 #ifdef ROM_ADC14_clearInterruptFlag
230 #define MAP_ADC14_clearInterruptFlag \
231  ROM_ADC14_clearInterruptFlag
232 #else
233 #define MAP_ADC14_clearInterruptFlag \
234  ADC14_clearInterruptFlag
235 #endif
236 #ifdef ROM_ADC14_toggleConversionTrigger
237 #define MAP_ADC14_toggleConversionTrigger \
238  ROM_ADC14_toggleConversionTrigger
239 #else
240 #define MAP_ADC14_toggleConversionTrigger \
241  ADC14_toggleConversionTrigger
242 #endif
243 #ifdef ROM_ADC14_enableSampleTimer
244 #define MAP_ADC14_enableSampleTimer \
245  ROM_ADC14_enableSampleTimer
246 #else
247 #define MAP_ADC14_enableSampleTimer \
248  ADC14_enableSampleTimer
249 #endif
250 #ifdef ROM_ADC14_disableSampleTimer
251 #define MAP_ADC14_disableSampleTimer \
252  ROM_ADC14_disableSampleTimer
253 #else
254 #define MAP_ADC14_disableSampleTimer \
255  ADC14_disableSampleTimer
256 #endif
257 #ifdef ROM_ADC14_registerInterrupt
258 #define MAP_ADC14_registerInterrupt \
259  ROM_ADC14_registerInterrupt
260 #else
261 #define MAP_ADC14_registerInterrupt \
262  ADC14_registerInterrupt
263 #endif
264 #ifdef ROM_ADC14_unregisterInterrupt
265 #define MAP_ADC14_unregisterInterrupt \
266  ROM_ADC14_unregisterInterrupt
267 #else
268 #define MAP_ADC14_unregisterInterrupt \
269  ADC14_unregisterInterrupt
270 #endif
271 
272 //*****************************************************************************
273 //
274 // Macros for the AES256 API.
275 //
276 //*****************************************************************************
277 #ifdef ROM_AES256_setCipherKey
278 #define MAP_AES256_setCipherKey \
279  ROM_AES256_setCipherKey
280 #else
281 #define MAP_AES256_setCipherKey \
282  AES256_setCipherKey
283 #endif
284 #ifdef ROM_AES256_encryptData
285 #define MAP_AES256_encryptData \
286  ROM_AES256_encryptData
287 #else
288 #define MAP_AES256_encryptData \
289  AES256_encryptData
290 #endif
291 #ifdef ROM_AES256_decryptData
292 #define MAP_AES256_decryptData \
293  ROM_AES256_decryptData
294 #else
295 #define MAP_AES256_decryptData \
296  AES256_decryptData
297 #endif
298 #ifdef ROM_AES256_setDecipherKey
299 #define MAP_AES256_setDecipherKey \
300  ROM_AES256_setDecipherKey
301 #else
302 #define MAP_AES256_setDecipherKey \
303  AES256_setDecipherKey
304 #endif
305 #ifdef ROM_AES256_reset
306 #define MAP_AES256_reset \
307  ROM_AES256_reset
308 #else
309 #define MAP_AES256_reset \
310  AES256_reset
311 #endif
312 #ifdef ROM_AES256_startEncryptData
313 #define MAP_AES256_startEncryptData \
314  ROM_AES256_startEncryptData
315 #else
316 #define MAP_AES256_startEncryptData \
317  AES256_startEncryptData
318 #endif
319 #ifdef ROM_AES256_startDecryptData
320 #define MAP_AES256_startDecryptData \
321  ROM_AES256_startDecryptData
322 #else
323 #define MAP_AES256_startDecryptData \
324  AES256_startDecryptData
325 #endif
326 #ifdef ROM_AES256_startSetDecipherKey
327 #define MAP_AES256_startSetDecipherKey \
328  ROM_AES256_startSetDecipherKey
329 #else
330 #define MAP_AES256_startSetDecipherKey \
331  AES256_startSetDecipherKey
332 #endif
333 #ifdef ROM_AES256_getDataOut
334 #define MAP_AES256_getDataOut \
335  ROM_AES256_getDataOut
336 #else
337 #define MAP_AES256_getDataOut \
338  AES256_getDataOut
339 #endif
340 #ifdef ROM_AES256_isBusy
341 #define MAP_AES256_isBusy \
342  ROM_AES256_isBusy
343 #else
344 #define MAP_AES256_isBusy \
345  AES256_isBusy
346 #endif
347 #ifdef ROM_AES256_clearErrorFlag
348 #define MAP_AES256_clearErrorFlag \
349  ROM_AES256_clearErrorFlag
350 #else
351 #define MAP_AES256_clearErrorFlag \
352  AES256_clearErrorFlag
353 #endif
354 #ifdef ROM_AES256_getErrorFlagStatus
355 #define MAP_AES256_getErrorFlagStatus \
356  ROM_AES256_getErrorFlagStatus
357 #else
358 #define MAP_AES256_getErrorFlagStatus \
359  AES256_getErrorFlagStatus
360 #endif
361 #ifdef ROM_AES256_clearInterruptFlag
362 #define MAP_AES256_clearInterruptFlag \
363  ROM_AES256_clearInterruptFlag
364 #else
365 #define MAP_AES256_clearInterruptFlag \
366  AES256_clearInterruptFlag
367 #endif
368 #ifdef ROM_AES256_getInterruptStatus
369 #define MAP_AES256_getInterruptStatus \
370  ROM_AES256_getInterruptStatus
371 #else
372 #define MAP_AES256_getInterruptStatus \
373  AES256_getInterruptStatus
374 #endif
375 #ifdef ROM_AES256_enableInterrupt
376 #define MAP_AES256_enableInterrupt \
377  ROM_AES256_enableInterrupt
378 #else
379 #define MAP_AES256_enableInterrupt \
380  AES256_enableInterrupt
381 #endif
382 #ifdef ROM_AES256_disableInterrupt
383 #define MAP_AES256_disableInterrupt \
384  ROM_AES256_disableInterrupt
385 #else
386 #define MAP_AES256_disableInterrupt \
387  AES256_disableInterrupt
388 #endif
389 #ifdef ROM_AES256_registerInterrupt
390 #define MAP_AES256_registerInterrupt \
391  ROM_AES256_registerInterrupt
392 #else
393 #define MAP_AES256_registerInterrupt \
394  AES256_registerInterrupt
395 #endif
396 #ifdef ROM_AES256_unregisterInterrupt
397 #define MAP_AES256_unregisterInterrupt \
398  ROM_AES256_unregisterInterrupt
399 #else
400 #define MAP_AES256_unregisterInterrupt \
401  AES256_unregisterInterrupt
402 #endif
403 #ifdef ROM_AES256_getInterruptFlagStatus
404 #define MAP_AES256_getInterruptFlagStatus \
405  ROM_AES256_getInterruptFlagStatus
406 #else
407 #define MAP_AES256_getInterruptFlagStatus \
408  AES256_getInterruptFlagStatus
409 #endif
410 
411 //*****************************************************************************
412 //
413 // Macros for the Comp API.
414 //
415 //*****************************************************************************
416 #ifdef ROM_COMP_E_initModule
417 #define MAP_COMP_E_initModule \
418  ROM_COMP_E_initModule
419 #else
420 #define MAP_COMP_E_initModule \
421  COMP_E_initModule
422 #endif
423 #ifdef ROM_COMP_E_setReferenceVoltage
424 #define MAP_COMP_E_setReferenceVoltage \
425  ROM_COMP_E_setReferenceVoltage
426 #else
427 #define MAP_COMP_E_setReferenceVoltage \
428  COMP_E_setReferenceVoltage
429 #endif
430 #ifdef ROM_COMP_E_setReferenceAccuracy
431 #define MAP_COMP_E_setReferenceAccuracy \
432  ROM_COMP_E_setReferenceAccuracy
433 #else
434 #define MAP_COMP_E_setReferenceAccuracy \
435  COMP_E_setReferenceAccuracy
436 #endif
437 #ifdef ROM_COMP_E_setPowerMode
438 #define MAP_COMP_E_setPowerMode \
439  ROM_COMP_E_setPowerMode
440 #else
441 #define MAP_COMP_E_setPowerMode \
442  COMP_E_setPowerMode
443 #endif
444 #ifdef ROM_COMP_E_enableModule
445 #define MAP_COMP_E_enableModule \
446  ROM_COMP_E_enableModule
447 #else
448 #define MAP_COMP_E_enableModule \
449  COMP_E_enableModule
450 #endif
451 #ifdef ROM_COMP_E_disableModule
452 #define MAP_COMP_E_disableModule \
453  ROM_COMP_E_disableModule
454 #else
455 #define MAP_COMP_E_disableModule \
456  COMP_E_disableModule
457 #endif
458 #ifdef ROM_COMP_E_shortInputs
459 #define MAP_COMP_E_shortInputs \
460  ROM_COMP_E_shortInputs
461 #else
462 #define MAP_COMP_E_shortInputs \
463  COMP_E_shortInputs
464 #endif
465 #ifdef ROM_COMP_E_unshortInputs
466 #define MAP_COMP_E_unshortInputs \
467  ROM_COMP_E_unshortInputs
468 #else
469 #define MAP_COMP_E_unshortInputs \
470  COMP_E_unshortInputs
471 #endif
472 #ifdef ROM_COMP_E_disableInputBuffer
473 #define MAP_COMP_E_disableInputBuffer \
474  ROM_COMP_E_disableInputBuffer
475 #else
476 #define MAP_COMP_E_disableInputBuffer \
477  COMP_E_disableInputBuffer
478 #endif
479 #ifdef ROM_COMP_E_enableInputBuffer
480 #define MAP_COMP_E_enableInputBuffer \
481  ROM_COMP_E_enableInputBuffer
482 #else
483 #define MAP_COMP_E_enableInputBuffer \
484  COMP_E_enableInputBuffer
485 #endif
486 #ifdef ROM_COMP_E_swapIO
487 #define MAP_COMP_E_swapIO \
488  ROM_COMP_E_swapIO
489 #else
490 #define MAP_COMP_E_swapIO \
491  COMP_E_swapIO
492 #endif
493 #ifdef ROM_COMP_E_outputValue
494 #define MAP_COMP_E_outputValue \
495  ROM_COMP_E_outputValue
496 #else
497 #define MAP_COMP_E_outputValue \
498  COMP_E_outputValue
499 #endif
500 #ifdef ROM_COMP_E_enableInterrupt
501 #define MAP_COMP_E_enableInterrupt \
502  ROM_COMP_E_enableInterrupt
503 #else
504 #define MAP_COMP_E_enableInterrupt \
505  COMP_E_enableInterrupt
506 #endif
507 #ifdef ROM_COMP_E_disableInterrupt
508 #define MAP_COMP_E_disableInterrupt \
509  ROM_COMP_E_disableInterrupt
510 #else
511 #define MAP_COMP_E_disableInterrupt \
512  COMP_E_disableInterrupt
513 #endif
514 #ifdef ROM_COMP_E_clearInterruptFlag
515 #define MAP_COMP_E_clearInterruptFlag \
516  ROM_COMP_E_clearInterruptFlag
517 #else
518 #define MAP_COMP_E_clearInterruptFlag \
519  COMP_E_clearInterruptFlag
520 #endif
521 #ifdef ROM_COMP_E_getInterruptStatus
522 #define MAP_COMP_E_getInterruptStatus \
523  ROM_COMP_E_getInterruptStatus
524 #else
525 #define MAP_COMP_E_getInterruptStatus \
526  COMP_E_getInterruptStatus
527 #endif
528 #ifdef ROM_COMP_E_getEnabledInterruptStatus
529 #define MAP_COMP_E_getEnabledInterruptStatus \
530  ROM_COMP_E_getEnabledInterruptStatus
531 #else
532 #define MAP_COMP_E_getEnabledInterruptStatus \
533  COMP_E_getEnabledInterruptStatus
534 #endif
535 #ifdef ROM_COMP_E_setInterruptEdgeDirection
536 #define MAP_COMP_E_setInterruptEdgeDirection \
537  ROM_COMP_E_setInterruptEdgeDirection
538 #else
539 #define MAP_COMP_E_setInterruptEdgeDirection \
540  COMP_E_setInterruptEdgeDirection
541 #endif
542 #ifdef ROM_COMP_E_toggleInterruptEdgeDirection
543 #define MAP_COMP_E_toggleInterruptEdgeDirection \
544  ROM_COMP_E_toggleInterruptEdgeDirection
545 #else
546 #define MAP_COMP_E_toggleInterruptEdgeDirection \
547  COMP_E_toggleInterruptEdgeDirection
548 #endif
549 #ifdef ROM_COMP_E_registerInterrupt
550 #define MAP_COMP_E_registerInterrupt \
551  ROM_COMP_E_registerInterrupt
552 #else
553 #define MAP_COMP_E_registerInterrupt \
554  COMP_E_registerInterrupt
555 #endif
556 #ifdef ROM_COMP_E_unregisterInterrupt
557 #define MAP_COMP_E_unregisterInterrupt \
558  ROM_COMP_E_unregisterInterrupt
559 #else
560 #define MAP_COMP_E_unregisterInterrupt \
561  COMP_E_unregisterInterrupt
562 #endif
563 
564 //*****************************************************************************
565 //
566 // Macros for the CRC32 API.
567 //
568 //*****************************************************************************
569 #ifdef ROM_CRC32_setSeed
570 #define MAP_CRC32_setSeed \
571  ROM_CRC32_setSeed
572 #else
573 #define MAP_CRC32_setSeed \
574  CRC32_setSeed
575 #endif
576 #ifdef ROM_CRC32_set8BitData
577 #define MAP_CRC32_set8BitData \
578  ROM_CRC32_set8BitData
579 #else
580 #define MAP_CRC32_set8BitData \
581  CRC32_set8BitData
582 #endif
583 #ifdef ROM_CRC32_set16BitData
584 #define MAP_CRC32_set16BitData \
585  ROM_CRC32_set16BitData
586 #else
587 #define MAP_CRC32_set16BitData \
588  CRC32_set16BitData
589 #endif
590 #ifdef ROM_CRC32_set32BitData
591 #define MAP_CRC32_set32BitData \
592  ROM_CRC32_set32BitData
593 #else
594 #define MAP_CRC32_set32BitData \
595  CRC32_set32BitData
596 #endif
597 #ifdef ROM_CRC32_set8BitDataReversed
598 #define MAP_CRC32_set8BitDataReversed \
599  ROM_CRC32_set8BitDataReversed
600 #else
601 #define MAP_CRC32_set8BitDataReversed \
602  CRC32_set8BitDataReversed
603 #endif
604 #ifdef ROM_CRC32_set16BitDataReversed
605 #define MAP_CRC32_set16BitDataReversed \
606  ROM_CRC32_set16BitDataReversed
607 #else
608 #define MAP_CRC32_set16BitDataReversed \
609  CRC32_set16BitDataReversed
610 #endif
611 #ifdef ROM_CRC32_set32BitDataReversed
612 #define MAP_CRC32_set32BitDataReversed \
613  ROM_CRC32_set32BitDataReversed
614 #else
615 #define MAP_CRC32_set32BitDataReversed \
616  CRC32_set32BitDataReversed
617 #endif
618 #ifdef ROM_CRC32_getResult
619 #define MAP_CRC32_getResult \
620  ROM_CRC32_getResult
621 #else
622 #define MAP_CRC32_getResult \
623  CRC32_getResult
624 #endif
625 #ifdef ROM_CRC32_getResultReversed
626 #define MAP_CRC32_getResultReversed \
627  ROM_CRC32_getResultReversed
628 #else
629 #define MAP_CRC32_getResultReversed \
630  CRC32_getResultReversed
631 #endif
632 
633 //*****************************************************************************
634 //
635 // Macros for the CS API.
636 //
637 //*****************************************************************************
638 #ifdef ROM_CS_initClockSignal
639 #define MAP_CS_initClockSignal \
640  ROM_CS_initClockSignal
641 #else
642 #define MAP_CS_initClockSignal \
643  CS_initClockSignal
644 #endif
645 #ifdef ROM_CS_setReferenceOscillatorFrequency
646 #define MAP_CS_setReferenceOscillatorFrequency \
647  ROM_CS_setReferenceOscillatorFrequency
648 #else
649 #define MAP_CS_setReferenceOscillatorFrequency \
650  CS_setReferenceOscillatorFrequency
651 #endif
652 #ifdef ROM_CS_enableClockRequest
653 #define MAP_CS_enableClockRequest \
654  ROM_CS_enableClockRequest
655 #else
656 #define MAP_CS_enableClockRequest \
657  CS_enableClockRequest
658 #endif
659 #ifdef ROM_CS_disableClockRequest
660 #define MAP_CS_disableClockRequest \
661  ROM_CS_disableClockRequest
662 #else
663 #define MAP_CS_disableClockRequest \
664  CS_disableClockRequest
665 #endif
666 #ifdef ROM_CS_setDCOCenteredFrequency
667 #define MAP_CS_setDCOCenteredFrequency \
668  ROM_CS_setDCOCenteredFrequency
669 #else
670 #define MAP_CS_setDCOCenteredFrequency \
671  CS_setDCOCenteredFrequency
672 #endif
673 #ifdef ROM_CS_tuneDCOFrequency
674 #define MAP_CS_tuneDCOFrequency \
675  ROM_CS_tuneDCOFrequency
676 #else
677 #define MAP_CS_tuneDCOFrequency \
678  CS_tuneDCOFrequency
679 #endif
680 #ifdef ROM_CS_enableDCOExternalResistor
681 #define MAP_CS_enableDCOExternalResistor \
682  ROM_CS_enableDCOExternalResistor
683 #else
684 #define MAP_CS_enableDCOExternalResistor \
685  CS_enableDCOExternalResistor
686 #endif
687 #ifdef ROM_CS_disableDCOExternalResistor
688 #define MAP_CS_disableDCOExternalResistor \
689  ROM_CS_disableDCOExternalResistor
690 #else
691 #define MAP_CS_disableDCOExternalResistor \
692  CS_disableDCOExternalResistor
693 #endif
694 #ifdef ROM_CS_enableInterrupt
695 #define MAP_CS_enableInterrupt \
696  ROM_CS_enableInterrupt
697 #else
698 #define MAP_CS_enableInterrupt \
699  CS_enableInterrupt
700 #endif
701 #ifdef ROM_CS_disableInterrupt
702 #define MAP_CS_disableInterrupt \
703  ROM_CS_disableInterrupt
704 #else
705 #define MAP_CS_disableInterrupt \
706  CS_disableInterrupt
707 #endif
708 #ifdef ROM_CS_getEnabledInterruptStatus
709 #define MAP_CS_getEnabledInterruptStatus \
710  ROM_CS_getEnabledInterruptStatus
711 #else
712 #define MAP_CS_getEnabledInterruptStatus \
713  CS_getEnabledInterruptStatus
714 #endif
715 #ifdef ROM_CS_getInterruptStatus
716 #define MAP_CS_getInterruptStatus \
717  ROM_CS_getInterruptStatus
718 #else
719 #define MAP_CS_getInterruptStatus \
720  CS_getInterruptStatus
721 #endif
722 #ifdef ROM_CS_setDCOFrequency
723 #define MAP_CS_setDCOFrequency \
724  ROM_CS_setDCOFrequency
725 #else
726 #define MAP_CS_setDCOFrequency \
727  CS_setDCOFrequency
728 #endif
729 #ifdef ROM_CS_getDCOFrequency
730 #define MAP_CS_getDCOFrequency \
731  ROM_CS_getDCOFrequency
732 #else
733 #define MAP_CS_getDCOFrequency \
734  CS_getDCOFrequency
735 #endif
736 #ifdef ROM_CS_enableFaultCounter
737 #define MAP_CS_enableFaultCounter \
738  ROM_CS_enableFaultCounter
739 #else
740 #define MAP_CS_enableFaultCounter \
741  CS_enableFaultCounter
742 #endif
743 #ifdef ROM_CS_disableFaultCounter
744 #define MAP_CS_disableFaultCounter \
745  ROM_CS_disableFaultCounter
746 #else
747 #define MAP_CS_disableFaultCounter \
748  CS_disableFaultCounter
749 #endif
750 #ifdef ROM_CS_resetFaultCounter
751 #define MAP_CS_resetFaultCounter \
752  ROM_CS_resetFaultCounter
753 #else
754 #define MAP_CS_resetFaultCounter \
755  CS_resetFaultCounter
756 #endif
757 #ifdef ROM_CS_startFaultCounter
758 #define MAP_CS_startFaultCounter \
759  ROM_CS_startFaultCounter
760 #else
761 #define MAP_CS_startFaultCounter \
762  CS_startFaultCounter
763 #endif
764 #ifdef ROM_CS_registerInterrupt
765 #define MAP_CS_registerInterrupt \
766  ROM_CS_registerInterrupt
767 #else
768 #define MAP_CS_registerInterrupt \
769  CS_registerInterrupt
770 #endif
771 #ifdef ROM_CS_unregisterInterrupt
772 #define MAP_CS_unregisterInterrupt \
773  ROM_CS_unregisterInterrupt
774 #else
775 #define MAP_CS_unregisterInterrupt \
776  CS_unregisterInterrupt
777 #endif
778 #ifdef ROM_CS_clearInterruptFlag
779 #define MAP_CS_clearInterruptFlag \
780  ROM_CS_clearInterruptFlag
781 #else
782 #define MAP_CS_clearInterruptFlag \
783  CS_clearInterruptFlag
784 #endif
785 #ifdef ROM_CS_getACLK
786 #define MAP_CS_getACLK \
787  ROM_CS_getACLK
788 #else
789 #define MAP_CS_getACLK \
790  CS_getACLK
791 #endif
792 #ifdef ROM_CS_getSMCLK
793 #define MAP_CS_getSMCLK \
794  ROM_CS_getSMCLK
795 #else
796 #define MAP_CS_getSMCLK \
797  CS_getSMCLK
798 #endif
799 #ifdef ROM_CS_getMCLK
800 #define MAP_CS_getMCLK \
801  ROM_CS_getMCLK
802 #else
803 #define MAP_CS_getMCLK \
804  CS_getMCLK
805 #endif
806 #ifdef ROM_CS_getBCLK
807 #define MAP_CS_getBCLK \
808  ROM_CS_getBCLK
809 #else
810 #define MAP_CS_getBCLK \
811  CS_getBCLK
812 #endif
813 #ifdef ROM_CS_getHSMCLK
814 #define MAP_CS_getHSMCLK \
815  ROM_CS_getHSMCLK
816 #else
817 #define MAP_CS_getHSMCLK \
818  CS_getHSMCLK
819 #endif
820 #ifdef ROM_CS_startHFXT
821 #define MAP_CS_startHFXT \
822  ROM_CS_startHFXT
823 #else
824 #define MAP_CS_startHFXT \
825  CS_startHFXT
826 #endif
827 #ifdef ROM_CS_startHFXTWithTimeout
828 #define MAP_CS_startHFXTWithTimeout \
829  ROM_CS_startHFXTWithTimeout
830 #else
831 #define MAP_CS_startHFXTWithTimeout \
832  CS_startHFXTWithTimeout
833 #endif
834 #ifdef ROM_CS_startLFXT
835 #define MAP_CS_startLFXT \
836  ROM_CS_startLFXT
837 #else
838 #define MAP_CS_startLFXT \
839  CS_startLFXT
840 #endif
841 #ifdef ROM_CS_startLFXTWithTimeout
842 #define MAP_CS_startLFXTWithTimeout \
843  ROM_CS_startLFXTWithTimeout
844 #else
845 #define MAP_CS_startLFXTWithTimeout \
846  CS_startLFXTWithTimeout
847 #endif
848 #ifdef ROM_CS_setExternalClockSourceFrequency
849 #define MAP_CS_setExternalClockSourceFrequency \
850  ROM_CS_setExternalClockSourceFrequency
851 #else
852 #define MAP_CS_setExternalClockSourceFrequency \
853  CS_setExternalClockSourceFrequency
854 #endif
855 #ifdef ROM_CS_setDCOExternalResistorCalibration
856 #define MAP_CS_setDCOExternalResistorCalibration \
857  ROM_CS_setDCOExternalResistorCalibration
858 #else
859 #define MAP_CS_setDCOExternalResistorCalibration \
860  CS_setDCOExternalResistorCalibration
861 #endif
862 
863 //*****************************************************************************
864 //
865 // Macros for the DMA API.
866 //
867 //*****************************************************************************
868 #ifdef ROM_DMA_enableModule
869 #define MAP_DMA_enableModule \
870  ROM_DMA_enableModule
871 #else
872 #define MAP_DMA_enableModule \
873  DMA_enableModule
874 #endif
875 #ifdef ROM_DMA_disableModule
876 #define MAP_DMA_disableModule \
877  ROM_DMA_disableModule
878 #else
879 #define MAP_DMA_disableModule \
880  DMA_disableModule
881 #endif
882 #ifdef ROM_DMA_getErrorStatus
883 #define MAP_DMA_getErrorStatus \
884  ROM_DMA_getErrorStatus
885 #else
886 #define MAP_DMA_getErrorStatus \
887  DMA_getErrorStatus
888 #endif
889 #ifdef ROM_DMA_clearErrorStatus
890 #define MAP_DMA_clearErrorStatus \
891  ROM_DMA_clearErrorStatus
892 #else
893 #define MAP_DMA_clearErrorStatus \
894  DMA_clearErrorStatus
895 #endif
896 #ifdef ROM_DMA_enableChannel
897 #define MAP_DMA_enableChannel \
898  ROM_DMA_enableChannel
899 #else
900 #define MAP_DMA_enableChannel \
901  DMA_enableChannel
902 #endif
903 #ifdef ROM_DMA_disableChannel
904 #define MAP_DMA_disableChannel \
905  ROM_DMA_disableChannel
906 #else
907 #define MAP_DMA_disableChannel \
908  DMA_disableChannel
909 #endif
910 #ifdef ROM_DMA_isChannelEnabled
911 #define MAP_DMA_isChannelEnabled \
912  ROM_DMA_isChannelEnabled
913 #else
914 #define MAP_DMA_isChannelEnabled \
915  DMA_isChannelEnabled
916 #endif
917 #ifdef ROM_DMA_setControlBase
918 #define MAP_DMA_setControlBase \
919  ROM_DMA_setControlBase
920 #else
921 #define MAP_DMA_setControlBase \
922  DMA_setControlBase
923 #endif
924 #ifdef ROM_DMA_getControlBase
925 #define MAP_DMA_getControlBase \
926  ROM_DMA_getControlBase
927 #else
928 #define MAP_DMA_getControlBase \
929  DMA_getControlBase
930 #endif
931 #ifdef ROM_DMA_getControlAlternateBase
932 #define MAP_DMA_getControlAlternateBase \
933  ROM_DMA_getControlAlternateBase
934 #else
935 #define MAP_DMA_getControlAlternateBase \
936  DMA_getControlAlternateBase
937 #endif
938 #ifdef ROM_DMA_requestChannel
939 #define MAP_DMA_requestChannel \
940  ROM_DMA_requestChannel
941 #else
942 #define MAP_DMA_requestChannel \
943  DMA_requestChannel
944 #endif
945 #ifdef ROM_DMA_enableChannelAttribute
946 #define MAP_DMA_enableChannelAttribute \
947  ROM_DMA_enableChannelAttribute
948 #else
949 #define MAP_DMA_enableChannelAttribute \
950  DMA_enableChannelAttribute
951 #endif
952 #ifdef ROM_DMA_disableChannelAttribute
953 #define MAP_DMA_disableChannelAttribute \
954  ROM_DMA_disableChannelAttribute
955 #else
956 #define MAP_DMA_disableChannelAttribute \
957  DMA_disableChannelAttribute
958 #endif
959 #ifdef ROM_DMA_getChannelAttribute
960 #define MAP_DMA_getChannelAttribute \
961  ROM_DMA_getChannelAttribute
962 #else
963 #define MAP_DMA_getChannelAttribute \
964  DMA_getChannelAttribute
965 #endif
966 #ifdef ROM_DMA_setChannelControl
967 #define MAP_DMA_setChannelControl \
968  ROM_DMA_setChannelControl
969 #else
970 #define MAP_DMA_setChannelControl \
971  DMA_setChannelControl
972 #endif
973 #ifdef ROM_DMA_setChannelTransfer
974 #define MAP_DMA_setChannelTransfer \
975  ROM_DMA_setChannelTransfer
976 #else
977 #define MAP_DMA_setChannelTransfer \
978  DMA_setChannelTransfer
979 #endif
980 #ifdef ROM_DMA_setChannelScatterGather
981 #define MAP_DMA_setChannelScatterGather \
982  ROM_DMA_setChannelScatterGather
983 #else
984 #define MAP_DMA_setChannelScatterGather \
985  DMA_setChannelScatterGather
986 #endif
987 #ifdef ROM_DMA_getChannelSize
988 #define MAP_DMA_getChannelSize \
989  ROM_DMA_getChannelSize
990 #else
991 #define MAP_DMA_getChannelSize \
992  DMA_getChannelSize
993 #endif
994 #ifdef ROM_DMA_getChannelMode
995 #define MAP_DMA_getChannelMode \
996  ROM_DMA_getChannelMode
997 #else
998 #define MAP_DMA_getChannelMode \
999  DMA_getChannelMode
1000 #endif
1001 #ifdef ROM_DMA_assignChannel
1002 #define MAP_DMA_assignChannel \
1003  ROM_DMA_assignChannel
1004 #else
1005 #define MAP_DMA_assignChannel \
1006  DMA_assignChannel
1007 #endif
1008 #ifdef ROM_DMA_requestSoftwareTransfer
1009 #define MAP_DMA_requestSoftwareTransfer \
1010  ROM_DMA_requestSoftwareTransfer
1011 #else
1012 #define MAP_DMA_requestSoftwareTransfer \
1013  DMA_requestSoftwareTransfer
1014 #endif
1015 #ifdef ROM_DMA_assignInterrupt
1016 #define MAP_DMA_assignInterrupt \
1017  ROM_DMA_assignInterrupt
1018 #else
1019 #define MAP_DMA_assignInterrupt \
1020  DMA_assignInterrupt
1021 #endif
1022 #ifdef ROM_DMA_enableInterrupt
1023 #define MAP_DMA_enableInterrupt \
1024  ROM_DMA_enableInterrupt
1025 #else
1026 #define MAP_DMA_enableInterrupt \
1027  DMA_enableInterrupt
1028 #endif
1029 #ifdef ROM_DMA_disableInterrupt
1030 #define MAP_DMA_disableInterrupt \
1031  ROM_DMA_disableInterrupt
1032 #else
1033 #define MAP_DMA_disableInterrupt \
1034  DMA_disableInterrupt
1035 #endif
1036 #ifdef ROM_DMA_getInterruptStatus
1037 #define MAP_DMA_getInterruptStatus \
1038  ROM_DMA_getInterruptStatus
1039 #else
1040 #define MAP_DMA_getInterruptStatus \
1041  DMA_getInterruptStatus
1042 #endif
1043 #ifdef ROM_DMA_clearInterruptFlag
1044 #define MAP_DMA_clearInterruptFlag \
1045  ROM_DMA_clearInterruptFlag
1046 #else
1047 #define MAP_DMA_clearInterruptFlag \
1048  DMA_clearInterruptFlag
1049 #endif
1050 #ifdef ROM_DMA_registerInterrupt
1051 #define MAP_DMA_registerInterrupt \
1052  ROM_DMA_registerInterrupt
1053 #else
1054 #define MAP_DMA_registerInterrupt \
1055  DMA_registerInterrupt
1056 #endif
1057 #ifdef ROM_DMA_unregisterInterrupt
1058 #define MAP_DMA_unregisterInterrupt \
1059  ROM_DMA_unregisterInterrupt
1060 #else
1061 #define MAP_DMA_unregisterInterrupt \
1062  DMA_unregisterInterrupt
1063 #endif
1064 
1065 //*****************************************************************************
1066 //
1067 // Macros for the Flash API.
1068 //
1069 //*****************************************************************************
1070 #ifdef ROM_FlashCtl_enableReadParityCheck
1071 #define MAP_FlashCtl_enableReadParityCheck \
1072  ROM_FlashCtl_enableReadParityCheck
1073 #else
1074 #define MAP_FlashCtl_enableReadParityCheck \
1075  FlashCtl_enableReadParityCheck
1076 #endif
1077 #ifdef ROM_FlashCtl_disableReadParityCheck
1078 #define MAP_FlashCtl_disableReadParityCheck \
1079  ROM_FlashCtl_disableReadParityCheck
1080 #else
1081 #define MAP_FlashCtl_disableReadParityCheck \
1082  FlashCtl_disableReadParityCheck
1083 #endif
1084 #ifdef ROM_FlashCtl_enableReadBuffering
1085 #define MAP_FlashCtl_enableReadBuffering \
1086  ROM_FlashCtl_enableReadBuffering
1087 #else
1088 #define MAP_FlashCtl_enableReadBuffering \
1089  FlashCtl_enableReadBuffering
1090 #endif
1091 #ifdef ROM_FlashCtl_disableReadBuffering
1092 #define MAP_FlashCtl_disableReadBuffering \
1093  ROM_FlashCtl_disableReadBuffering
1094 #else
1095 #define MAP_FlashCtl_disableReadBuffering \
1096  FlashCtl_disableReadBuffering
1097 #endif
1098 #ifdef ROM_FlashCtl_unprotectSector
1099 #define MAP_FlashCtl_unprotectSector \
1100  ROM_FlashCtl_unprotectSector
1101 #else
1102 #define MAP_FlashCtl_unprotectSector \
1103  FlashCtl_unprotectSector
1104 #endif
1105 #ifdef ROM_FlashCtl_protectSector
1106 #define MAP_FlashCtl_protectSector \
1107  ROM_FlashCtl_protectSector
1108 #else
1109 #define MAP_FlashCtl_protectSector \
1110  FlashCtl_protectSector
1111 #endif
1112 #ifdef ROM_FlashCtl_isSectorProtected
1113 #define MAP_FlashCtl_isSectorProtected \
1114  ROM_FlashCtl_isSectorProtected
1115 #else
1116 #define MAP_FlashCtl_isSectorProtected \
1117  FlashCtl_isSectorProtected
1118 #endif
1119 #ifdef ROM_FlashCtl_verifyMemory
1120 #define MAP_FlashCtl_verifyMemory \
1121  ROM_FlashCtl_verifyMemory
1122 #else
1123 #define MAP_FlashCtl_verifyMemory \
1124  FlashCtl_verifyMemory
1125 #endif
1126 #ifdef ROM_FlashCtl_performMassErase
1127 #define MAP_FlashCtl_performMassErase \
1128  ROM_FlashCtl_performMassErase
1129 #else
1130 #define MAP_FlashCtl_performMassErase \
1131  FlashCtl_performMassErase
1132 #endif
1133 #ifdef ROM_FlashCtl_eraseSector
1134 #define MAP_FlashCtl_eraseSector \
1135  ROM_FlashCtl_eraseSector
1136 #else
1137 #define MAP_FlashCtl_eraseSector \
1138  FlashCtl_eraseSector
1139 #endif
1140 #ifdef ROM_FlashCtl_programMemory
1141 #define MAP_FlashCtl_programMemory \
1142  ROM_FlashCtl_programMemory
1143 #else
1144 #define MAP_FlashCtl_programMemory \
1145  FlashCtl_programMemory
1146 #endif
1147 #ifdef ROM_FlashCtl_setProgramVerification
1148 #define MAP_FlashCtl_setProgramVerification \
1149  ROM_FlashCtl_setProgramVerification
1150 #else
1151 #define MAP_FlashCtl_setProgramVerification \
1152  FlashCtl_setProgramVerification
1153 #endif
1154 #ifdef ROM_FlashCtl_clearProgramVerification
1155 #define MAP_FlashCtl_clearProgramVerification \
1156  ROM_FlashCtl_clearProgramVerification
1157 #else
1158 #define MAP_FlashCtl_clearProgramVerification \
1159  FlashCtl_clearProgramVerification
1160 #endif
1161 #ifdef ROM_FlashCtl_enableWordProgramming
1162 #define MAP_FlashCtl_enableWordProgramming \
1163  ROM_FlashCtl_enableWordProgramming
1164 #else
1165 #define MAP_FlashCtl_enableWordProgramming \
1166  FlashCtl_enableWordProgramming
1167 #endif
1168 #ifdef ROM_FlashCtl_disableWordProgramming
1169 #define MAP_FlashCtl_disableWordProgramming \
1170  ROM_FlashCtl_disableWordProgramming
1171 #else
1172 #define MAP_FlashCtl_disableWordProgramming \
1173  FlashCtl_disableWordProgramming
1174 #endif
1175 #ifdef ROM_FlashCtl_isWordProgrammingEnabled
1176 #define MAP_FlashCtl_isWordProgrammingEnabled \
1177  ROM_FlashCtl_isWordProgrammingEnabled
1178 #else
1179 #define MAP_FlashCtl_isWordProgrammingEnabled \
1180  FlashCtl_isWordProgrammingEnabled
1181 #endif
1182 #ifdef ROM_FlashCtl_enableInterrupt
1183 #define MAP_FlashCtl_enableInterrupt \
1184  ROM_FlashCtl_enableInterrupt
1185 #else
1186 #define MAP_FlashCtl_enableInterrupt \
1187  FlashCtl_enableInterrupt
1188 #endif
1189 #ifdef ROM_FlashCtl_disableInterrupt
1190 #define MAP_FlashCtl_disableInterrupt \
1191  ROM_FlashCtl_disableInterrupt
1192 #else
1193 #define MAP_FlashCtl_disableInterrupt \
1194  FlashCtl_disableInterrupt
1195 #endif
1196 #ifdef ROM_FlashCtl_getEnabledInterruptStatus
1197 #define MAP_FlashCtl_getEnabledInterruptStatus \
1198  ROM_FlashCtl_getEnabledInterruptStatus
1199 #else
1200 #define MAP_FlashCtl_getEnabledInterruptStatus \
1201  FlashCtl_getEnabledInterruptStatus
1202 #endif
1203 #ifdef ROM_FlashCtl_getInterruptStatus
1204 #define MAP_FlashCtl_getInterruptStatus \
1205  ROM_FlashCtl_getInterruptStatus
1206 #else
1207 #define MAP_FlashCtl_getInterruptStatus \
1208  FlashCtl_getInterruptStatus
1209 #endif
1210 #ifdef ROM_FlashCtl_clearInterruptFlag
1211 #define MAP_FlashCtl_clearInterruptFlag \
1212  ROM_FlashCtl_clearInterruptFlag
1213 #else
1214 #define MAP_FlashCtl_clearInterruptFlag \
1215  FlashCtl_clearInterruptFlag
1216 #endif
1217 #ifdef ROM_FlashCtl_setWaitState
1218 #define MAP_FlashCtl_setWaitState \
1219  ROM_FlashCtl_setWaitState
1220 #else
1221 #define MAP_FlashCtl_setWaitState \
1222  FlashCtl_setWaitState
1223 #endif
1224 #ifdef ROM_FlashCtl_getWaitState
1225 #define MAP_FlashCtl_getWaitState \
1226  ROM_FlashCtl_getWaitState
1227 #else
1228 #define MAP_FlashCtl_getWaitState \
1229  FlashCtl_getWaitState
1230 #endif
1231 #ifdef ROM_FlashCtl_setReadMode
1232 #define MAP_FlashCtl_setReadMode \
1233  ROM_FlashCtl_setReadMode
1234 #else
1235 #define MAP_FlashCtl_setReadMode \
1236  FlashCtl_setReadMode
1237 #endif
1238 #ifdef ROM_FlashCtl_getReadMode
1239 #define MAP_FlashCtl_getReadMode \
1240  ROM_FlashCtl_getReadMode
1241 #else
1242 #define MAP_FlashCtl_getReadMode \
1243  FlashCtl_getReadMode
1244 #endif
1245 #ifdef ROM_FlashCtl_registerInterrupt
1246 #define MAP_FlashCtl_registerInterrupt \
1247  ROM_FlashCtl_registerInterrupt
1248 #else
1249 #define MAP_FlashCtl_registerInterrupt \
1250  FlashCtl_registerInterrupt
1251 #endif
1252 #ifdef ROM_FlashCtl_unregisterInterrupt
1253 #define MAP_FlashCtl_unregisterInterrupt \
1254  ROM_FlashCtl_unregisterInterrupt
1255 #else
1256 #define MAP_FlashCtl_unregisterInterrupt \
1257  FlashCtl_unregisterInterrupt
1258 #endif
1259 #ifdef ROM___FlashCtl_remaskData8Post
1260 #define MAP___FlashCtl_remaskData8Post \
1261  ROM___FlashCtl_remaskData8Post
1262 #else
1263 #define MAP___FlashCtl_remaskData8Post \
1264  __FlashCtl_remaskData8Post
1265 #endif
1266 #ifdef ROM___FlashCtl_remaskData8Pre
1267 #define MAP___FlashCtl_remaskData8Pre \
1268  ROM___FlashCtl_remaskData8Pre
1269 #else
1270 #define MAP___FlashCtl_remaskData8Pre \
1271  __FlashCtl_remaskData8Pre
1272 #endif
1273 #ifdef ROM___FlashCtl_remaskData32Pre
1274 #define MAP___FlashCtl_remaskData32Pre \
1275  ROM___FlashCtl_remaskData32Pre
1276 #else
1277 #define MAP___FlashCtl_remaskData32Pre \
1278  __FlashCtl_remaskData32Pre
1279 #endif
1280 #ifdef ROM___FlashCtl_remaskData32Post
1281 #define MAP___FlashCtl_remaskData32Post \
1282  ROM___FlashCtl_remaskData32Post
1283 #else
1284 #define MAP___FlashCtl_remaskData32Post \
1285  __FlashCtl_remaskData32Post
1286 #endif
1287 #ifdef ROM___FlashCtl_remaskBurstDataPre
1288 #define MAP___FlashCtl_remaskBurstDataPre \
1289  ROM___FlashCtl_remaskBurstDataPre
1290 #else
1291 #define MAP___FlashCtl_remaskBurstDataPre \
1292  __FlashCtl_remaskBurstDataPre
1293 #endif
1294 #ifdef ROM___FlashCtl_remaskBurstDataPost
1295 #define MAP___FlashCtl_remaskBurstDataPost \
1296  ROM___FlashCtl_remaskBurstDataPost
1297 #else
1298 #define MAP___FlashCtl_remaskBurstDataPost \
1299  __FlashCtl_remaskBurstDataPost
1300 #endif
1301 #ifdef ROM_FlashCtl_initiateSectorErase
1302 #define MAP_FlashCtl_initiateSectorErase \
1303  ROM_FlashCtl_initiateSectorErase
1304 #else
1305 #define MAP_FlashCtl_initiateSectorErase \
1306  FlashCtl_initiateSectorErase
1307 #endif
1308 #ifdef ROM_FlashCtl_initiateMassErase
1309 #define MAP_FlashCtl_initiateMassErase \
1310  ROM_FlashCtl_initiateMassErase
1311 #else
1312 #define MAP_FlashCtl_initiateMassErase \
1313  FlashCtl_initiateMassErase
1314 #endif
1315 #ifdef ROM_FlashCtl_getMemoryInfo
1316 #define MAP_FlashCtl_getMemoryInfo \
1317  ROM_FlashCtl_getMemoryInfo
1318 #else
1319 #define MAP_FlashCtl_getMemoryInfo \
1320  FlashCtl_getMemoryInfo
1321 #endif
1322 
1323 //*****************************************************************************
1324 //
1325 // Macros for the FPU API.
1326 //
1327 //*****************************************************************************
1328 #ifdef ROM_FPU_enableModule
1329 #define MAP_FPU_enableModule \
1330  ROM_FPU_enableModule
1331 #else
1332 #define MAP_FPU_enableModule \
1333  FPU_enableModule
1334 #endif
1335 #ifdef ROM_FPU_disableModule
1336 #define MAP_FPU_disableModule \
1337  ROM_FPU_disableModule
1338 #else
1339 #define MAP_FPU_disableModule \
1340  FPU_disableModule
1341 #endif
1342 #ifdef ROM_FPU_enableStacking
1343 #define MAP_FPU_enableStacking \
1344  ROM_FPU_enableStacking
1345 #else
1346 #define MAP_FPU_enableStacking \
1347  FPU_enableStacking
1348 #endif
1349 #ifdef ROM_FPU_enableLazyStacking
1350 #define MAP_FPU_enableLazyStacking \
1351  ROM_FPU_enableLazyStacking
1352 #else
1353 #define MAP_FPU_enableLazyStacking \
1354  FPU_enableLazyStacking
1355 #endif
1356 #ifdef ROM_FPU_disableStacking
1357 #define MAP_FPU_disableStacking \
1358  ROM_FPU_disableStacking
1359 #else
1360 #define MAP_FPU_disableStacking \
1361  FPU_disableStacking
1362 #endif
1363 #ifdef ROM_FPU_setHalfPrecisionMode
1364 #define MAP_FPU_setHalfPrecisionMode \
1365  ROM_FPU_setHalfPrecisionMode
1366 #else
1367 #define MAP_FPU_setHalfPrecisionMode \
1368  FPU_setHalfPrecisionMode
1369 #endif
1370 #ifdef ROM_FPU_setNaNMode
1371 #define MAP_FPU_setNaNMode \
1372  ROM_FPU_setNaNMode
1373 #else
1374 #define MAP_FPU_setNaNMode \
1375  FPU_setNaNMode
1376 #endif
1377 #ifdef ROM_FPU_setFlushToZeroMode
1378 #define MAP_FPU_setFlushToZeroMode \
1379  ROM_FPU_setFlushToZeroMode
1380 #else
1381 #define MAP_FPU_setFlushToZeroMode \
1382  FPU_setFlushToZeroMode
1383 #endif
1384 #ifdef ROM_FPU_setRoundingMode
1385 #define MAP_FPU_setRoundingMode \
1386  ROM_FPU_setRoundingMode
1387 #else
1388 #define MAP_FPU_setRoundingMode \
1389  FPU_setRoundingMode
1390 #endif
1391 
1392 //*****************************************************************************
1393 //
1394 // Macros for the GPIO API.
1395 //
1396 //*****************************************************************************
1397 #ifdef ROM_GPIO_setAsOutputPin
1398 #define MAP_GPIO_setAsOutputPin \
1399  ROM_GPIO_setAsOutputPin
1400 #else
1401 #define MAP_GPIO_setAsOutputPin \
1402  GPIO_setAsOutputPin
1403 #endif
1404 #ifdef ROM_GPIO_setOutputHighOnPin
1405 #define MAP_GPIO_setOutputHighOnPin \
1406  ROM_GPIO_setOutputHighOnPin
1407 #else
1408 #define MAP_GPIO_setOutputHighOnPin \
1409  GPIO_setOutputHighOnPin
1410 #endif
1411 #ifdef ROM_GPIO_setOutputLowOnPin
1412 #define MAP_GPIO_setOutputLowOnPin \
1413  ROM_GPIO_setOutputLowOnPin
1414 #else
1415 #define MAP_GPIO_setOutputLowOnPin \
1416  GPIO_setOutputLowOnPin
1417 #endif
1418 #ifdef ROM_GPIO_toggleOutputOnPin
1419 #define MAP_GPIO_toggleOutputOnPin \
1420  ROM_GPIO_toggleOutputOnPin
1421 #else
1422 #define MAP_GPIO_toggleOutputOnPin \
1423  GPIO_toggleOutputOnPin
1424 #endif
1425 #ifdef ROM_GPIO_setAsInputPinWithPullDownResistor
1426 #define MAP_GPIO_setAsInputPinWithPullDownResistor \
1427  ROM_GPIO_setAsInputPinWithPullDownResistor
1428 #else
1429 #define MAP_GPIO_setAsInputPinWithPullDownResistor \
1430  GPIO_setAsInputPinWithPullDownResistor
1431 #endif
1432 #ifdef ROM_GPIO_setAsInputPinWithPullUpResistor
1433 #define MAP_GPIO_setAsInputPinWithPullUpResistor \
1434  ROM_GPIO_setAsInputPinWithPullUpResistor
1435 #else
1436 #define MAP_GPIO_setAsInputPinWithPullUpResistor \
1437  GPIO_setAsInputPinWithPullUpResistor
1438 #endif
1439 #ifdef ROM_GPIO_setAsPeripheralModuleFunctionOutputPin
1440 #define MAP_GPIO_setAsPeripheralModuleFunctionOutputPin \
1441  ROM_GPIO_setAsPeripheralModuleFunctionOutputPin
1442 #else
1443 #define MAP_GPIO_setAsPeripheralModuleFunctionOutputPin \
1444  GPIO_setAsPeripheralModuleFunctionOutputPin
1445 #endif
1446 #ifdef ROM_GPIO_setAsPeripheralModuleFunctionInputPin
1447 #define MAP_GPIO_setAsPeripheralModuleFunctionInputPin \
1448  ROM_GPIO_setAsPeripheralModuleFunctionInputPin
1449 #else
1450 #define MAP_GPIO_setAsPeripheralModuleFunctionInputPin \
1451  GPIO_setAsPeripheralModuleFunctionInputPin
1452 #endif
1453 #ifdef ROM_GPIO_getInputPinValue
1454 #define MAP_GPIO_getInputPinValue \
1455  ROM_GPIO_getInputPinValue
1456 #else
1457 #define MAP_GPIO_getInputPinValue \
1458  GPIO_getInputPinValue
1459 #endif
1460 #ifdef ROM_GPIO_interruptEdgeSelect
1461 #define MAP_GPIO_interruptEdgeSelect \
1462  ROM_GPIO_interruptEdgeSelect
1463 #else
1464 #define MAP_GPIO_interruptEdgeSelect \
1465  GPIO_interruptEdgeSelect
1466 #endif
1467 #ifdef ROM_GPIO_enableInterrupt
1468 #define MAP_GPIO_enableInterrupt \
1469  ROM_GPIO_enableInterrupt
1470 #else
1471 #define MAP_GPIO_enableInterrupt \
1472  GPIO_enableInterrupt
1473 #endif
1474 #ifdef ROM_GPIO_disableInterrupt
1475 #define MAP_GPIO_disableInterrupt \
1476  ROM_GPIO_disableInterrupt
1477 #else
1478 #define MAP_GPIO_disableInterrupt \
1479  GPIO_disableInterrupt
1480 #endif
1481 #ifdef ROM_GPIO_getInterruptStatus
1482 #define MAP_GPIO_getInterruptStatus \
1483  ROM_GPIO_getInterruptStatus
1484 #else
1485 #define MAP_GPIO_getInterruptStatus \
1486  GPIO_getInterruptStatus
1487 #endif
1488 #ifdef ROM_GPIO_clearInterruptFlag
1489 #define MAP_GPIO_clearInterruptFlag \
1490  ROM_GPIO_clearInterruptFlag
1491 #else
1492 #define MAP_GPIO_clearInterruptFlag \
1493  GPIO_clearInterruptFlag
1494 #endif
1495 #ifdef ROM_GPIO_setAsInputPin
1496 #define MAP_GPIO_setAsInputPin \
1497  ROM_GPIO_setAsInputPin
1498 #else
1499 #define MAP_GPIO_setAsInputPin \
1500  GPIO_setAsInputPin
1501 #endif
1502 #ifdef ROM_GPIO_getEnabledInterruptStatus
1503 #define MAP_GPIO_getEnabledInterruptStatus \
1504  ROM_GPIO_getEnabledInterruptStatus
1505 #else
1506 #define MAP_GPIO_getEnabledInterruptStatus \
1507  GPIO_getEnabledInterruptStatus
1508 #endif
1509 #ifdef ROM_GPIO_setDriveStrengthHigh
1510 #define MAP_GPIO_setDriveStrengthHigh \
1511  ROM_GPIO_setDriveStrengthHigh
1512 #else
1513 #define MAP_GPIO_setDriveStrengthHigh \
1514  GPIO_setDriveStrengthHigh
1515 #endif
1516 #ifdef ROM_GPIO_setDriveStrengthLow
1517 #define MAP_GPIO_setDriveStrengthLow \
1518  ROM_GPIO_setDriveStrengthLow
1519 #else
1520 #define MAP_GPIO_setDriveStrengthLow \
1521  GPIO_setDriveStrengthLow
1522 #endif
1523 #ifdef ROM_GPIO_registerInterrupt
1524 #define MAP_GPIO_registerInterrupt \
1525  ROM_GPIO_registerInterrupt
1526 #else
1527 #define MAP_GPIO_registerInterrupt \
1528  GPIO_registerInterrupt
1529 #endif
1530 #ifdef ROM_GPIO_unregisterInterrupt
1531 #define MAP_GPIO_unregisterInterrupt \
1532  ROM_GPIO_unregisterInterrupt
1533 #else
1534 #define MAP_GPIO_unregisterInterrupt \
1535  GPIO_unregisterInterrupt
1536 #endif
1537 
1538 //*****************************************************************************
1539 //
1540 // Macros for the I2C API.
1541 //
1542 //*****************************************************************************
1543 #ifdef ROM_I2C_initMaster
1544 #define MAP_I2C_initMaster \
1545  ROM_I2C_initMaster
1546 #else
1547 #define MAP_I2C_initMaster \
1548  I2C_initMaster
1549 #endif
1550 #ifdef ROM_I2C_initSlave
1551 #define MAP_I2C_initSlave \
1552  ROM_I2C_initSlave
1553 #else
1554 #define MAP_I2C_initSlave \
1555  I2C_initSlave
1556 #endif
1557 #ifdef ROM_I2C_enableModule
1558 #define MAP_I2C_enableModule \
1559  ROM_I2C_enableModule
1560 #else
1561 #define MAP_I2C_enableModule \
1562  I2C_enableModule
1563 #endif
1564 #ifdef ROM_I2C_disableModule
1565 #define MAP_I2C_disableModule \
1566  ROM_I2C_disableModule
1567 #else
1568 #define MAP_I2C_disableModule \
1569  I2C_disableModule
1570 #endif
1571 #ifdef ROM_I2C_setSlaveAddress
1572 #define MAP_I2C_setSlaveAddress \
1573  ROM_I2C_setSlaveAddress
1574 #else
1575 #define MAP_I2C_setSlaveAddress \
1576  I2C_setSlaveAddress
1577 #endif
1578 #ifdef ROM_I2C_setMode
1579 #define MAP_I2C_setMode \
1580  ROM_I2C_setMode
1581 #else
1582 #define MAP_I2C_setMode \
1583  I2C_setMode
1584 #endif
1585 #ifdef ROM_I2C_setTimeout
1586 #define MAP_I2C_setTimeout \
1587  ROM_I2C_setTimeout
1588 #else
1589 #define MAP_I2C_setTimeout \
1590  I2C_setTimeout
1591 #endif
1592 #ifdef ROM_I2C_slavePutData
1593 #define MAP_I2C_slavePutData \
1594  ROM_I2C_slavePutData
1595 #else
1596 #define MAP_I2C_slavePutData \
1597  I2C_slavePutData
1598 #endif
1599 #ifdef ROM_I2C_slaveGetData
1600 #define MAP_I2C_slaveGetData \
1601  ROM_I2C_slaveGetData
1602 #else
1603 #define MAP_I2C_slaveGetData \
1604  I2C_slaveGetData
1605 #endif
1606 #ifdef ROM_I2C_isBusBusy
1607 #define MAP_I2C_isBusBusy \
1608  ROM_I2C_isBusBusy
1609 #else
1610 #define MAP_I2C_isBusBusy \
1611  I2C_isBusBusy
1612 #endif
1613 #ifdef ROM_I2C_masterSendSingleByte
1614 #define MAP_I2C_masterSendSingleByte \
1615  ROM_I2C_masterSendSingleByte
1616 #else
1617 #define MAP_I2C_masterSendSingleByte \
1618  I2C_masterSendSingleByte
1619 #endif
1620 #ifdef ROM_I2C_masterSendSingleByteWithTimeout
1621 #define MAP_I2C_masterSendSingleByteWithTimeout \
1622  ROM_I2C_masterSendSingleByteWithTimeout
1623 #else
1624 #define MAP_I2C_masterSendSingleByteWithTimeout \
1625  I2C_masterSendSingleByteWithTimeout
1626 #endif
1627 #ifdef ROM_I2C_masterSendMultiByteStart
1628 #define MAP_I2C_masterSendMultiByteStart \
1629  ROM_I2C_masterSendMultiByteStart
1630 #else
1631 #define MAP_I2C_masterSendMultiByteStart \
1632  I2C_masterSendMultiByteStart
1633 #endif
1634 #ifdef ROM_I2C_masterSendMultiByteStartWithTimeout
1635 #define MAP_I2C_masterSendMultiByteStartWithTimeout \
1636  ROM_I2C_masterSendMultiByteStartWithTimeout
1637 #else
1638 #define MAP_I2C_masterSendMultiByteStartWithTimeout \
1639  I2C_masterSendMultiByteStartWithTimeout
1640 #endif
1641 #ifdef ROM_I2C_masterSendMultiByteNext
1642 #define MAP_I2C_masterSendMultiByteNext \
1643  ROM_I2C_masterSendMultiByteNext
1644 #else
1645 #define MAP_I2C_masterSendMultiByteNext \
1646  I2C_masterSendMultiByteNext
1647 #endif
1648 #ifdef ROM_I2C_masterSendMultiByteNextWithTimeout
1649 #define MAP_I2C_masterSendMultiByteNextWithTimeout \
1650  ROM_I2C_masterSendMultiByteNextWithTimeout
1651 #else
1652 #define MAP_I2C_masterSendMultiByteNextWithTimeout \
1653  I2C_masterSendMultiByteNextWithTimeout
1654 #endif
1655 #ifdef ROM_I2C_masterSendMultiByteFinish
1656 #define MAP_I2C_masterSendMultiByteFinish \
1657  ROM_I2C_masterSendMultiByteFinish
1658 #else
1659 #define MAP_I2C_masterSendMultiByteFinish \
1660  I2C_masterSendMultiByteFinish
1661 #endif
1662 #ifdef ROM_I2C_masterSendMultiByteFinishWithTimeout
1663 #define MAP_I2C_masterSendMultiByteFinishWithTimeout \
1664  ROM_I2C_masterSendMultiByteFinishWithTimeout
1665 #else
1666 #define MAP_I2C_masterSendMultiByteFinishWithTimeout \
1667  I2C_masterSendMultiByteFinishWithTimeout
1668 #endif
1669 #ifdef ROM_I2C_masterSendMultiByteStop
1670 #define MAP_I2C_masterSendMultiByteStop \
1671  ROM_I2C_masterSendMultiByteStop
1672 #else
1673 #define MAP_I2C_masterSendMultiByteStop \
1674  I2C_masterSendMultiByteStop
1675 #endif
1676 #ifdef ROM_I2C_masterSendMultiByteStopWithTimeout
1677 #define MAP_I2C_masterSendMultiByteStopWithTimeout \
1678  ROM_I2C_masterSendMultiByteStopWithTimeout
1679 #else
1680 #define MAP_I2C_masterSendMultiByteStopWithTimeout \
1681  I2C_masterSendMultiByteStopWithTimeout
1682 #endif
1683 #ifdef ROM_I2C_masterReceiveStart
1684 #define MAP_I2C_masterReceiveStart \
1685  ROM_I2C_masterReceiveStart
1686 #else
1687 #define MAP_I2C_masterReceiveStart \
1688  I2C_masterReceiveStart
1689 #endif
1690 #ifdef ROM_I2C_masterReceiveMultiByteNext
1691 #define MAP_I2C_masterReceiveMultiByteNext \
1692  ROM_I2C_masterReceiveMultiByteNext
1693 #else
1694 #define MAP_I2C_masterReceiveMultiByteNext \
1695  I2C_masterReceiveMultiByteNext
1696 #endif
1697 #ifdef ROM_I2C_masterReceiveMultiByteFinish
1698 #define MAP_I2C_masterReceiveMultiByteFinish \
1699  ROM_I2C_masterReceiveMultiByteFinish
1700 #else
1701 #define MAP_I2C_masterReceiveMultiByteFinish \
1702  I2C_masterReceiveMultiByteFinish
1703 #endif
1704 #ifdef ROM_I2C_masterReceiveMultiByteFinishWithTimeout
1705 #define MAP_I2C_masterReceiveMultiByteFinishWithTimeout \
1706  ROM_I2C_masterReceiveMultiByteFinishWithTimeout
1707 #else
1708 #define MAP_I2C_masterReceiveMultiByteFinishWithTimeout \
1709  I2C_masterReceiveMultiByteFinishWithTimeout
1710 #endif
1711 #ifdef ROM_I2C_masterReceiveMultiByteStop
1712 #define MAP_I2C_masterReceiveMultiByteStop \
1713  ROM_I2C_masterReceiveMultiByteStop
1714 #else
1715 #define MAP_I2C_masterReceiveMultiByteStop \
1716  I2C_masterReceiveMultiByteStop
1717 #endif
1718 #ifdef ROM_I2C_masterReceiveSingleByte
1719 #define MAP_I2C_masterReceiveSingleByte \
1720  ROM_I2C_masterReceiveSingleByte
1721 #else
1722 #define MAP_I2C_masterReceiveSingleByte \
1723  I2C_masterReceiveSingleByte
1724 #endif
1725 #ifdef ROM_I2C_masterReceiveSingle
1726 #define MAP_I2C_masterReceiveSingle \
1727  ROM_I2C_masterReceiveSingle
1728 #else
1729 #define MAP_I2C_masterReceiveSingle \
1730  I2C_masterReceiveSingle
1731 #endif
1732 #ifdef ROM_I2C_getReceiveBufferAddressForDMA
1733 #define MAP_I2C_getReceiveBufferAddressForDMA \
1734  ROM_I2C_getReceiveBufferAddressForDMA
1735 #else
1736 #define MAP_I2C_getReceiveBufferAddressForDMA \
1737  I2C_getReceiveBufferAddressForDMA
1738 #endif
1739 #ifdef ROM_I2C_getTransmitBufferAddressForDMA
1740 #define MAP_I2C_getTransmitBufferAddressForDMA \
1741  ROM_I2C_getTransmitBufferAddressForDMA
1742 #else
1743 #define MAP_I2C_getTransmitBufferAddressForDMA \
1744  I2C_getTransmitBufferAddressForDMA
1745 #endif
1746 #ifdef ROM_I2C_masterIsStopSent
1747 #define MAP_I2C_masterIsStopSent \
1748  ROM_I2C_masterIsStopSent
1749 #else
1750 #define MAP_I2C_masterIsStopSent \
1751  I2C_masterIsStopSent
1752 #endif
1753 #ifdef ROM_I2C_masterIsStartSent
1754 #define MAP_I2C_masterIsStartSent \
1755  ROM_I2C_masterIsStartSent
1756 #else
1757 #define MAP_I2C_masterIsStartSent \
1758  I2C_masterIsStartSent
1759 #endif
1760 #ifdef ROM_I2C_masterSendStart
1761 #define MAP_I2C_masterSendStart \
1762  ROM_I2C_masterSendStart
1763 #else
1764 #define MAP_I2C_masterSendStart \
1765  I2C_masterSendStart
1766 #endif
1767 #ifdef ROM_I2C_enableMultiMasterMode
1768 #define MAP_I2C_enableMultiMasterMode \
1769  ROM_I2C_enableMultiMasterMode
1770 #else
1771 #define MAP_I2C_enableMultiMasterMode \
1772  I2C_enableMultiMasterMode
1773 #endif
1774 #ifdef ROM_I2C_disableMultiMasterMode
1775 #define MAP_I2C_disableMultiMasterMode \
1776  ROM_I2C_disableMultiMasterMode
1777 #else
1778 #define MAP_I2C_disableMultiMasterMode \
1779  I2C_disableMultiMasterMode
1780 #endif
1781 #ifdef ROM_I2C_enableInterrupt
1782 #define MAP_I2C_enableInterrupt \
1783  ROM_I2C_enableInterrupt
1784 #else
1785 #define MAP_I2C_enableInterrupt \
1786  I2C_enableInterrupt
1787 #endif
1788 #ifdef ROM_I2C_disableInterrupt
1789 #define MAP_I2C_disableInterrupt \
1790  ROM_I2C_disableInterrupt
1791 #else
1792 #define MAP_I2C_disableInterrupt \
1793  I2C_disableInterrupt
1794 #endif
1795 #ifdef ROM_I2C_clearInterruptFlag
1796 #define MAP_I2C_clearInterruptFlag \
1797  ROM_I2C_clearInterruptFlag
1798 #else
1799 #define MAP_I2C_clearInterruptFlag \
1800  I2C_clearInterruptFlag
1801 #endif
1802 #ifdef ROM_I2C_getInterruptStatus
1803 #define MAP_I2C_getInterruptStatus \
1804  ROM_I2C_getInterruptStatus
1805 #else
1806 #define MAP_I2C_getInterruptStatus \
1807  I2C_getInterruptStatus
1808 #endif
1809 #ifdef ROM_I2C_getEnabledInterruptStatus
1810 #define MAP_I2C_getEnabledInterruptStatus \
1811  ROM_I2C_getEnabledInterruptStatus
1812 #else
1813 #define MAP_I2C_getEnabledInterruptStatus \
1814  I2C_getEnabledInterruptStatus
1815 #endif
1816 #ifdef ROM_I2C_getMode
1817 #define MAP_I2C_getMode \
1818  ROM_I2C_getMode
1819 #else
1820 #define MAP_I2C_getMode \
1821  I2C_getMode
1822 #endif
1823 #ifdef ROM_I2C_registerInterrupt
1824 #define MAP_I2C_registerInterrupt \
1825  ROM_I2C_registerInterrupt
1826 #else
1827 #define MAP_I2C_registerInterrupt \
1828  I2C_registerInterrupt
1829 #endif
1830 #ifdef ROM_I2C_unregisterInterrupt
1831 #define MAP_I2C_unregisterInterrupt \
1832  ROM_I2C_unregisterInterrupt
1833 #else
1834 #define MAP_I2C_unregisterInterrupt \
1835  I2C_unregisterInterrupt
1836 #endif
1837 #ifdef ROM_I2C_slaveSendNAK
1838 #define MAP_I2C_slaveSendNAK \
1839  ROM_I2C_slaveSendNAK
1840 #else
1841 #define MAP_I2C_slaveSendNAK \
1842  I2C_slaveSendNAK
1843 #endif
1844 
1845 //*****************************************************************************
1846 //
1847 // Macros for the Interrupt API.
1848 //
1849 //*****************************************************************************
1850 #ifdef ROM_Interrupt_enableMaster
1851 #define MAP_Interrupt_enableMaster \
1852  ROM_Interrupt_enableMaster
1853 #else
1854 #define MAP_Interrupt_enableMaster \
1855  Interrupt_enableMaster
1856 #endif
1857 #ifdef ROM_Interrupt_disableMaster
1858 #define MAP_Interrupt_disableMaster \
1859  ROM_Interrupt_disableMaster
1860 #else
1861 #define MAP_Interrupt_disableMaster \
1862  Interrupt_disableMaster
1863 #endif
1864 #ifdef ROM_Interrupt_setPriorityGrouping
1865 #define MAP_Interrupt_setPriorityGrouping \
1866  ROM_Interrupt_setPriorityGrouping
1867 #else
1868 #define MAP_Interrupt_setPriorityGrouping \
1869  Interrupt_setPriorityGrouping
1870 #endif
1871 #ifdef ROM_Interrupt_getPriorityGrouping
1872 #define MAP_Interrupt_getPriorityGrouping \
1873  ROM_Interrupt_getPriorityGrouping
1874 #else
1875 #define MAP_Interrupt_getPriorityGrouping \
1876  Interrupt_getPriorityGrouping
1877 #endif
1878 #ifdef ROM_Interrupt_setPriority
1879 #define MAP_Interrupt_setPriority \
1880  ROM_Interrupt_setPriority
1881 #else
1882 #define MAP_Interrupt_setPriority \
1883  Interrupt_setPriority
1884 #endif
1885 #ifdef ROM_Interrupt_getPriority
1886 #define MAP_Interrupt_getPriority \
1887  ROM_Interrupt_getPriority
1888 #else
1889 #define MAP_Interrupt_getPriority \
1890  Interrupt_getPriority
1891 #endif
1892 #ifdef ROM_Interrupt_enableInterrupt
1893 #define MAP_Interrupt_enableInterrupt \
1894  ROM_Interrupt_enableInterrupt
1895 #else
1896 #define MAP_Interrupt_enableInterrupt \
1897  Interrupt_enableInterrupt
1898 #endif
1899 #ifdef ROM_Interrupt_disableInterrupt
1900 #define MAP_Interrupt_disableInterrupt \
1901  ROM_Interrupt_disableInterrupt
1902 #else
1903 #define MAP_Interrupt_disableInterrupt \
1904  Interrupt_disableInterrupt
1905 #endif
1906 #ifdef ROM_Interrupt_isEnabled
1907 #define MAP_Interrupt_isEnabled \
1908  ROM_Interrupt_isEnabled
1909 #else
1910 #define MAP_Interrupt_isEnabled \
1911  Interrupt_isEnabled
1912 #endif
1913 #ifdef ROM_Interrupt_pendInterrupt
1914 #define MAP_Interrupt_pendInterrupt \
1915  ROM_Interrupt_pendInterrupt
1916 #else
1917 #define MAP_Interrupt_pendInterrupt \
1918  Interrupt_pendInterrupt
1919 #endif
1920 #ifdef ROM_Interrupt_setPriorityMask
1921 #define MAP_Interrupt_setPriorityMask \
1922  ROM_Interrupt_setPriorityMask
1923 #else
1924 #define MAP_Interrupt_setPriorityMask \
1925  Interrupt_setPriorityMask
1926 #endif
1927 #ifdef ROM_Interrupt_getPriorityMask
1928 #define MAP_Interrupt_getPriorityMask \
1929  ROM_Interrupt_getPriorityMask
1930 #else
1931 #define MAP_Interrupt_getPriorityMask \
1932  Interrupt_getPriorityMask
1933 #endif
1934 #ifdef ROM_Interrupt_setVectorTableAddress
1935 #define MAP_Interrupt_setVectorTableAddress \
1936  ROM_Interrupt_setVectorTableAddress
1937 #else
1938 #define MAP_Interrupt_setVectorTableAddress \
1939  Interrupt_setVectorTableAddress
1940 #endif
1941 #ifdef ROM_Interrupt_getVectorTableAddress
1942 #define MAP_Interrupt_getVectorTableAddress \
1943  ROM_Interrupt_getVectorTableAddress
1944 #else
1945 #define MAP_Interrupt_getVectorTableAddress \
1946  Interrupt_getVectorTableAddress
1947 #endif
1948 #ifdef ROM_Interrupt_enableSleepOnIsrExit
1949 #define MAP_Interrupt_enableSleepOnIsrExit \
1950  ROM_Interrupt_enableSleepOnIsrExit
1951 #else
1952 #define MAP_Interrupt_enableSleepOnIsrExit \
1953  Interrupt_enableSleepOnIsrExit
1954 #endif
1955 #ifdef ROM_Interrupt_disableSleepOnIsrExit
1956 #define MAP_Interrupt_disableSleepOnIsrExit \
1957  ROM_Interrupt_disableSleepOnIsrExit
1958 #else
1959 #define MAP_Interrupt_disableSleepOnIsrExit \
1960  Interrupt_disableSleepOnIsrExit
1961 #endif
1962 #ifdef ROM_Interrupt_registerInterrupt
1963 #define MAP_Interrupt_registerInterrupt \
1964  ROM_Interrupt_registerInterrupt
1965 #else
1966 #define MAP_Interrupt_registerInterrupt \
1967  Interrupt_registerInterrupt
1968 #endif
1969 #ifdef ROM_Interrupt_unregisterInterrupt
1970 #define MAP_Interrupt_unregisterInterrupt \
1971  ROM_Interrupt_unregisterInterrupt
1972 #else
1973 #define MAP_Interrupt_unregisterInterrupt \
1974  Interrupt_unregisterInterrupt
1975 #endif
1976 #ifdef ROM_Interrupt_unpendInterrupt
1977 #define MAP_Interrupt_unpendInterrupt \
1978  ROM_Interrupt_unpendInterrupt
1979 #else
1980 #define MAP_Interrupt_unpendInterrupt \
1981  Interrupt_unpendInterrupt
1982 #endif
1983 
1984 //*****************************************************************************
1985 //
1986 // Macros for the MPU API.
1987 //
1988 //*****************************************************************************
1989 #ifdef ROM_MPU_enableModule
1990 #define MAP_MPU_enableModule \
1991  ROM_MPU_enableModule
1992 #else
1993 #define MAP_MPU_enableModule \
1994  MPU_enableModule
1995 #endif
1996 #ifdef ROM_MPU_disableModule
1997 #define MAP_MPU_disableModule \
1998  ROM_MPU_disableModule
1999 #else
2000 #define MAP_MPU_disableModule \
2001  MPU_disableModule
2002 #endif
2003 #ifdef ROM_MPU_getRegionCount
2004 #define MAP_MPU_getRegionCount \
2005  ROM_MPU_getRegionCount
2006 #else
2007 #define MAP_MPU_getRegionCount \
2008  MPU_getRegionCount
2009 #endif
2010 #ifdef ROM_MPU_enableRegion
2011 #define MAP_MPU_enableRegion \
2012  ROM_MPU_enableRegion
2013 #else
2014 #define MAP_MPU_enableRegion \
2015  MPU_enableRegion
2016 #endif
2017 #ifdef ROM_MPU_disableRegion
2018 #define MAP_MPU_disableRegion \
2019  ROM_MPU_disableRegion
2020 #else
2021 #define MAP_MPU_disableRegion \
2022  MPU_disableRegion
2023 #endif
2024 #ifdef ROM_MPU_setRegion
2025 #define MAP_MPU_setRegion \
2026  ROM_MPU_setRegion
2027 #else
2028 #define MAP_MPU_setRegion \
2029  MPU_setRegion
2030 #endif
2031 #ifdef ROM_MPU_getRegion
2032 #define MAP_MPU_getRegion \
2033  ROM_MPU_getRegion
2034 #else
2035 #define MAP_MPU_getRegion \
2036  MPU_getRegion
2037 #endif
2038 #ifdef ROM_MPU_enableInterrupt
2039 #define MAP_MPU_enableInterrupt \
2040  ROM_MPU_enableInterrupt
2041 #else
2042 #define MAP_MPU_enableInterrupt \
2043  MPU_enableInterrupt
2044 #endif
2045 #ifdef ROM_MPU_disableInterrupt
2046 #define MAP_MPU_disableInterrupt \
2047  ROM_MPU_disableInterrupt
2048 #else
2049 #define MAP_MPU_disableInterrupt \
2050  MPU_disableInterrupt
2051 #endif
2052 #ifdef ROM_MPU_registerInterrupt
2053 #define MAP_MPU_registerInterrupt \
2054  ROM_MPU_registerInterrupt
2055 #else
2056 #define MAP_MPU_registerInterrupt \
2057  MPU_registerInterrupt
2058 #endif
2059 #ifdef ROM_MPU_unregisterInterrupt
2060 #define MAP_MPU_unregisterInterrupt \
2061  ROM_MPU_unregisterInterrupt
2062 #else
2063 #define MAP_MPU_unregisterInterrupt \
2064  MPU_unregisterInterrupt
2065 #endif
2066 
2067 //*****************************************************************************
2068 //
2069 // Macros for the PCM API.
2070 //
2071 //*****************************************************************************
2072 #ifdef ROM_PCM_setCoreVoltageLevel
2073 #define MAP_PCM_setCoreVoltageLevel \
2074  ROM_PCM_setCoreVoltageLevel
2075 #else
2076 #define MAP_PCM_setCoreVoltageLevel \
2077  PCM_setCoreVoltageLevel
2078 #endif
2079 #ifdef ROM_PCM_getCoreVoltageLevel
2080 #define MAP_PCM_getCoreVoltageLevel \
2081  ROM_PCM_getCoreVoltageLevel
2082 #else
2083 #define MAP_PCM_getCoreVoltageLevel \
2084  PCM_getCoreVoltageLevel
2085 #endif
2086 #ifdef ROM_PCM_setCoreVoltageLevelWithTimeout
2087 #define MAP_PCM_setCoreVoltageLevelWithTimeout \
2088  ROM_PCM_setCoreVoltageLevelWithTimeout
2089 #else
2090 #define MAP_PCM_setCoreVoltageLevelWithTimeout \
2091  PCM_setCoreVoltageLevelWithTimeout
2092 #endif
2093 #ifdef ROM_PCM_setPowerMode
2094 #define MAP_PCM_setPowerMode \
2095  ROM_PCM_setPowerMode
2096 #else
2097 #define MAP_PCM_setPowerMode \
2098  PCM_setPowerMode
2099 #endif
2100 #ifdef ROM_PCM_setPowerModeWithTimeout
2101 #define MAP_PCM_setPowerModeWithTimeout \
2102  ROM_PCM_setPowerModeWithTimeout
2103 #else
2104 #define MAP_PCM_setPowerModeWithTimeout \
2105  PCM_setPowerModeWithTimeout
2106 #endif
2107 #ifdef ROM_PCM_getPowerMode
2108 #define MAP_PCM_getPowerMode \
2109  ROM_PCM_getPowerMode
2110 #else
2111 #define MAP_PCM_getPowerMode \
2112  PCM_getPowerMode
2113 #endif
2114 #ifdef ROM_PCM_setPowerState
2115 #define MAP_PCM_setPowerState \
2116  ROM_PCM_setPowerState
2117 #else
2118 #define MAP_PCM_setPowerState \
2119  PCM_setPowerState
2120 #endif
2121 #ifdef ROM_PCM_setPowerStateWithTimeout
2122 #define MAP_PCM_setPowerStateWithTimeout \
2123  ROM_PCM_setPowerStateWithTimeout
2124 #else
2125 #define MAP_PCM_setPowerStateWithTimeout \
2126  PCM_setPowerStateWithTimeout
2127 #endif
2128 #ifdef ROM_PCM_getPowerState
2129 #define MAP_PCM_getPowerState \
2130  ROM_PCM_getPowerState
2131 #else
2132 #define MAP_PCM_getPowerState \
2133  PCM_getPowerState
2134 #endif
2135 #ifdef ROM_PCM_shutdownDevice
2136 #define MAP_PCM_shutdownDevice \
2137  ROM_PCM_shutdownDevice
2138 #else
2139 #define MAP_PCM_shutdownDevice \
2140  PCM_shutdownDevice
2141 #endif
2142 #ifdef ROM_PCM_gotoLPM0
2143 #define MAP_PCM_gotoLPM0 \
2144  ROM_PCM_gotoLPM0
2145 #else
2146 #define MAP_PCM_gotoLPM0 \
2147  PCM_gotoLPM0
2148 #endif
2149 #ifdef ROM_PCM_gotoLPM3
2150 #define MAP_PCM_gotoLPM3 \
2151  ROM_PCM_gotoLPM3
2152 #else
2153 #define MAP_PCM_gotoLPM3 \
2154  PCM_gotoLPM3
2155 #endif
2156 #ifdef ROM_PCM_enableInterrupt
2157 #define MAP_PCM_enableInterrupt \
2158  ROM_PCM_enableInterrupt
2159 #else
2160 #define MAP_PCM_enableInterrupt \
2161  PCM_enableInterrupt
2162 #endif
2163 #ifdef ROM_PCM_disableInterrupt
2164 #define MAP_PCM_disableInterrupt \
2165  ROM_PCM_disableInterrupt
2166 #else
2167 #define MAP_PCM_disableInterrupt \
2168  PCM_disableInterrupt
2169 #endif
2170 #ifdef ROM_PCM_getInterruptStatus
2171 #define MAP_PCM_getInterruptStatus \
2172  ROM_PCM_getInterruptStatus
2173 #else
2174 #define MAP_PCM_getInterruptStatus \
2175  PCM_getInterruptStatus
2176 #endif
2177 #ifdef ROM_PCM_getEnabledInterruptStatus
2178 #define MAP_PCM_getEnabledInterruptStatus \
2179  ROM_PCM_getEnabledInterruptStatus
2180 #else
2181 #define MAP_PCM_getEnabledInterruptStatus \
2182  PCM_getEnabledInterruptStatus
2183 #endif
2184 #ifdef ROM_PCM_clearInterruptFlag
2185 #define MAP_PCM_clearInterruptFlag \
2186  ROM_PCM_clearInterruptFlag
2187 #else
2188 #define MAP_PCM_clearInterruptFlag \
2189  PCM_clearInterruptFlag
2190 #endif
2191 #ifdef ROM_PCM_enableRudeMode
2192 #define MAP_PCM_enableRudeMode \
2193  ROM_PCM_enableRudeMode
2194 #else
2195 #define MAP_PCM_enableRudeMode \
2196  PCM_enableRudeMode
2197 #endif
2198 #ifdef ROM_PCM_disableRudeMode
2199 #define MAP_PCM_disableRudeMode \
2200  ROM_PCM_disableRudeMode
2201 #else
2202 #define MAP_PCM_disableRudeMode \
2203  PCM_disableRudeMode
2204 #endif
2205 #ifdef ROM_PCM_gotoLPM0InterruptSafe
2206 #define MAP_PCM_gotoLPM0InterruptSafe \
2207  ROM_PCM_gotoLPM0InterruptSafe
2208 #else
2209 #define MAP_PCM_gotoLPM0InterruptSafe \
2210  PCM_gotoLPM0InterruptSafe
2211 #endif
2212 #ifdef ROM_PCM_gotoLPM3InterruptSafe
2213 #define MAP_PCM_gotoLPM3InterruptSafe \
2214  ROM_PCM_gotoLPM3InterruptSafe
2215 #else
2216 #define MAP_PCM_gotoLPM3InterruptSafe \
2217  PCM_gotoLPM3InterruptSafe
2218 #endif
2219 #ifdef ROM_PCM_registerInterrupt
2220 #define MAP_PCM_registerInterrupt \
2221  ROM_PCM_registerInterrupt
2222 #else
2223 #define MAP_PCM_registerInterrupt \
2224  PCM_registerInterrupt
2225 #endif
2226 #ifdef ROM_PCM_unregisterInterrupt
2227 #define MAP_PCM_unregisterInterrupt \
2228  ROM_PCM_unregisterInterrupt
2229 #else
2230 #define MAP_PCM_unregisterInterrupt \
2231  PCM_unregisterInterrupt
2232 #endif
2233 #ifdef ROM_PCM_setCoreVoltageLevelNonBlocking
2234 #define MAP_PCM_setCoreVoltageLevelNonBlocking \
2235  ROM_PCM_setCoreVoltageLevelNonBlocking
2236 #else
2237 #define MAP_PCM_setCoreVoltageLevelNonBlocking \
2238  PCM_setCoreVoltageLevelNonBlocking
2239 #endif
2240 #ifdef ROM_PCM_setPowerModeNonBlocking
2241 #define MAP_PCM_setPowerModeNonBlocking \
2242  ROM_PCM_setPowerModeNonBlocking
2243 #else
2244 #define MAP_PCM_setPowerModeNonBlocking \
2245  PCM_setPowerModeNonBlocking
2246 #endif
2247 #ifdef ROM_PCM_setPowerStateNonBlocking
2248 #define MAP_PCM_setPowerStateNonBlocking \
2249  ROM_PCM_setPowerStateNonBlocking
2250 #else
2251 #define MAP_PCM_setPowerStateNonBlocking \
2252  PCM_setPowerStateNonBlocking
2253 #endif
2254 #ifdef ROM_PCM_gotoLPM4
2255 #define MAP_PCM_gotoLPM4 \
2256  ROM_PCM_gotoLPM4
2257 #else
2258 #define MAP_PCM_gotoLPM4 \
2259  PCM_gotoLPM4
2260 #endif
2261 #ifdef ROM_PCM_gotoLPM4InterruptSafe
2262 #define MAP_PCM_gotoLPM4InterruptSafe \
2263  ROM_PCM_gotoLPM4InterruptSafe
2264 #else
2265 #define MAP_PCM_gotoLPM4InterruptSafe \
2266  PCM_gotoLPM4InterruptSafe
2267 #endif
2268 
2269 //*****************************************************************************
2270 //
2271 // Macros for the PMAP API.
2272 //
2273 //*****************************************************************************
2274 #ifdef ROM_PMAP_configurePorts
2275 #define MAP_PMAP_configurePorts \
2276  ROM_PMAP_configurePorts
2277 #else
2278 #define MAP_PMAP_configurePorts \
2279  PMAP_configurePorts
2280 #endif
2281 
2282 //*****************************************************************************
2283 //
2284 // Macros for the PSS API.
2285 //
2286 //*****************************************************************************
2287 #ifdef ROM_PSS_enableHighSidePinToggle
2288 #define MAP_PSS_enableHighSidePinToggle \
2289  ROM_PSS_enableHighSidePinToggle
2290 #else
2291 #define MAP_PSS_enableHighSidePinToggle \
2292  PSS_enableHighSidePinToggle
2293 #endif
2294 #ifdef ROM_PSS_disableHighSidePinToggle
2295 #define MAP_PSS_disableHighSidePinToggle \
2296  ROM_PSS_disableHighSidePinToggle
2297 #else
2298 #define MAP_PSS_disableHighSidePinToggle \
2299  PSS_disableHighSidePinToggle
2300 #endif
2301 #ifdef ROM_PSS_enableHighSide
2302 #define MAP_PSS_enableHighSide \
2303  ROM_PSS_enableHighSide
2304 #else
2305 #define MAP_PSS_enableHighSide \
2306  PSS_enableHighSide
2307 #endif
2308 #ifdef ROM_PSS_disableHighSide
2309 #define MAP_PSS_disableHighSide \
2310  ROM_PSS_disableHighSide
2311 #else
2312 #define MAP_PSS_disableHighSide \
2313  PSS_disableHighSide
2314 #endif
2315 #ifdef ROM_PSS_enableLowSide
2316 #define MAP_PSS_enableLowSide \
2317  ROM_PSS_enableLowSide
2318 #else
2319 #define MAP_PSS_enableLowSide \
2320  PSS_enableLowSide
2321 #endif
2322 #ifdef ROM_PSS_disableLowSide
2323 #define MAP_PSS_disableLowSide \
2324  ROM_PSS_disableLowSide
2325 #else
2326 #define MAP_PSS_disableLowSide \
2327  PSS_disableLowSide
2328 #endif
2329 #ifdef ROM_PSS_setHighSidePerformanceMode
2330 #define MAP_PSS_setHighSidePerformanceMode \
2331  ROM_PSS_setHighSidePerformanceMode
2332 #else
2333 #define MAP_PSS_setHighSidePerformanceMode \
2334  PSS_setHighSidePerformanceMode
2335 #endif
2336 #ifdef ROM_PSS_getHighSidePerformanceMode
2337 #define MAP_PSS_getHighSidePerformanceMode \
2338  ROM_PSS_getHighSidePerformanceMode
2339 #else
2340 #define MAP_PSS_getHighSidePerformanceMode \
2341  PSS_getHighSidePerformanceMode
2342 #endif
2343 #ifdef ROM_PSS_setLowSidePerformanceMode
2344 #define MAP_PSS_setLowSidePerformanceMode \
2345  ROM_PSS_setLowSidePerformanceMode
2346 #else
2347 #define MAP_PSS_setLowSidePerformanceMode \
2348  PSS_setLowSidePerformanceMode
2349 #endif
2350 #ifdef ROM_PSS_getLowSidePerformanceMode
2351 #define MAP_PSS_getLowSidePerformanceMode \
2352  ROM_PSS_getLowSidePerformanceMode
2353 #else
2354 #define MAP_PSS_getLowSidePerformanceMode \
2355  PSS_getLowSidePerformanceMode
2356 #endif
2357 #ifdef ROM_PSS_enableHighSideMonitor
2358 #define MAP_PSS_enableHighSideMonitor \
2359  ROM_PSS_enableHighSideMonitor
2360 #else
2361 #define MAP_PSS_enableHighSideMonitor \
2362  PSS_enableHighSideMonitor
2363 #endif
2364 #ifdef ROM_PSS_disableHighSideMonitor
2365 #define MAP_PSS_disableHighSideMonitor \
2366  ROM_PSS_disableHighSideMonitor
2367 #else
2368 #define MAP_PSS_disableHighSideMonitor \
2369  PSS_disableHighSideMonitor
2370 #endif
2371 #ifdef ROM_PSS_setHighSideVoltageTrigger
2372 #define MAP_PSS_setHighSideVoltageTrigger \
2373  ROM_PSS_setHighSideVoltageTrigger
2374 #else
2375 #define MAP_PSS_setHighSideVoltageTrigger \
2376  PSS_setHighSideVoltageTrigger
2377 #endif
2378 #ifdef ROM_PSS_getHighSideVoltageTrigger
2379 #define MAP_PSS_getHighSideVoltageTrigger \
2380  ROM_PSS_getHighSideVoltageTrigger
2381 #else
2382 #define MAP_PSS_getHighSideVoltageTrigger \
2383  PSS_getHighSideVoltageTrigger
2384 #endif
2385 #ifdef ROM_PSS_enableInterrupt
2386 #define MAP_PSS_enableInterrupt \
2387  ROM_PSS_enableInterrupt
2388 #else
2389 #define MAP_PSS_enableInterrupt \
2390  PSS_enableInterrupt
2391 #endif
2392 #ifdef ROM_PSS_disableInterrupt
2393 #define MAP_PSS_disableInterrupt \
2394  ROM_PSS_disableInterrupt
2395 #else
2396 #define MAP_PSS_disableInterrupt \
2397  PSS_disableInterrupt
2398 #endif
2399 #ifdef ROM_PSS_getInterruptStatus
2400 #define MAP_PSS_getInterruptStatus \
2401  ROM_PSS_getInterruptStatus
2402 #else
2403 #define MAP_PSS_getInterruptStatus \
2404  PSS_getInterruptStatus
2405 #endif
2406 #ifdef ROM_PSS_clearInterruptFlag
2407 #define MAP_PSS_clearInterruptFlag \
2408  ROM_PSS_clearInterruptFlag
2409 #else
2410 #define MAP_PSS_clearInterruptFlag \
2411  PSS_clearInterruptFlag
2412 #endif
2413 #ifdef ROM_PSS_registerInterrupt
2414 #define MAP_PSS_registerInterrupt \
2415  ROM_PSS_registerInterrupt
2416 #else
2417 #define MAP_PSS_registerInterrupt \
2418  PSS_registerInterrupt
2419 #endif
2420 #ifdef ROM_PSS_unregisterInterrupt
2421 #define MAP_PSS_unregisterInterrupt \
2422  ROM_PSS_unregisterInterrupt
2423 #else
2424 #define MAP_PSS_unregisterInterrupt \
2425  PSS_unregisterInterrupt
2426 #endif
2427 #ifdef ROM_PSS_enableForcedDCDCOperation
2428 #define MAP_PSS_enableForcedDCDCOperation \
2429  ROM_PSS_enableForcedDCDCOperation
2430 #else
2431 #define MAP_PSS_enableForcedDCDCOperation \
2432  PSS_enableForcedDCDCOperation
2433 #endif
2434 #ifdef ROM_PSS_disableForcedDCDCOperation
2435 #define MAP_PSS_disableForcedDCDCOperation \
2436  ROM_PSS_disableForcedDCDCOperation
2437 #else
2438 #define MAP_PSS_disableForcedDCDCOperation \
2439  PSS_disableForcedDCDCOperation
2440 #endif
2441 
2442 //*****************************************************************************
2443 //
2444 // Macros for the Ref API.
2445 //
2446 //*****************************************************************************
2447 #ifdef ROM_REF_A_setReferenceVoltage
2448 #define MAP_REF_A_setReferenceVoltage \
2449  ROM_REF_A_setReferenceVoltage
2450 #else
2451 #define MAP_REF_A_setReferenceVoltage \
2452  REF_A_setReferenceVoltage
2453 #endif
2454 #ifdef ROM_REF_A_disableTempSensor
2455 #define MAP_REF_A_disableTempSensor \
2456  ROM_REF_A_disableTempSensor
2457 #else
2458 #define MAP_REF_A_disableTempSensor \
2459  REF_A_disableTempSensor
2460 #endif
2461 #ifdef ROM_REF_A_enableTempSensor
2462 #define MAP_REF_A_enableTempSensor \
2463  ROM_REF_A_enableTempSensor
2464 #else
2465 #define MAP_REF_A_enableTempSensor \
2466  REF_A_enableTempSensor
2467 #endif
2468 #ifdef ROM_REF_A_enableReferenceVoltageOutput
2469 #define MAP_REF_A_enableReferenceVoltageOutput \
2470  ROM_REF_A_enableReferenceVoltageOutput
2471 #else
2472 #define MAP_REF_A_enableReferenceVoltageOutput \
2473  REF_A_enableReferenceVoltageOutput
2474 #endif
2475 #ifdef ROM_REF_A_disableReferenceVoltageOutput
2476 #define MAP_REF_A_disableReferenceVoltageOutput \
2477  ROM_REF_A_disableReferenceVoltageOutput
2478 #else
2479 #define MAP_REF_A_disableReferenceVoltageOutput \
2480  REF_A_disableReferenceVoltageOutput
2481 #endif
2482 #ifdef ROM_REF_A_enableReferenceVoltage
2483 #define MAP_REF_A_enableReferenceVoltage \
2484  ROM_REF_A_enableReferenceVoltage
2485 #else
2486 #define MAP_REF_A_enableReferenceVoltage \
2487  REF_A_enableReferenceVoltage
2488 #endif
2489 #ifdef ROM_REF_A_disableReferenceVoltage
2490 #define MAP_REF_A_disableReferenceVoltage \
2491  ROM_REF_A_disableReferenceVoltage
2492 #else
2493 #define MAP_REF_A_disableReferenceVoltage \
2494  REF_A_disableReferenceVoltage
2495 #endif
2496 #ifdef ROM_REF_A_getBandgapMode
2497 #define MAP_REF_A_getBandgapMode \
2498  ROM_REF_A_getBandgapMode
2499 #else
2500 #define MAP_REF_A_getBandgapMode \
2501  REF_A_getBandgapMode
2502 #endif
2503 #ifdef ROM_REF_A_isBandgapActive
2504 #define MAP_REF_A_isBandgapActive \
2505  ROM_REF_A_isBandgapActive
2506 #else
2507 #define MAP_REF_A_isBandgapActive \
2508  REF_A_isBandgapActive
2509 #endif
2510 #ifdef ROM_REF_A_isRefGenBusy
2511 #define MAP_REF_A_isRefGenBusy \
2512  ROM_REF_A_isRefGenBusy
2513 #else
2514 #define MAP_REF_A_isRefGenBusy \
2515  REF_A_isRefGenBusy
2516 #endif
2517 #ifdef ROM_REF_A_isRefGenActive
2518 #define MAP_REF_A_isRefGenActive \
2519  ROM_REF_A_isRefGenActive
2520 #else
2521 #define MAP_REF_A_isRefGenActive \
2522  REF_A_isRefGenActive
2523 #endif
2524 #ifdef ROM_REF_A_getBufferedBandgapVoltageStatus
2525 #define MAP_REF_A_getBufferedBandgapVoltageStatus \
2526  ROM_REF_A_getBufferedBandgapVoltageStatus
2527 #else
2528 #define MAP_REF_A_getBufferedBandgapVoltageStatus \
2529  REF_A_getBufferedBandgapVoltageStatus
2530 #endif
2531 #ifdef ROM_REF_A_getVariableReferenceVoltageStatus
2532 #define MAP_REF_A_getVariableReferenceVoltageStatus \
2533  ROM_REF_A_getVariableReferenceVoltageStatus
2534 #else
2535 #define MAP_REF_A_getVariableReferenceVoltageStatus \
2536  REF_A_getVariableReferenceVoltageStatus
2537 #endif
2538 #ifdef ROM_REF_A_setReferenceVoltageOneTimeTrigger
2539 #define MAP_REF_A_setReferenceVoltageOneTimeTrigger \
2540  ROM_REF_A_setReferenceVoltageOneTimeTrigger
2541 #else
2542 #define MAP_REF_A_setReferenceVoltageOneTimeTrigger \
2543  REF_A_setReferenceVoltageOneTimeTrigger
2544 #endif
2545 #ifdef ROM_REF_A_setBufferedBandgapVoltageOneTimeTrigger
2546 #define MAP_REF_A_setBufferedBandgapVoltageOneTimeTrigger \
2547  ROM_REF_A_setBufferedBandgapVoltageOneTimeTrigger
2548 #else
2549 #define MAP_REF_A_setBufferedBandgapVoltageOneTimeTrigger \
2550  REF_A_setBufferedBandgapVoltageOneTimeTrigger
2551 #endif
2552 
2553 //*****************************************************************************
2554 //
2555 // Macros for the ResetCtl API.
2556 //
2557 //*****************************************************************************
2558 #ifdef ROM_ResetCtl_initiateSoftReset
2559 #define MAP_ResetCtl_initiateSoftReset \
2560  ROM_ResetCtl_initiateSoftReset
2561 #else
2562 #define MAP_ResetCtl_initiateSoftReset \
2563  ResetCtl_initiateSoftReset
2564 #endif
2565 #ifdef ROM_ResetCtl_initiateSoftResetWithSource
2566 #define MAP_ResetCtl_initiateSoftResetWithSource \
2567  ROM_ResetCtl_initiateSoftResetWithSource
2568 #else
2569 #define MAP_ResetCtl_initiateSoftResetWithSource \
2570  ResetCtl_initiateSoftResetWithSource
2571 #endif
2572 #ifdef ROM_ResetCtl_getSoftResetSource
2573 #define MAP_ResetCtl_getSoftResetSource \
2574  ROM_ResetCtl_getSoftResetSource
2575 #else
2576 #define MAP_ResetCtl_getSoftResetSource \
2577  ResetCtl_getSoftResetSource
2578 #endif
2579 #ifdef ROM_ResetCtl_clearSoftResetSource
2580 #define MAP_ResetCtl_clearSoftResetSource \
2581  ROM_ResetCtl_clearSoftResetSource
2582 #else
2583 #define MAP_ResetCtl_clearSoftResetSource \
2584  ResetCtl_clearSoftResetSource
2585 #endif
2586 #ifdef ROM_ResetCtl_initiateHardReset
2587 #define MAP_ResetCtl_initiateHardReset \
2588  ROM_ResetCtl_initiateHardReset
2589 #else
2590 #define MAP_ResetCtl_initiateHardReset \
2591  ResetCtl_initiateHardReset
2592 #endif
2593 #ifdef ROM_ResetCtl_initiateHardResetWithSource
2594 #define MAP_ResetCtl_initiateHardResetWithSource \
2595  ROM_ResetCtl_initiateHardResetWithSource
2596 #else
2597 #define MAP_ResetCtl_initiateHardResetWithSource \
2598  ResetCtl_initiateHardResetWithSource
2599 #endif
2600 #ifdef ROM_ResetCtl_getHardResetSource
2601 #define MAP_ResetCtl_getHardResetSource \
2602  ROM_ResetCtl_getHardResetSource
2603 #else
2604 #define MAP_ResetCtl_getHardResetSource \
2605  ResetCtl_getHardResetSource
2606 #endif
2607 #ifdef ROM_ResetCtl_clearHardResetSource
2608 #define MAP_ResetCtl_clearHardResetSource \
2609  ROM_ResetCtl_clearHardResetSource
2610 #else
2611 #define MAP_ResetCtl_clearHardResetSource \
2612  ResetCtl_clearHardResetSource
2613 #endif
2614 #ifdef ROM_ResetCtl_getPSSSource
2615 #define MAP_ResetCtl_getPSSSource \
2616  ROM_ResetCtl_getPSSSource
2617 #else
2618 #define MAP_ResetCtl_getPSSSource \
2619  ResetCtl_getPSSSource
2620 #endif
2621 #ifdef ROM_ResetCtl_clearPSSFlags
2622 #define MAP_ResetCtl_clearPSSFlags \
2623  ROM_ResetCtl_clearPSSFlags
2624 #else
2625 #define MAP_ResetCtl_clearPSSFlags \
2626  ResetCtl_clearPSSFlags
2627 #endif
2628 #ifdef ROM_ResetCtl_getPCMSource
2629 #define MAP_ResetCtl_getPCMSource \
2630  ROM_ResetCtl_getPCMSource
2631 #else
2632 #define MAP_ResetCtl_getPCMSource \
2633  ResetCtl_getPCMSource
2634 #endif
2635 #ifdef ROM_ResetCtl_clearPCMFlags
2636 #define MAP_ResetCtl_clearPCMFlags \
2637  ROM_ResetCtl_clearPCMFlags
2638 #else
2639 #define MAP_ResetCtl_clearPCMFlags \
2640  ResetCtl_clearPCMFlags
2641 #endif
2642 
2643 //*****************************************************************************
2644 //
2645 // Macros for the RTC API.
2646 //
2647 //*****************************************************************************
2648 #ifdef ROM_RTC_C_startClock
2649 #define MAP_RTC_C_startClock \
2650  ROM_RTC_C_startClock
2651 #else
2652 #define MAP_RTC_C_startClock \
2653  RTC_C_startClock
2654 #endif
2655 #ifdef ROM_RTC_C_holdClock
2656 #define MAP_RTC_C_holdClock \
2657  ROM_RTC_C_holdClock
2658 #else
2659 #define MAP_RTC_C_holdClock \
2660  RTC_C_holdClock
2661 #endif
2662 #ifdef ROM_RTC_C_setCalibrationFrequency
2663 #define MAP_RTC_C_setCalibrationFrequency \
2664  ROM_RTC_C_setCalibrationFrequency
2665 #else
2666 #define MAP_RTC_C_setCalibrationFrequency \
2667  RTC_C_setCalibrationFrequency
2668 #endif
2669 #ifdef ROM_RTC_C_setCalibrationData
2670 #define MAP_RTC_C_setCalibrationData \
2671  ROM_RTC_C_setCalibrationData
2672 #else
2673 #define MAP_RTC_C_setCalibrationData \
2674  RTC_C_setCalibrationData
2675 #endif
2676 #ifdef ROM_RTC_C_setTemperatureCompensation
2677 #define MAP_RTC_C_setTemperatureCompensation \
2678  ROM_RTC_C_setTemperatureCompensation
2679 #else
2680 #define MAP_RTC_C_setTemperatureCompensation \
2681  RTC_C_setTemperatureCompensation
2682 #endif
2683 #ifdef ROM_RTC_C_initCalendar
2684 #define MAP_RTC_C_initCalendar \
2685  ROM_RTC_C_initCalendar
2686 #else
2687 #define MAP_RTC_C_initCalendar \
2688  RTC_C_initCalendar
2689 #endif
2690 #ifdef ROM_RTC_C_getCalendarTime
2691 #define MAP_RTC_C_getCalendarTime \
2692  ROM_RTC_C_getCalendarTime
2693 #else
2694 #define MAP_RTC_C_getCalendarTime \
2695  RTC_C_getCalendarTime
2696 #endif
2697 #ifdef ROM_RTC_C_setCalendarAlarm
2698 #define MAP_RTC_C_setCalendarAlarm \
2699  ROM_RTC_C_setCalendarAlarm
2700 #else
2701 #define MAP_RTC_C_setCalendarAlarm \
2702  RTC_C_setCalendarAlarm
2703 #endif
2704 #ifdef ROM_RTC_C_setCalendarEvent
2705 #define MAP_RTC_C_setCalendarEvent \
2706  ROM_RTC_C_setCalendarEvent
2707 #else
2708 #define MAP_RTC_C_setCalendarEvent \
2709  RTC_C_setCalendarEvent
2710 #endif
2711 #ifdef ROM_RTC_C_definePrescaleEvent
2712 #define MAP_RTC_C_definePrescaleEvent \
2713  ROM_RTC_C_definePrescaleEvent
2714 #else
2715 #define MAP_RTC_C_definePrescaleEvent \
2716  RTC_C_definePrescaleEvent
2717 #endif
2718 #ifdef ROM_RTC_C_getPrescaleValue
2719 #define MAP_RTC_C_getPrescaleValue \
2720  ROM_RTC_C_getPrescaleValue
2721 #else
2722 #define MAP_RTC_C_getPrescaleValue \
2723  RTC_C_getPrescaleValue
2724 #endif
2725 #ifdef ROM_RTC_C_setPrescaleValue
2726 #define MAP_RTC_C_setPrescaleValue \
2727  ROM_RTC_C_setPrescaleValue
2728 #else
2729 #define MAP_RTC_C_setPrescaleValue \
2730  RTC_C_setPrescaleValue
2731 #endif
2732 #ifdef ROM_RTC_C_convertBCDToBinary
2733 #define MAP_RTC_C_convertBCDToBinary \
2734  ROM_RTC_C_convertBCDToBinary
2735 #else
2736 #define MAP_RTC_C_convertBCDToBinary \
2737  RTC_C_convertBCDToBinary
2738 #endif
2739 #ifdef ROM_RTC_C_convertBinaryToBCD
2740 #define MAP_RTC_C_convertBinaryToBCD \
2741  ROM_RTC_C_convertBinaryToBCD
2742 #else
2743 #define MAP_RTC_C_convertBinaryToBCD \
2744  RTC_C_convertBinaryToBCD
2745 #endif
2746 #ifdef ROM_RTC_C_enableInterrupt
2747 #define MAP_RTC_C_enableInterrupt \
2748  ROM_RTC_C_enableInterrupt
2749 #else
2750 #define MAP_RTC_C_enableInterrupt \
2751  RTC_C_enableInterrupt
2752 #endif
2753 #ifdef ROM_RTC_C_disableInterrupt
2754 #define MAP_RTC_C_disableInterrupt \
2755  ROM_RTC_C_disableInterrupt
2756 #else
2757 #define MAP_RTC_C_disableInterrupt \
2758  RTC_C_disableInterrupt
2759 #endif
2760 #ifdef ROM_RTC_C_getInterruptStatus
2761 #define MAP_RTC_C_getInterruptStatus \
2762  ROM_RTC_C_getInterruptStatus
2763 #else
2764 #define MAP_RTC_C_getInterruptStatus \
2765  RTC_C_getInterruptStatus
2766 #endif
2767 #ifdef ROM_RTC_C_getEnabledInterruptStatus
2768 #define MAP_RTC_C_getEnabledInterruptStatus \
2769  ROM_RTC_C_getEnabledInterruptStatus
2770 #else
2771 #define MAP_RTC_C_getEnabledInterruptStatus \
2772  RTC_C_getEnabledInterruptStatus
2773 #endif
2774 #ifdef ROM_RTC_C_clearInterruptFlag
2775 #define MAP_RTC_C_clearInterruptFlag \
2776  ROM_RTC_C_clearInterruptFlag
2777 #else
2778 #define MAP_RTC_C_clearInterruptFlag \
2779  RTC_C_clearInterruptFlag
2780 #endif
2781 #ifdef ROM_RTC_C_registerInterrupt
2782 #define MAP_RTC_C_registerInterrupt \
2783  ROM_RTC_C_registerInterrupt
2784 #else
2785 #define MAP_RTC_C_registerInterrupt \
2786  RTC_C_registerInterrupt
2787 #endif
2788 #ifdef ROM_RTC_C_unregisterInterrupt
2789 #define MAP_RTC_C_unregisterInterrupt \
2790  ROM_RTC_C_unregisterInterrupt
2791 #else
2792 #define MAP_RTC_C_unregisterInterrupt \
2793  RTC_C_unregisterInterrupt
2794 #endif
2795 
2796 //*****************************************************************************
2797 //
2798 // Macros for the SPI API.
2799 //
2800 //*****************************************************************************
2801 #ifdef ROM_SPI_initMaster
2802 #define MAP_SPI_initMaster \
2803  ROM_SPI_initMaster
2804 #else
2805 #define MAP_SPI_initMaster \
2806  SPI_initMaster
2807 #endif
2808 #ifdef ROM_SPI_selectFourPinFunctionality
2809 #define MAP_SPI_selectFourPinFunctionality \
2810  ROM_SPI_selectFourPinFunctionality
2811 #else
2812 #define MAP_SPI_selectFourPinFunctionality \
2813  SPI_selectFourPinFunctionality
2814 #endif
2815 #ifdef ROM_SPI_changeMasterClock
2816 #define MAP_SPI_changeMasterClock \
2817  ROM_SPI_changeMasterClock
2818 #else
2819 #define MAP_SPI_changeMasterClock \
2820  SPI_changeMasterClock
2821 #endif
2822 #ifdef ROM_SPI_initSlave
2823 #define MAP_SPI_initSlave \
2824  ROM_SPI_initSlave
2825 #else
2826 #define MAP_SPI_initSlave \
2827  SPI_initSlave
2828 #endif
2829 #ifdef ROM_SPI_changeClockPhasePolarity
2830 #define MAP_SPI_changeClockPhasePolarity \
2831  ROM_SPI_changeClockPhasePolarity
2832 #else
2833 #define MAP_SPI_changeClockPhasePolarity \
2834  SPI_changeClockPhasePolarity
2835 #endif
2836 #ifdef ROM_SPI_transmitData
2837 #define MAP_SPI_transmitData \
2838  ROM_SPI_transmitData
2839 #else
2840 #define MAP_SPI_transmitData \
2841  SPI_transmitData
2842 #endif
2843 #ifdef ROM_SPI_receiveData
2844 #define MAP_SPI_receiveData \
2845  ROM_SPI_receiveData
2846 #else
2847 #define MAP_SPI_receiveData \
2848  SPI_receiveData
2849 #endif
2850 #ifdef ROM_SPI_enableModule
2851 #define MAP_SPI_enableModule \
2852  ROM_SPI_enableModule
2853 #else
2854 #define MAP_SPI_enableModule \
2855  SPI_enableModule
2856 #endif
2857 #ifdef ROM_SPI_disableModule
2858 #define MAP_SPI_disableModule \
2859  ROM_SPI_disableModule
2860 #else
2861 #define MAP_SPI_disableModule \
2862  SPI_disableModule
2863 #endif
2864 #ifdef ROM_SPI_getReceiveBufferAddressForDMA
2865 #define MAP_SPI_getReceiveBufferAddressForDMA \
2866  ROM_SPI_getReceiveBufferAddressForDMA
2867 #else
2868 #define MAP_SPI_getReceiveBufferAddressForDMA \
2869  SPI_getReceiveBufferAddressForDMA
2870 #endif
2871 #ifdef ROM_SPI_getTransmitBufferAddressForDMA
2872 #define MAP_SPI_getTransmitBufferAddressForDMA \
2873  ROM_SPI_getTransmitBufferAddressForDMA
2874 #else
2875 #define MAP_SPI_getTransmitBufferAddressForDMA \
2876  SPI_getTransmitBufferAddressForDMA
2877 #endif
2878 #ifdef ROM_SPI_isBusy
2879 #define MAP_SPI_isBusy \
2880  ROM_SPI_isBusy
2881 #else
2882 #define MAP_SPI_isBusy \
2883  SPI_isBusy
2884 #endif
2885 #ifdef ROM_SPI_enableInterrupt
2886 #define MAP_SPI_enableInterrupt \
2887  ROM_SPI_enableInterrupt
2888 #else
2889 #define MAP_SPI_enableInterrupt \
2890  SPI_enableInterrupt
2891 #endif
2892 #ifdef ROM_SPI_disableInterrupt
2893 #define MAP_SPI_disableInterrupt \
2894  ROM_SPI_disableInterrupt
2895 #else
2896 #define MAP_SPI_disableInterrupt \
2897  SPI_disableInterrupt
2898 #endif
2899 #ifdef ROM_SPI_getInterruptStatus
2900 #define MAP_SPI_getInterruptStatus \
2901  ROM_SPI_getInterruptStatus
2902 #else
2903 #define MAP_SPI_getInterruptStatus \
2904  SPI_getInterruptStatus
2905 #endif
2906 #ifdef ROM_SPI_getEnabledInterruptStatus
2907 #define MAP_SPI_getEnabledInterruptStatus \
2908  ROM_SPI_getEnabledInterruptStatus
2909 #else
2910 #define MAP_SPI_getEnabledInterruptStatus \
2911  SPI_getEnabledInterruptStatus
2912 #endif
2913 #ifdef ROM_SPI_clearInterruptFlag
2914 #define MAP_SPI_clearInterruptFlag \
2915  ROM_SPI_clearInterruptFlag
2916 #else
2917 #define MAP_SPI_clearInterruptFlag \
2918  SPI_clearInterruptFlag
2919 #endif
2920 #ifdef ROM_SPI_registerInterrupt
2921 #define MAP_SPI_registerInterrupt \
2922  ROM_SPI_registerInterrupt
2923 #else
2924 #define MAP_SPI_registerInterrupt \
2925  SPI_registerInterrupt
2926 #endif
2927 #ifdef ROM_SPI_unregisterInterrupt
2928 #define MAP_SPI_unregisterInterrupt \
2929  ROM_SPI_unregisterInterrupt
2930 #else
2931 #define MAP_SPI_unregisterInterrupt \
2932  SPI_unregisterInterrupt
2933 #endif
2934 
2935 //*****************************************************************************
2936 //
2937 // Macros for the SysCtl API.
2938 //
2939 //*****************************************************************************
2940 #ifdef ROM_SysCtl_getSRAMSize
2941 #define MAP_SysCtl_getSRAMSize \
2942  ROM_SysCtl_getSRAMSize
2943 #else
2944 #define MAP_SysCtl_getSRAMSize \
2945  SysCtl_getSRAMSize
2946 #endif
2947 #ifdef ROM_SysCtl_getFlashSize
2948 #define MAP_SysCtl_getFlashSize \
2949  ROM_SysCtl_getFlashSize
2950 #else
2951 #define MAP_SysCtl_getFlashSize \
2952  SysCtl_getFlashSize
2953 #endif
2954 #ifdef ROM_SysCtl_rebootDevice
2955 #define MAP_SysCtl_rebootDevice \
2956  ROM_SysCtl_rebootDevice
2957 #else
2958 #define MAP_SysCtl_rebootDevice \
2959  SysCtl_rebootDevice
2960 #endif
2961 #ifdef ROM_SysCtl_enableSRAMBank
2962 #define MAP_SysCtl_enableSRAMBank \
2963  ROM_SysCtl_enableSRAMBank
2964 #else
2965 #define MAP_SysCtl_enableSRAMBank \
2966  SysCtl_enableSRAMBank
2967 #endif
2968 #ifdef ROM_SysCtl_disableSRAMBank
2969 #define MAP_SysCtl_disableSRAMBank \
2970  ROM_SysCtl_disableSRAMBank
2971 #else
2972 #define MAP_SysCtl_disableSRAMBank \
2973  SysCtl_disableSRAMBank
2974 #endif
2975 #ifdef ROM_SysCtl_enableSRAMBankRetention
2976 #define MAP_SysCtl_enableSRAMBankRetention \
2977  ROM_SysCtl_enableSRAMBankRetention
2978 #else
2979 #define MAP_SysCtl_enableSRAMBankRetention \
2980  SysCtl_enableSRAMBankRetention
2981 #endif
2982 #ifdef ROM_SysCtl_disableSRAMBankRetention
2983 #define MAP_SysCtl_disableSRAMBankRetention \
2984  ROM_SysCtl_disableSRAMBankRetention
2985 #else
2986 #define MAP_SysCtl_disableSRAMBankRetention \
2987  SysCtl_disableSRAMBankRetention
2988 #endif
2989 #ifdef ROM_SysCtl_enablePeripheralAtCPUHalt
2990 #define MAP_SysCtl_enablePeripheralAtCPUHalt \
2991  ROM_SysCtl_enablePeripheralAtCPUHalt
2992 #else
2993 #define MAP_SysCtl_enablePeripheralAtCPUHalt \
2994  SysCtl_enablePeripheralAtCPUHalt
2995 #endif
2996 #ifdef ROM_SysCtl_disablePeripheralAtCPUHalt
2997 #define MAP_SysCtl_disablePeripheralAtCPUHalt \
2998  ROM_SysCtl_disablePeripheralAtCPUHalt
2999 #else
3000 #define MAP_SysCtl_disablePeripheralAtCPUHalt \
3001  SysCtl_disablePeripheralAtCPUHalt
3002 #endif
3003 #ifdef ROM_SysCtl_setWDTTimeoutResetType
3004 #define MAP_SysCtl_setWDTTimeoutResetType \
3005  ROM_SysCtl_setWDTTimeoutResetType
3006 #else
3007 #define MAP_SysCtl_setWDTTimeoutResetType \
3008  SysCtl_setWDTTimeoutResetType
3009 #endif
3010 #ifdef ROM_SysCtl_setWDTPasswordViolationResetType
3011 #define MAP_SysCtl_setWDTPasswordViolationResetType \
3012  ROM_SysCtl_setWDTPasswordViolationResetType
3013 #else
3014 #define MAP_SysCtl_setWDTPasswordViolationResetType \
3015  SysCtl_setWDTPasswordViolationResetType
3016 #endif
3017 #ifdef ROM_SysCtl_disableNMISource
3018 #define MAP_SysCtl_disableNMISource \
3019  ROM_SysCtl_disableNMISource
3020 #else
3021 #define MAP_SysCtl_disableNMISource \
3022  SysCtl_disableNMISource
3023 #endif
3024 #ifdef ROM_SysCtl_enableNMISource
3025 #define MAP_SysCtl_enableNMISource \
3026  ROM_SysCtl_enableNMISource
3027 #else
3028 #define MAP_SysCtl_enableNMISource \
3029  SysCtl_enableNMISource
3030 #endif
3031 #ifdef ROM_SysCtl_getNMISourceStatus
3032 #define MAP_SysCtl_getNMISourceStatus \
3033  ROM_SysCtl_getNMISourceStatus
3034 #else
3035 #define MAP_SysCtl_getNMISourceStatus \
3036  SysCtl_getNMISourceStatus
3037 #endif
3038 #ifdef ROM_SysCtl_getTempCalibrationConstant
3039 #define MAP_SysCtl_getTempCalibrationConstant \
3040  ROM_SysCtl_getTempCalibrationConstant
3041 #else
3042 #define MAP_SysCtl_getTempCalibrationConstant \
3043  SysCtl_getTempCalibrationConstant
3044 #endif
3045 #ifdef ROM_SysCtl_enableGlitchFilter
3046 #define MAP_SysCtl_enableGlitchFilter \
3047  ROM_SysCtl_enableGlitchFilter
3048 #else
3049 #define MAP_SysCtl_enableGlitchFilter \
3050  SysCtl_enableGlitchFilter
3051 #endif
3052 #ifdef ROM_SysCtl_disableGlitchFilter
3053 #define MAP_SysCtl_disableGlitchFilter \
3054  ROM_SysCtl_disableGlitchFilter
3055 #else
3056 #define MAP_SysCtl_disableGlitchFilter \
3057  SysCtl_disableGlitchFilter
3058 #endif
3059 #ifdef ROM_SysCtl_getTLVInfo
3060 #define MAP_SysCtl_getTLVInfo \
3061  ROM_SysCtl_getTLVInfo
3062 #else
3063 #define MAP_SysCtl_getTLVInfo \
3064  SysCtl_getTLVInfo
3065 #endif
3066 
3067 //*****************************************************************************
3068 //
3069 // Macros for the SysTick API.
3070 //
3071 //*****************************************************************************
3072 #ifdef ROM_SysTick_enableModule
3073 #define MAP_SysTick_enableModule \
3074  ROM_SysTick_enableModule
3075 #else
3076 #define MAP_SysTick_enableModule \
3077  SysTick_enableModule
3078 #endif
3079 #ifdef ROM_SysTick_disableModule
3080 #define MAP_SysTick_disableModule \
3081  ROM_SysTick_disableModule
3082 #else
3083 #define MAP_SysTick_disableModule \
3084  SysTick_disableModule
3085 #endif
3086 #ifdef ROM_SysTick_enableInterrupt
3087 #define MAP_SysTick_enableInterrupt \
3088  ROM_SysTick_enableInterrupt
3089 #else
3090 #define MAP_SysTick_enableInterrupt \
3091  SysTick_enableInterrupt
3092 #endif
3093 #ifdef ROM_SysTick_disableInterrupt
3094 #define MAP_SysTick_disableInterrupt \
3095  ROM_SysTick_disableInterrupt
3096 #else
3097 #define MAP_SysTick_disableInterrupt \
3098  SysTick_disableInterrupt
3099 #endif
3100 #ifdef ROM_SysTick_setPeriod
3101 #define MAP_SysTick_setPeriod \
3102  ROM_SysTick_setPeriod
3103 #else
3104 #define MAP_SysTick_setPeriod \
3105  SysTick_setPeriod
3106 #endif
3107 #ifdef ROM_SysTick_getPeriod
3108 #define MAP_SysTick_getPeriod \
3109  ROM_SysTick_getPeriod
3110 #else
3111 #define MAP_SysTick_getPeriod \
3112  SysTick_getPeriod
3113 #endif
3114 #ifdef ROM_SysTick_getValue
3115 #define MAP_SysTick_getValue \
3116  ROM_SysTick_getValue
3117 #else
3118 #define MAP_SysTick_getValue \
3119  SysTick_getValue
3120 #endif
3121 #ifdef ROM_SysTick_registerInterrupt
3122 #define MAP_SysTick_registerInterrupt \
3123  ROM_SysTick_registerInterrupt
3124 #else
3125 #define MAP_SysTick_registerInterrupt \
3126  SysTick_registerInterrupt
3127 #endif
3128 #ifdef ROM_SysTick_unregisterInterrupt
3129 #define MAP_SysTick_unregisterInterrupt \
3130  ROM_SysTick_unregisterInterrupt
3131 #else
3132 #define MAP_SysTick_unregisterInterrupt \
3133  SysTick_unregisterInterrupt
3134 #endif
3135 
3136 //*****************************************************************************
3137 //
3138 // Macros for the Timer_A API.
3139 //
3140 //*****************************************************************************
3141 #ifdef ROM_Timer_A_startCounter
3142 #define MAP_Timer_A_startCounter \
3143  ROM_Timer_A_startCounter
3144 #else
3145 #define MAP_Timer_A_startCounter \
3146  Timer_A_startCounter
3147 #endif
3148 #ifdef ROM_Timer_A_configureContinuousMode
3149 #define MAP_Timer_A_configureContinuousMode \
3150  ROM_Timer_A_configureContinuousMode
3151 #else
3152 #define MAP_Timer_A_configureContinuousMode \
3153  Timer_A_configureContinuousMode
3154 #endif
3155 #ifdef ROM_Timer_A_configureUpMode
3156 #define MAP_Timer_A_configureUpMode \
3157  ROM_Timer_A_configureUpMode
3158 #else
3159 #define MAP_Timer_A_configureUpMode \
3160  Timer_A_configureUpMode
3161 #endif
3162 #ifdef ROM_Timer_A_configureUpDownMode
3163 #define MAP_Timer_A_configureUpDownMode \
3164  ROM_Timer_A_configureUpDownMode
3165 #else
3166 #define MAP_Timer_A_configureUpDownMode \
3167  Timer_A_configureUpDownMode
3168 #endif
3169 #ifdef ROM_Timer_A_initCapture
3170 #define MAP_Timer_A_initCapture \
3171  ROM_Timer_A_initCapture
3172 #else
3173 #define MAP_Timer_A_initCapture \
3174  Timer_A_initCapture
3175 #endif
3176 #ifdef ROM_Timer_A_initCompare
3177 #define MAP_Timer_A_initCompare \
3178  ROM_Timer_A_initCompare
3179 #else
3180 #define MAP_Timer_A_initCompare \
3181  Timer_A_initCompare
3182 #endif
3183 #ifdef ROM_Timer_A_clearTimer
3184 #define MAP_Timer_A_clearTimer \
3185  ROM_Timer_A_clearTimer
3186 #else
3187 #define MAP_Timer_A_clearTimer \
3188  Timer_A_clearTimer
3189 #endif
3190 #ifdef ROM_Timer_A_getSynchronizedCaptureCompareInput
3191 #define MAP_Timer_A_getSynchronizedCaptureCompareInput \
3192  ROM_Timer_A_getSynchronizedCaptureCompareInput
3193 #else
3194 #define MAP_Timer_A_getSynchronizedCaptureCompareInput \
3195  Timer_A_getSynchronizedCaptureCompareInput
3196 #endif
3197 #ifdef ROM_Timer_A_getOutputForOutputModeOutBitValue
3198 #define MAP_Timer_A_getOutputForOutputModeOutBitValue \
3199  ROM_Timer_A_getOutputForOutputModeOutBitValue
3200 #else
3201 #define MAP_Timer_A_getOutputForOutputModeOutBitValue \
3202  Timer_A_getOutputForOutputModeOutBitValue
3203 #endif
3204 #ifdef ROM_Timer_A_getCaptureCompareCount
3205 #define MAP_Timer_A_getCaptureCompareCount \
3206  ROM_Timer_A_getCaptureCompareCount
3207 #else
3208 #define MAP_Timer_A_getCaptureCompareCount \
3209  Timer_A_getCaptureCompareCount
3210 #endif
3211 #ifdef ROM_Timer_A_setOutputForOutputModeOutBitValue
3212 #define MAP_Timer_A_setOutputForOutputModeOutBitValue \
3213  ROM_Timer_A_setOutputForOutputModeOutBitValue
3214 #else
3215 #define MAP_Timer_A_setOutputForOutputModeOutBitValue \
3216  Timer_A_setOutputForOutputModeOutBitValue
3217 #endif
3218 #ifdef ROM_Timer_A_generatePWM
3219 #define MAP_Timer_A_generatePWM \
3220  ROM_Timer_A_generatePWM
3221 #else
3222 #define MAP_Timer_A_generatePWM \
3223  Timer_A_generatePWM
3224 #endif
3225 #ifdef ROM_Timer_A_stopTimer
3226 #define MAP_Timer_A_stopTimer \
3227  ROM_Timer_A_stopTimer
3228 #else
3229 #define MAP_Timer_A_stopTimer \
3230  Timer_A_stopTimer
3231 #endif
3232 #ifdef ROM_Timer_A_setCompareValue
3233 #define MAP_Timer_A_setCompareValue \
3234  ROM_Timer_A_setCompareValue
3235 #else
3236 #define MAP_Timer_A_setCompareValue \
3237  Timer_A_setCompareValue
3238 #endif
3239 #ifdef ROM_Timer_A_clearInterruptFlag
3240 #define MAP_Timer_A_clearInterruptFlag \
3241  ROM_Timer_A_clearInterruptFlag
3242 #else
3243 #define MAP_Timer_A_clearInterruptFlag \
3244  Timer_A_clearInterruptFlag
3245 #endif
3246 #ifdef ROM_Timer_A_clearCaptureCompareInterrupt
3247 #define MAP_Timer_A_clearCaptureCompareInterrupt \
3248  ROM_Timer_A_clearCaptureCompareInterrupt
3249 #else
3250 #define MAP_Timer_A_clearCaptureCompareInterrupt \
3251  Timer_A_clearCaptureCompareInterrupt
3252 #endif
3253 #ifdef ROM_Timer_A_enableInterrupt
3254 #define MAP_Timer_A_enableInterrupt \
3255  ROM_Timer_A_enableInterrupt
3256 #else
3257 #define MAP_Timer_A_enableInterrupt \
3258  Timer_A_enableInterrupt
3259 #endif
3260 #ifdef ROM_Timer_A_disableInterrupt
3261 #define MAP_Timer_A_disableInterrupt \
3262  ROM_Timer_A_disableInterrupt
3263 #else
3264 #define MAP_Timer_A_disableInterrupt \
3265  Timer_A_disableInterrupt
3266 #endif
3267 #ifdef ROM_Timer_A_getInterruptStatus
3268 #define MAP_Timer_A_getInterruptStatus \
3269  ROM_Timer_A_getInterruptStatus
3270 #else
3271 #define MAP_Timer_A_getInterruptStatus \
3272  Timer_A_getInterruptStatus
3273 #endif
3274 #ifdef ROM_Timer_A_getEnabledInterruptStatus
3275 #define MAP_Timer_A_getEnabledInterruptStatus \
3276  ROM_Timer_A_getEnabledInterruptStatus
3277 #else
3278 #define MAP_Timer_A_getEnabledInterruptStatus \
3279  Timer_A_getEnabledInterruptStatus
3280 #endif
3281 #ifdef ROM_Timer_A_enableCaptureCompareInterrupt
3282 #define MAP_Timer_A_enableCaptureCompareInterrupt \
3283  ROM_Timer_A_enableCaptureCompareInterrupt
3284 #else
3285 #define MAP_Timer_A_enableCaptureCompareInterrupt \
3286  Timer_A_enableCaptureCompareInterrupt
3287 #endif
3288 #ifdef ROM_Timer_A_disableCaptureCompareInterrupt
3289 #define MAP_Timer_A_disableCaptureCompareInterrupt \
3290  ROM_Timer_A_disableCaptureCompareInterrupt
3291 #else
3292 #define MAP_Timer_A_disableCaptureCompareInterrupt \
3293  Timer_A_disableCaptureCompareInterrupt
3294 #endif
3295 #ifdef ROM_Timer_A_getCaptureCompareInterruptStatus
3296 #define MAP_Timer_A_getCaptureCompareInterruptStatus \
3297  ROM_Timer_A_getCaptureCompareInterruptStatus
3298 #else
3299 #define MAP_Timer_A_getCaptureCompareInterruptStatus \
3300  Timer_A_getCaptureCompareInterruptStatus
3301 #endif
3302 #ifdef ROM_Timer_A_getCaptureCompareEnabledInterruptStatus
3303 #define MAP_Timer_A_getCaptureCompareEnabledInterruptStatus \
3304  ROM_Timer_A_getCaptureCompareEnabledInterruptStatus
3305 #else
3306 #define MAP_Timer_A_getCaptureCompareEnabledInterruptStatus \
3307  Timer_A_getCaptureCompareEnabledInterruptStatus
3308 #endif
3309 #ifdef ROM_Timer_A_registerInterrupt
3310 #define MAP_Timer_A_registerInterrupt \
3311  ROM_Timer_A_registerInterrupt
3312 #else
3313 #define MAP_Timer_A_registerInterrupt \
3314  Timer_A_registerInterrupt
3315 #endif
3316 #ifdef ROM_Timer_A_unregisterInterrupt
3317 #define MAP_Timer_A_unregisterInterrupt \
3318  ROM_Timer_A_unregisterInterrupt
3319 #else
3320 #define MAP_Timer_A_unregisterInterrupt \
3321  Timer_A_unregisterInterrupt
3322 #endif
3323 #ifdef ROM_Timer_A_getCounterValue
3324 #define MAP_Timer_A_getCounterValue \
3325  ROM_Timer_A_getCounterValue
3326 #else
3327 #define MAP_Timer_A_getCounterValue \
3328  Timer_A_getCounterValue
3329 #endif
3330 
3331 //*****************************************************************************
3332 //
3333 // Macros for the Timer32 API.
3334 //
3335 //*****************************************************************************
3336 #ifdef ROM_Timer32_initModule
3337 #define MAP_Timer32_initModule \
3338  ROM_Timer32_initModule
3339 #else
3340 #define MAP_Timer32_initModule \
3341  Timer32_initModule
3342 #endif
3343 #ifdef ROM_Timer32_setCount
3344 #define MAP_Timer32_setCount \
3345  ROM_Timer32_setCount
3346 #else
3347 #define MAP_Timer32_setCount \
3348  Timer32_setCount
3349 #endif
3350 #ifdef ROM_Timer32_setCountInBackground
3351 #define MAP_Timer32_setCountInBackground \
3352  ROM_Timer32_setCountInBackground
3353 #else
3354 #define MAP_Timer32_setCountInBackground \
3355  Timer32_setCountInBackground
3356 #endif
3357 #ifdef ROM_Timer32_getValue
3358 #define MAP_Timer32_getValue \
3359  ROM_Timer32_getValue
3360 #else
3361 #define MAP_Timer32_getValue \
3362  Timer32_getValue
3363 #endif
3364 #ifdef ROM_Timer32_startTimer
3365 #define MAP_Timer32_startTimer \
3366  ROM_Timer32_startTimer
3367 #else
3368 #define MAP_Timer32_startTimer \
3369  Timer32_startTimer
3370 #endif
3371 #ifdef ROM_Timer32_haltTimer
3372 #define MAP_Timer32_haltTimer \
3373  ROM_Timer32_haltTimer
3374 #else
3375 #define MAP_Timer32_haltTimer \
3376  Timer32_haltTimer
3377 #endif
3378 #ifdef ROM_Timer32_enableInterrupt
3379 #define MAP_Timer32_enableInterrupt \
3380  ROM_Timer32_enableInterrupt
3381 #else
3382 #define MAP_Timer32_enableInterrupt \
3383  Timer32_enableInterrupt
3384 #endif
3385 #ifdef ROM_Timer32_disableInterrupt
3386 #define MAP_Timer32_disableInterrupt \
3387  ROM_Timer32_disableInterrupt
3388 #else
3389 #define MAP_Timer32_disableInterrupt \
3390  Timer32_disableInterrupt
3391 #endif
3392 #ifdef ROM_Timer32_clearInterruptFlag
3393 #define MAP_Timer32_clearInterruptFlag \
3394  ROM_Timer32_clearInterruptFlag
3395 #else
3396 #define MAP_Timer32_clearInterruptFlag \
3397  Timer32_clearInterruptFlag
3398 #endif
3399 #ifdef ROM_Timer32_getInterruptStatus
3400 #define MAP_Timer32_getInterruptStatus \
3401  ROM_Timer32_getInterruptStatus
3402 #else
3403 #define MAP_Timer32_getInterruptStatus \
3404  Timer32_getInterruptStatus
3405 #endif
3406 #ifdef ROM_Timer32_registerInterrupt
3407 #define MAP_Timer32_registerInterrupt \
3408  ROM_Timer32_registerInterrupt
3409 #else
3410 #define MAP_Timer32_registerInterrupt \
3411  Timer32_registerInterrupt
3412 #endif
3413 #ifdef ROM_Timer32_unregisterInterrupt
3414 #define MAP_Timer32_unregisterInterrupt \
3415  ROM_Timer32_unregisterInterrupt
3416 #else
3417 #define MAP_Timer32_unregisterInterrupt \
3418  Timer32_unregisterInterrupt
3419 #endif
3420 
3421 //*****************************************************************************
3422 //
3423 // Macros for the UART API.
3424 //
3425 //*****************************************************************************
3426 #ifdef ROM_UART_initModule
3427 #define MAP_UART_initModule \
3428  ROM_UART_initModule
3429 #else
3430 #define MAP_UART_initModule \
3431  UART_initModule
3432 #endif
3433 #ifdef ROM_UART_transmitData
3434 #define MAP_UART_transmitData \
3435  ROM_UART_transmitData
3436 #else
3437 #define MAP_UART_transmitData \
3438  UART_transmitData
3439 #endif
3440 #ifdef ROM_UART_enableModule
3441 #define MAP_UART_enableModule \
3442  ROM_UART_enableModule
3443 #else
3444 #define MAP_UART_enableModule \
3445  UART_enableModule
3446 #endif
3447 #ifdef ROM_UART_disableModule
3448 #define MAP_UART_disableModule \
3449  ROM_UART_disableModule
3450 #else
3451 #define MAP_UART_disableModule \
3452  UART_disableModule
3453 #endif
3454 #ifdef ROM_UART_queryStatusFlags
3455 #define MAP_UART_queryStatusFlags \
3456  ROM_UART_queryStatusFlags
3457 #else
3458 #define MAP_UART_queryStatusFlags \
3459  UART_queryStatusFlags
3460 #endif
3461 #ifdef ROM_UART_setDormant
3462 #define MAP_UART_setDormant \
3463  ROM_UART_setDormant
3464 #else
3465 #define MAP_UART_setDormant \
3466  UART_setDormant
3467 #endif
3468 #ifdef ROM_UART_resetDormant
3469 #define MAP_UART_resetDormant \
3470  ROM_UART_resetDormant
3471 #else
3472 #define MAP_UART_resetDormant \
3473  UART_resetDormant
3474 #endif
3475 #ifdef ROM_UART_transmitAddress
3476 #define MAP_UART_transmitAddress \
3477  ROM_UART_transmitAddress
3478 #else
3479 #define MAP_UART_transmitAddress \
3480  UART_transmitAddress
3481 #endif
3482 #ifdef ROM_UART_transmitBreak
3483 #define MAP_UART_transmitBreak \
3484  ROM_UART_transmitBreak
3485 #else
3486 #define MAP_UART_transmitBreak \
3487  UART_transmitBreak
3488 #endif
3489 #ifdef ROM_UART_getReceiveBufferAddressForDMA
3490 #define MAP_UART_getReceiveBufferAddressForDMA \
3491  ROM_UART_getReceiveBufferAddressForDMA
3492 #else
3493 #define MAP_UART_getReceiveBufferAddressForDMA \
3494  UART_getReceiveBufferAddressForDMA
3495 #endif
3496 #ifdef ROM_UART_getTransmitBufferAddressForDMA
3497 #define MAP_UART_getTransmitBufferAddressForDMA \
3498  ROM_UART_getTransmitBufferAddressForDMA
3499 #else
3500 #define MAP_UART_getTransmitBufferAddressForDMA \
3501  UART_getTransmitBufferAddressForDMA
3502 #endif
3503 #ifdef ROM_UART_selectDeglitchTime
3504 #define MAP_UART_selectDeglitchTime \
3505  ROM_UART_selectDeglitchTime
3506 #else
3507 #define MAP_UART_selectDeglitchTime \
3508  UART_selectDeglitchTime
3509 #endif
3510 #ifdef ROM_UART_enableInterrupt
3511 #define MAP_UART_enableInterrupt \
3512  ROM_UART_enableInterrupt
3513 #else
3514 #define MAP_UART_enableInterrupt \
3515  UART_enableInterrupt
3516 #endif
3517 #ifdef ROM_UART_disableInterrupt
3518 #define MAP_UART_disableInterrupt \
3519  ROM_UART_disableInterrupt
3520 #else
3521 #define MAP_UART_disableInterrupt \
3522  UART_disableInterrupt
3523 #endif
3524 #ifdef ROM_UART_getInterruptStatus
3525 #define MAP_UART_getInterruptStatus \
3526  ROM_UART_getInterruptStatus
3527 #else
3528 #define MAP_UART_getInterruptStatus \
3529  UART_getInterruptStatus
3530 #endif
3531 #ifdef ROM_UART_clearInterruptFlag
3532 #define MAP_UART_clearInterruptFlag \
3533  ROM_UART_clearInterruptFlag
3534 #else
3535 #define MAP_UART_clearInterruptFlag \
3536  UART_clearInterruptFlag
3537 #endif
3538 #ifdef ROM_UART_receiveData
3539 #define MAP_UART_receiveData \
3540  ROM_UART_receiveData
3541 #else
3542 #define MAP_UART_receiveData \
3543  UART_receiveData
3544 #endif
3545 #ifdef ROM_UART_getEnabledInterruptStatus
3546 #define MAP_UART_getEnabledInterruptStatus \
3547  ROM_UART_getEnabledInterruptStatus
3548 #else
3549 #define MAP_UART_getEnabledInterruptStatus \
3550  UART_getEnabledInterruptStatus
3551 #endif
3552 #ifdef ROM_UART_registerInterrupt
3553 #define MAP_UART_registerInterrupt \
3554  ROM_UART_registerInterrupt
3555 #else
3556 #define MAP_UART_registerInterrupt \
3557  UART_registerInterrupt
3558 #endif
3559 #ifdef ROM_UART_unregisterInterrupt
3560 #define MAP_UART_unregisterInterrupt \
3561  ROM_UART_unregisterInterrupt
3562 #else
3563 #define MAP_UART_unregisterInterrupt \
3564  UART_unregisterInterrupt
3565 #endif
3566 
3567 //*****************************************************************************
3568 //
3569 // Macros for the WDT API.
3570 //
3571 //*****************************************************************************
3572 #ifdef ROM_WDT_A_holdTimer
3573 #define MAP_WDT_A_holdTimer \
3574  ROM_WDT_A_holdTimer
3575 #else
3576 #define MAP_WDT_A_holdTimer \
3577  WDT_A_holdTimer
3578 #endif
3579 #ifdef ROM_WDT_A_startTimer
3580 #define MAP_WDT_A_startTimer \
3581  ROM_WDT_A_startTimer
3582 #else
3583 #define MAP_WDT_A_startTimer \
3584  WDT_A_startTimer
3585 #endif
3586 #ifdef ROM_WDT_A_clearTimer
3587 #define MAP_WDT_A_clearTimer \
3588  ROM_WDT_A_clearTimer
3589 #else
3590 #define MAP_WDT_A_clearTimer \
3591  WDT_A_clearTimer
3592 #endif
3593 #ifdef ROM_WDT_A_initWatchdogTimer
3594 #define MAP_WDT_A_initWatchdogTimer \
3595  ROM_WDT_A_initWatchdogTimer
3596 #else
3597 #define MAP_WDT_A_initWatchdogTimer \
3598  WDT_A_initWatchdogTimer
3599 #endif
3600 #ifdef ROM_WDT_A_initIntervalTimer
3601 #define MAP_WDT_A_initIntervalTimer \
3602  ROM_WDT_A_initIntervalTimer
3603 #else
3604 #define MAP_WDT_A_initIntervalTimer \
3605  WDT_A_initIntervalTimer
3606 #endif
3607 #ifdef ROM_WDT_A_registerInterrupt
3608 #define MAP_WDT_A_registerInterrupt \
3609  ROM_WDT_A_registerInterrupt
3610 #else
3611 #define MAP_WDT_A_registerInterrupt \
3612  WDT_A_registerInterrupt
3613 #endif
3614 #ifdef ROM_WDT_A_unregisterInterrupt
3615 #define MAP_WDT_A_unregisterInterrupt \
3616  ROM_WDT_A_unregisterInterrupt
3617 #else
3618 #define MAP_WDT_A_unregisterInterrupt \
3619  WDT_A_unregisterInterrupt
3620 #endif
3621 #ifdef ROM_WDT_A_setPasswordViolationReset
3622 #define MAP_WDT_A_setPasswordViolationReset \
3623  ROM_WDT_A_setPasswordViolationReset
3624 #else
3625 #define MAP_WDT_A_setPasswordViolationReset \
3626  WDT_A_setPasswordViolationReset
3627 #endif
3628 #ifdef ROM_WDT_A_setTimeoutReset
3629 #define MAP_WDT_A_setTimeoutReset \
3630  ROM_WDT_A_setTimeoutReset
3631 #else
3632 #define MAP_WDT_A_setTimeoutReset \
3633  WDT_A_setTimeoutReset
3634 #endif
3635 
3636 //*****************************************************************************
3637 //
3638 // Macros for the SysCtl_A API.
3639 //
3640 //*****************************************************************************
3641 #ifdef ROM_SysCtl_A_getSRAMSize
3642 #define MAP_SysCtl_A_getSRAMSize \
3643  ROM_SysCtl_A_getSRAMSize
3644 #else
3645 #define MAP_SysCtl_A_getSRAMSize \
3646  SysCtl_A_getSRAMSize
3647 #endif
3648 #ifdef ROM_SysCtl_A_getFlashSize
3649 #define MAP_SysCtl_A_getFlashSize \
3650  ROM_SysCtl_A_getFlashSize
3651 #else
3652 #define MAP_SysCtl_A_getFlashSize \
3653  SysCtl_A_getFlashSize
3654 #endif
3655 #ifdef ROM_SysCtl_A_rebootDevice
3656 #define MAP_SysCtl_A_rebootDevice \
3657  ROM_SysCtl_A_rebootDevice
3658 #else
3659 #define MAP_SysCtl_A_rebootDevice \
3660  SysCtl_A_rebootDevice
3661 #endif
3662 #ifdef ROM_SysCtl_A_enableSRAM
3663 #define MAP_SysCtl_A_enableSRAM \
3664  ROM_SysCtl_A_enableSRAM
3665 #else
3666 #define MAP_SysCtl_A_enableSRAM \
3667  SysCtl_A_enableSRAM
3668 #endif
3669 #ifdef ROM_SysCtl_A_disableSRAM
3670 #define MAP_SysCtl_A_disableSRAM \
3671  ROM_SysCtl_A_disableSRAM
3672 #else
3673 #define MAP_SysCtl_A_disableSRAM \
3674  SysCtl_A_disableSRAM
3675 #endif
3676 #ifdef ROM_SysCtl_A_enableSRAMRetention
3677 #define MAP_SysCtl_A_enableSRAMRetention \
3678  ROM_SysCtl_A_enableSRAMRetention
3679 #else
3680 #define MAP_SysCtl_A_enableSRAMRetention \
3681  SysCtl_A_enableSRAMRetention
3682 #endif
3683 #ifdef ROM_SysCtl_A_disableSRAMRetention
3684 #define MAP_SysCtl_A_disableSRAMRetention \
3685  ROM_SysCtl_A_disableSRAMRetention
3686 #else
3687 #define MAP_SysCtl_A_disableSRAMRetention \
3688  SysCtl_A_disableSRAMRetention
3689 #endif
3690 #ifdef ROM_SysCtl_A_enablePeripheralAtCPUHalt
3691 #define MAP_SysCtl_A_enablePeripheralAtCPUHalt \
3692  ROM_SysCtl_A_enablePeripheralAtCPUHalt
3693 #else
3694 #define MAP_SysCtl_A_enablePeripheralAtCPUHalt \
3695  SysCtl_A_enablePeripheralAtCPUHalt
3696 #endif
3697 #ifdef ROM_SysCtl_A_disablePeripheralAtCPUHalt
3698 #define MAP_SysCtl_A_disablePeripheralAtCPUHalt \
3699  ROM_SysCtl_A_disablePeripheralAtCPUHalt
3700 #else
3701 #define MAP_SysCtl_A_disablePeripheralAtCPUHalt \
3702  SysCtl_A_disablePeripheralAtCPUHalt
3703 #endif
3704 #ifdef ROM_SysCtl_A_setWDTTimeoutResetType
3705 #define MAP_SysCtl_A_setWDTTimeoutResetType \
3706  ROM_SysCtl_A_setWDTTimeoutResetType
3707 #else
3708 #define MAP_SysCtl_A_setWDTTimeoutResetType \
3709  SysCtl_A_setWDTTimeoutResetType
3710 #endif
3711 #ifdef ROM_SysCtl_A_setWDTPasswordViolationResetType
3712 #define MAP_SysCtl_A_setWDTPasswordViolationResetType \
3713  ROM_SysCtl_A_setWDTPasswordViolationResetType
3714 #else
3715 #define MAP_SysCtl_A_setWDTPasswordViolationResetType \
3716  SysCtl_A_setWDTPasswordViolationResetType
3717 #endif
3718 #ifdef ROM_SysCtl_A_disableNMISource
3719 #define MAP_SysCtl_A_disableNMISource \
3720  ROM_SysCtl_A_disableNMISource
3721 #else
3722 #define MAP_SysCtl_A_disableNMISource \
3723  SysCtl_A_disableNMISource
3724 #endif
3725 #ifdef ROM_SysCtl_A_enableNMISource
3726 #define MAP_SysCtl_A_enableNMISource \
3727  ROM_SysCtl_A_enableNMISource
3728 #else
3729 #define MAP_SysCtl_A_enableNMISource \
3730  SysCtl_A_enableNMISource
3731 #endif
3732 #ifdef ROM_SysCtl_A_getNMISourceStatus
3733 #define MAP_SysCtl_A_getNMISourceStatus \
3734  ROM_SysCtl_A_getNMISourceStatus
3735 #else
3736 #define MAP_SysCtl_A_getNMISourceStatus \
3737  SysCtl_A_getNMISourceStatus
3738 #endif
3739 #ifdef ROM_SysCtl_A_getTempCalibrationConstant
3740 #define MAP_SysCtl_A_getTempCalibrationConstant \
3741  ROM_SysCtl_A_getTempCalibrationConstant
3742 #else
3743 #define MAP_SysCtl_A_getTempCalibrationConstant \
3744  SysCtl_A_getTempCalibrationConstant
3745 #endif
3746 #ifdef ROM_SysCtl_A_enableGlitchFilter
3747 #define MAP_SysCtl_A_enableGlitchFilter \
3748  ROM_SysCtl_A_enableGlitchFilter
3749 #else
3750 #define MAP_SysCtl_A_enableGlitchFilter \
3751  SysCtl_A_enableGlitchFilter
3752 #endif
3753 #ifdef ROM_SysCtl_A_disableGlitchFilter
3754 #define MAP_SysCtl_A_disableGlitchFilter \
3755  ROM_SysCtl_A_disableGlitchFilter
3756 #else
3757 #define MAP_SysCtl_A_disableGlitchFilter \
3758  SysCtl_A_disableGlitchFilter
3759 #endif
3760 #ifdef ROM_SysCtl_A_getTLVInfo
3761 #define MAP_SysCtl_A_getTLVInfo \
3762  ROM_SysCtl_A_getTLVInfo
3763 #else
3764 #define MAP_SysCtl_A_getTLVInfo \
3765  SysCtl_A_getTLVInfo
3766 #endif
3767 #ifdef ROM_SysCtl_A_getInfoFlashSize
3768 #define MAP_SysCtl_A_getInfoFlashSize \
3769  ROM_SysCtl_A_getInfoFlashSize
3770 #else
3771 #define MAP_SysCtl_A_getInfoFlashSize \
3772  SysCtl_A_getInfoFlashSize
3773 #endif
3774 
3775 //*****************************************************************************
3776 //
3777 // Macros for the Flash_A API.
3778 //
3779 //*****************************************************************************
3780 #ifdef ROM_FlashCtl_A_enableReadParityCheck
3781 #define MAP_FlashCtl_A_enableReadParityCheck \
3782  ROM_FlashCtl_A_enableReadParityCheck
3783 #else
3784 #define MAP_FlashCtl_A_enableReadParityCheck \
3785  FlashCtl_A_enableReadParityCheck
3786 #endif
3787 #ifdef ROM_FlashCtl_A_disableReadParityCheck
3788 #define MAP_FlashCtl_A_disableReadParityCheck \
3789  ROM_FlashCtl_A_disableReadParityCheck
3790 #else
3791 #define MAP_FlashCtl_A_disableReadParityCheck \
3792  FlashCtl_A_disableReadParityCheck
3793 #endif
3794 #ifdef ROM_FlashCtl_A_enableReadBuffering
3795 #define MAP_FlashCtl_A_enableReadBuffering \
3796  ROM_FlashCtl_A_enableReadBuffering
3797 #else
3798 #define MAP_FlashCtl_A_enableReadBuffering \
3799  FlashCtl_A_enableReadBuffering
3800 #endif
3801 #ifdef ROM_FlashCtl_A_disableReadBuffering
3802 #define MAP_FlashCtl_A_disableReadBuffering \
3803  ROM_FlashCtl_A_disableReadBuffering
3804 #else
3805 #define MAP_FlashCtl_A_disableReadBuffering \
3806  FlashCtl_A_disableReadBuffering
3807 #endif
3808 #ifdef ROM_FlashCtl_A_unprotectMemory
3809 #define MAP_FlashCtl_A_unprotectMemory \
3810  ROM_FlashCtl_A_unprotectMemory
3811 #else
3812 #define MAP_FlashCtl_A_unprotectMemory \
3813  FlashCtl_A_unprotectMemory
3814 #endif
3815 #ifdef ROM_FlashCtl_A_protectMemory
3816 #define MAP_FlashCtl_A_protectMemory \
3817  ROM_FlashCtl_A_protectMemory
3818 #else
3819 #define MAP_FlashCtl_A_protectMemory \
3820  FlashCtl_A_protectMemory
3821 #endif
3822 #ifdef ROM_FlashCtl_A_isMemoryRangeProtected
3823 #define MAP_FlashCtl_A_isMemoryRangeProtected \
3824  ROM_FlashCtl_A_isMemoryRangeProtected
3825 #else
3826 #define MAP_FlashCtl_A_isMemoryRangeProtected \
3827  FlashCtl_A_isMemoryRangeProtected
3828 #endif
3829 #ifdef ROM_FlashCtl_A_verifyMemory
3830 #define MAP_FlashCtl_A_verifyMemory \
3831  ROM_FlashCtl_A_verifyMemory
3832 #else
3833 #define MAP_FlashCtl_A_verifyMemory \
3834  FlashCtl_A_verifyMemory
3835 #endif
3836 #ifdef ROM_FlashCtl_A_performMassErase
3837 #define MAP_FlashCtl_A_performMassErase \
3838  ROM_FlashCtl_A_performMassErase
3839 #else
3840 #define MAP_FlashCtl_A_performMassErase \
3841  FlashCtl_A_performMassErase
3842 #endif
3843 #ifdef ROM_FlashCtl_A_eraseSector
3844 #define MAP_FlashCtl_A_eraseSector \
3845  ROM_FlashCtl_A_eraseSector
3846 #else
3847 #define MAP_FlashCtl_A_eraseSector \
3848  FlashCtl_A_eraseSector
3849 #endif
3850 #ifdef ROM_FlashCtl_A_programMemory
3851 #define MAP_FlashCtl_A_programMemory \
3852  ROM_FlashCtl_A_programMemory
3853 #else
3854 #define MAP_FlashCtl_A_programMemory \
3855  FlashCtl_A_programMemory
3856 #endif
3857 #ifdef ROM_FlashCtl_A_setProgramVerification
3858 #define MAP_FlashCtl_A_setProgramVerification \
3859  ROM_FlashCtl_A_setProgramVerification
3860 #else
3861 #define MAP_FlashCtl_A_setProgramVerification \
3862  FlashCtl_A_setProgramVerification
3863 #endif
3864 #ifdef ROM_FlashCtl_A_clearProgramVerification
3865 #define MAP_FlashCtl_A_clearProgramVerification \
3866  ROM_FlashCtl_A_clearProgramVerification
3867 #else
3868 #define MAP_FlashCtl_A_clearProgramVerification \
3869  FlashCtl_A_clearProgramVerification
3870 #endif
3871 #ifdef ROM_FlashCtl_A_enableWordProgramming
3872 #define MAP_FlashCtl_A_enableWordProgramming \
3873  ROM_FlashCtl_A_enableWordProgramming
3874 #else
3875 #define MAP_FlashCtl_A_enableWordProgramming \
3876  FlashCtl_A_enableWordProgramming
3877 #endif
3878 #ifdef ROM_FlashCtl_A_disableWordProgramming
3879 #define MAP_FlashCtl_A_disableWordProgramming \
3880  ROM_FlashCtl_A_disableWordProgramming
3881 #else
3882 #define MAP_FlashCtl_A_disableWordProgramming \
3883  FlashCtl_A_disableWordProgramming
3884 #endif
3885 #ifdef ROM_FlashCtl_A_isWordProgrammingEnabled
3886 #define MAP_FlashCtl_A_isWordProgrammingEnabled \
3887  ROM_FlashCtl_A_isWordProgrammingEnabled
3888 #else
3889 #define MAP_FlashCtl_A_isWordProgrammingEnabled \
3890  FlashCtl_A_isWordProgrammingEnabled
3891 #endif
3892 #ifdef ROM_FlashCtl_A_enableInterrupt
3893 #define MAP_FlashCtl_A_enableInterrupt \
3894  ROM_FlashCtl_A_enableInterrupt
3895 #else
3896 #define MAP_FlashCtl_A_enableInterrupt \
3897  FlashCtl_A_enableInterrupt
3898 #endif
3899 #ifdef ROM_FlashCtl_A_disableInterrupt
3900 #define MAP_FlashCtl_A_disableInterrupt \
3901  ROM_FlashCtl_A_disableInterrupt
3902 #else
3903 #define MAP_FlashCtl_A_disableInterrupt \
3904  FlashCtl_A_disableInterrupt
3905 #endif
3906 #ifdef ROM_FlashCtl_A_getEnabledInterruptStatus
3907 #define MAP_FlashCtl_A_getEnabledInterruptStatus \
3908  ROM_FlashCtl_A_getEnabledInterruptStatus
3909 #else
3910 #define MAP_FlashCtl_A_getEnabledInterruptStatus \
3911  FlashCtl_A_getEnabledInterruptStatus
3912 #endif
3913 #ifdef ROM_FlashCtl_A_getInterruptStatus
3914 #define MAP_FlashCtl_A_getInterruptStatus \
3915  ROM_FlashCtl_A_getInterruptStatus
3916 #else
3917 #define MAP_FlashCtl_A_getInterruptStatus \
3918  FlashCtl_A_getInterruptStatus
3919 #endif
3920 #ifdef ROM_FlashCtl_A_clearInterruptFlag
3921 #define MAP_FlashCtl_A_clearInterruptFlag \
3922  ROM_FlashCtl_A_clearInterruptFlag
3923 #else
3924 #define MAP_FlashCtl_A_clearInterruptFlag \
3925  FlashCtl_A_clearInterruptFlag
3926 #endif
3927 #ifdef ROM_FlashCtl_A_setWaitState
3928 #define MAP_FlashCtl_A_setWaitState \
3929  ROM_FlashCtl_A_setWaitState
3930 #else
3931 #define MAP_FlashCtl_A_setWaitState \
3932  FlashCtl_A_setWaitState
3933 #endif
3934 #ifdef ROM_FlashCtl_A_getWaitState
3935 #define MAP_FlashCtl_A_getWaitState \
3936  ROM_FlashCtl_A_getWaitState
3937 #else
3938 #define MAP_FlashCtl_A_getWaitState \
3939  FlashCtl_A_getWaitState
3940 #endif
3941 #ifdef ROM_FlashCtl_A_setReadMode
3942 #define MAP_FlashCtl_A_setReadMode \
3943  ROM_FlashCtl_A_setReadMode
3944 #else
3945 #define MAP_FlashCtl_A_setReadMode \
3946  FlashCtl_A_setReadMode
3947 #endif
3948 #ifdef ROM_FlashCtl_A_getReadMode
3949 #define MAP_FlashCtl_A_getReadMode \
3950  ROM_FlashCtl_A_getReadMode
3951 #else
3952 #define MAP_FlashCtl_A_getReadMode \
3953  FlashCtl_A_getReadMode
3954 #endif
3955 #ifdef ROM_FlashCtl_A_registerInterrupt
3956 #define MAP_FlashCtl_A_registerInterrupt \
3957  ROM_FlashCtl_A_registerInterrupt
3958 #else
3959 #define MAP_FlashCtl_A_registerInterrupt \
3960  FlashCtl_A_registerInterrupt
3961 #endif
3962 #ifdef ROM_FlashCtl_A_unregisterInterrupt
3963 #define MAP_FlashCtl_A_unregisterInterrupt \
3964  ROM_FlashCtl_A_unregisterInterrupt
3965 #else
3966 #define MAP_FlashCtl_A_unregisterInterrupt \
3967  FlashCtl_A_unregisterInterrupt
3968 #endif
3969 #ifdef ROM___FlashCtl_A_remaskData8Post
3970 #define MAP___FlashCtl_A_remaskData8Post \
3971  ROM___FlashCtl_A_remaskData8Post
3972 #else
3973 #define MAP___FlashCtl_A_remaskData8Post \
3974  __FlashCtl_A_remaskData8Post
3975 #endif
3976 #ifdef ROM___FlashCtl_A_remaskData8Pre
3977 #define MAP___FlashCtl_A_remaskData8Pre \
3978  ROM___FlashCtl_A_remaskData8Pre
3979 #else
3980 #define MAP___FlashCtl_A_remaskData8Pre \
3981  __FlashCtl_A_remaskData8Pre
3982 #endif
3983 #ifdef ROM___FlashCtl_A_remaskData32Pre
3984 #define MAP___FlashCtl_A_remaskData32Pre \
3985  ROM___FlashCtl_A_remaskData32Pre
3986 #else
3987 #define MAP___FlashCtl_A_remaskData32Pre \
3988  __FlashCtl_A_remaskData32Pre
3989 #endif
3990 #ifdef ROM___FlashCtl_A_remaskData32Post
3991 #define MAP___FlashCtl_A_remaskData32Post \
3992  ROM___FlashCtl_A_remaskData32Post
3993 #else
3994 #define MAP___FlashCtl_A_remaskData32Post \
3995  __FlashCtl_A_remaskData32Post
3996 #endif
3997 #ifdef ROM___FlashCtl_A_remaskBurstDataPre
3998 #define MAP___FlashCtl_A_remaskBurstDataPre \
3999  ROM___FlashCtl_A_remaskBurstDataPre
4000 #else
4001 #define MAP___FlashCtl_A_remaskBurstDataPre \
4002  __FlashCtl_A_remaskBurstDataPre
4003 #endif
4004 #ifdef ROM___FlashCtl_A_remaskBurstDataPost
4005 #define MAP___FlashCtl_A_remaskBurstDataPost \
4006  ROM___FlashCtl_A_remaskBurstDataPost
4007 #else
4008 #define MAP___FlashCtl_A_remaskBurstDataPost \
4009  __FlashCtl_A_remaskBurstDataPost
4010 #endif
4011 #ifdef ROM_FlashCtl_A_initiateSectorErase
4012 #define MAP_FlashCtl_A_initiateSectorErase \
4013  ROM_FlashCtl_A_initiateSectorErase
4014 #else
4015 #define MAP_FlashCtl_A_initiateSectorErase \
4016  FlashCtl_A_initiateSectorErase
4017 #endif
4018 #ifdef ROM_FlashCtl_A_initiateMassErase
4019 #define MAP_FlashCtl_A_initiateMassErase \
4020  ROM_FlashCtl_A_initiateMassErase
4021 #else
4022 #define MAP_FlashCtl_A_initiateMassErase \
4023  FlashCtl_A_initiateMassErase
4024 #endif
4025 #ifdef ROM_FlashCtl_A_isMemoryProtected
4026 #define MAP_FlashCtl_A_isMemoryProtected \
4027  ROM_FlashCtl_A_isMemoryProtected
4028 #else
4029 #define MAP_FlashCtl_A_isMemoryProtected \
4030  FlashCtl_A_isMemoryProtected
4031 #endif
4032 #ifdef ROM_FlashCtl_A_getMemoryInfo
4033 #define MAP_FlashCtl_A_getMemoryInfo \
4034  ROM_FlashCtl_A_getMemoryInfo
4035 #else
4036 #define MAP_FlashCtl_A_getMemoryInfo \
4037  FlashCtl_A_getMemoryInfo
4038 #endif
4039 
4040 //*****************************************************************************
4041 //
4042 // Macros for the LCD_F API.
4043 //
4044 //*****************************************************************************
4045 #ifdef ROM_LCD_F_initModule
4046 #define MAP_LCD_F_initModule \
4047  ROM_LCD_F_initModule
4048 #else
4049 #define MAP_LCD_F_initModule \
4050  LCD_F_initModule
4051 #endif
4052 #ifdef ROM_LCD_F_turnOn
4053 #define MAP_LCD_F_turnOn \
4054  ROM_LCD_F_turnOn
4055 #else
4056 #define MAP_LCD_F_turnOn \
4057  LCD_F_turnOn
4058 #endif
4059 #ifdef ROM_LCD_F_turnOff
4060 #define MAP_LCD_F_turnOff \
4061  ROM_LCD_F_turnOff
4062 #else
4063 #define MAP_LCD_F_turnOff \
4064  LCD_F_turnOff
4065 #endif
4066 #ifdef ROM_LCD_F_clearAllMemory
4067 #define MAP_LCD_F_clearAllMemory \
4068  ROM_LCD_F_clearAllMemory
4069 #else
4070 #define MAP_LCD_F_clearAllMemory \
4071  LCD_F_clearAllMemory
4072 #endif
4073 #ifdef ROM_LCD_F_clearAllBlinkingMemory
4074 #define MAP_LCD_F_clearAllBlinkingMemory \
4075  ROM_LCD_F_clearAllBlinkingMemory
4076 #else
4077 #define MAP_LCD_F_clearAllBlinkingMemory \
4078  LCD_F_clearAllBlinkingMemory
4079 #endif
4080 #ifdef ROM_LCD_F_selectDisplayMemory
4081 #define MAP_LCD_F_selectDisplayMemory \
4082  ROM_LCD_F_selectDisplayMemory
4083 #else
4084 #define MAP_LCD_F_selectDisplayMemory \
4085  LCD_F_selectDisplayMemory
4086 #endif
4087 #ifdef ROM_LCD_F_setBlinkingControl
4088 #define MAP_LCD_F_setBlinkingControl \
4089  ROM_LCD_F_setBlinkingControl
4090 #else
4091 #define MAP_LCD_F_setBlinkingControl \
4092  LCD_F_setBlinkingControl
4093 #endif
4094 #ifdef ROM_LCD_F_setAnimationControl
4095 #define MAP_LCD_F_setAnimationControl \
4096  ROM_LCD_F_setAnimationControl
4097 #else
4098 #define MAP_LCD_F_setAnimationControl \
4099  LCD_F_setAnimationControl
4100 #endif
4101 #ifdef ROM_LCD_F_clearAllAnimationMemory
4102 #define MAP_LCD_F_clearAllAnimationMemory \
4103  ROM_LCD_F_clearAllAnimationMemory
4104 #else
4105 #define MAP_LCD_F_clearAllAnimationMemory \
4106  LCD_F_clearAllAnimationMemory
4107 #endif
4108 #ifdef ROM_LCD_F_setPinAsLCDFunction
4109 #define MAP_LCD_F_setPinAsLCDFunction \
4110  ROM_LCD_F_setPinAsLCDFunction
4111 #else
4112 #define MAP_LCD_F_setPinAsLCDFunction \
4113  LCD_F_setPinAsLCDFunction
4114 #endif
4115 #ifdef ROM_LCD_F_setPinAsPortFunction
4116 #define MAP_LCD_F_setPinAsPortFunction \
4117  ROM_LCD_F_setPinAsPortFunction
4118 #else
4119 #define MAP_LCD_F_setPinAsPortFunction \
4120  LCD_F_setPinAsPortFunction
4121 #endif
4122 #ifdef ROM_LCD_F_setPinsAsLCDFunction
4123 #define MAP_LCD_F_setPinsAsLCDFunction \
4124  ROM_LCD_F_setPinsAsLCDFunction
4125 #else
4126 #define MAP_LCD_F_setPinsAsLCDFunction \
4127  LCD_F_setPinsAsLCDFunction
4128 #endif
4129 #ifdef ROM_LCD_F_setPinAsCOM
4130 #define MAP_LCD_F_setPinAsCOM \
4131  ROM_LCD_F_setPinAsCOM
4132 #else
4133 #define MAP_LCD_F_setPinAsCOM \
4134  LCD_F_setPinAsCOM
4135 #endif
4136 #ifdef ROM_LCD_F_setPinAsSEG
4137 #define MAP_LCD_F_setPinAsSEG \
4138  ROM_LCD_F_setPinAsSEG
4139 #else
4140 #define MAP_LCD_F_setPinAsSEG \
4141  LCD_F_setPinAsSEG
4142 #endif
4143 #ifdef ROM_LCD_F_selectBias
4144 #define MAP_LCD_F_selectBias \
4145  ROM_LCD_F_selectBias
4146 #else
4147 #define MAP_LCD_F_selectBias \
4148  LCD_F_selectBias
4149 #endif
4150 #ifdef ROM_LCD_F_setVLCDSource
4151 #define MAP_LCD_F_setVLCDSource \
4152  ROM_LCD_F_setVLCDSource
4153 #else
4154 #define MAP_LCD_F_setVLCDSource \
4155  LCD_F_setVLCDSource
4156 #endif
4157 #ifdef ROM_LCD_F_clearInterrupt
4158 #define MAP_LCD_F_clearInterrupt \
4159  ROM_LCD_F_clearInterrupt
4160 #else
4161 #define MAP_LCD_F_clearInterrupt \
4162  LCD_F_clearInterrupt
4163 #endif
4164 #ifdef ROM_LCD_F_getInterruptStatus
4165 #define MAP_LCD_F_getInterruptStatus \
4166  ROM_LCD_F_getInterruptStatus
4167 #else
4168 #define MAP_LCD_F_getInterruptStatus \
4169  LCD_F_getInterruptStatus
4170 #endif
4171 #ifdef ROM_LCD_F_getEnabledInterruptStatus
4172 #define MAP_LCD_F_getEnabledInterruptStatus \
4173  ROM_LCD_F_getEnabledInterruptStatus
4174 #else
4175 #define MAP_LCD_F_getEnabledInterruptStatus \
4176  LCD_F_getEnabledInterruptStatus
4177 #endif
4178 #ifdef ROM_LCD_F_enableInterrupt
4179 #define MAP_LCD_F_enableInterrupt \
4180  ROM_LCD_F_enableInterrupt
4181 #else
4182 #define MAP_LCD_F_enableInterrupt \
4183  LCD_F_enableInterrupt
4184 #endif
4185 #ifdef ROM_LCD_F_disableInterrupt
4186 #define MAP_LCD_F_disableInterrupt \
4187  ROM_LCD_F_disableInterrupt
4188 #else
4189 #define MAP_LCD_F_disableInterrupt \
4190  LCD_F_disableInterrupt
4191 #endif
4192 #ifdef ROM_LCD_F_registerInterrupt
4193 #define MAP_LCD_F_registerInterrupt \
4194  ROM_LCD_F_registerInterrupt
4195 #else
4196 #define MAP_LCD_F_registerInterrupt \
4197  LCD_F_registerInterrupt
4198 #endif
4199 #ifdef ROM_LCD_F_unregisterInterrupt
4200 #define MAP_LCD_F_unregisterInterrupt \
4201  ROM_LCD_F_unregisterInterrupt
4202 #else
4203 #define MAP_LCD_F_unregisterInterrupt \
4204  LCD_F_unregisterInterrupt
4205 #endif
4206 
4207 #endif // __ROM_MAP_H__

Copyright 2018, Texas Instruments Incorporated