MSP432E4 DriverLib API Guide  1.11.00.03
rom_map.h
Go to the documentation of this file.
1 //*****************************************************************************
2 //
3 // rom_map.h - Macros to facilitate calling functions in the ROM when they are
4 // available and in flash otherwise.
5 //
6 // Copyright (c) 2008-2017 Texas Instruments Incorporated. All rights reserved.
7 // Software License Agreement
8 //
9 // Redistribution and use in source and binary forms, with or without
10 // modification, are permitted provided that the following conditions
11 // are met:
12 //
13 // Redistributions of source code must retain the above copyright
14 // notice, this list of conditions and the following disclaimer.
15 //
16 // Redistributions in binary form must reproduce the above copyright
17 // notice, this list of conditions and the following disclaimer in the
18 // documentation and/or other materials provided with the
19 // distribution.
20 //
21 // Neither the name of Texas Instruments Incorporated nor the names of
22 // its contributors may be used to endorse or promote products derived
23 // from this software without specific prior written permission.
24 //
25 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 //
37 //*****************************************************************************
38 
39 #ifndef __DRIVERLIB_ROM_MAP_H__
40 #define __DRIVERLIB_ROM_MAP_H__
41 
42 //*****************************************************************************
43 //
44 // Macros for the ADC API.
45 //
46 //*****************************************************************************
47 #ifdef ROM_ADCSequenceDataGet
48 #define MAP_ADCSequenceDataGet \
49  ROM_ADCSequenceDataGet
50 #else
51 #define MAP_ADCSequenceDataGet \
52  ADCSequenceDataGet
53 #endif
54 #ifdef ROM_ADCIntDisable
55 #define MAP_ADCIntDisable \
56  ROM_ADCIntDisable
57 #else
58 #define MAP_ADCIntDisable \
59  ADCIntDisable
60 #endif
61 #ifdef ROM_ADCIntEnable
62 #define MAP_ADCIntEnable \
63  ROM_ADCIntEnable
64 #else
65 #define MAP_ADCIntEnable \
66  ADCIntEnable
67 #endif
68 #ifdef ROM_ADCIntStatus
69 #define MAP_ADCIntStatus \
70  ROM_ADCIntStatus
71 #else
72 #define MAP_ADCIntStatus \
73  ADCIntStatus
74 #endif
75 #ifdef ROM_ADCIntClear
76 #define MAP_ADCIntClear \
77  ROM_ADCIntClear
78 #else
79 #define MAP_ADCIntClear \
80  ADCIntClear
81 #endif
82 #ifdef ROM_ADCSequenceEnable
83 #define MAP_ADCSequenceEnable \
84  ROM_ADCSequenceEnable
85 #else
86 #define MAP_ADCSequenceEnable \
87  ADCSequenceEnable
88 #endif
89 #ifdef ROM_ADCSequenceDisable
90 #define MAP_ADCSequenceDisable \
91  ROM_ADCSequenceDisable
92 #else
93 #define MAP_ADCSequenceDisable \
94  ADCSequenceDisable
95 #endif
96 #ifdef ROM_ADCSequenceConfigure
97 #define MAP_ADCSequenceConfigure \
98  ROM_ADCSequenceConfigure
99 #else
100 #define MAP_ADCSequenceConfigure \
101  ADCSequenceConfigure
102 #endif
103 #ifdef ROM_ADCSequenceStepConfigure
104 #define MAP_ADCSequenceStepConfigure \
105  ROM_ADCSequenceStepConfigure
106 #else
107 #define MAP_ADCSequenceStepConfigure \
108  ADCSequenceStepConfigure
109 #endif
110 #ifdef ROM_ADCSequenceOverflow
111 #define MAP_ADCSequenceOverflow \
112  ROM_ADCSequenceOverflow
113 #else
114 #define MAP_ADCSequenceOverflow \
115  ADCSequenceOverflow
116 #endif
117 #ifdef ROM_ADCSequenceOverflowClear
118 #define MAP_ADCSequenceOverflowClear \
119  ROM_ADCSequenceOverflowClear
120 #else
121 #define MAP_ADCSequenceOverflowClear \
122  ADCSequenceOverflowClear
123 #endif
124 #ifdef ROM_ADCSequenceUnderflow
125 #define MAP_ADCSequenceUnderflow \
126  ROM_ADCSequenceUnderflow
127 #else
128 #define MAP_ADCSequenceUnderflow \
129  ADCSequenceUnderflow
130 #endif
131 #ifdef ROM_ADCSequenceUnderflowClear
132 #define MAP_ADCSequenceUnderflowClear \
133  ROM_ADCSequenceUnderflowClear
134 #else
135 #define MAP_ADCSequenceUnderflowClear \
136  ADCSequenceUnderflowClear
137 #endif
138 #ifdef ROM_ADCProcessorTrigger
139 #define MAP_ADCProcessorTrigger \
140  ROM_ADCProcessorTrigger
141 #else
142 #define MAP_ADCProcessorTrigger \
143  ADCProcessorTrigger
144 #endif
145 #ifdef ROM_ADCHardwareOversampleConfigure
146 #define MAP_ADCHardwareOversampleConfigure \
147  ROM_ADCHardwareOversampleConfigure
148 #else
149 #define MAP_ADCHardwareOversampleConfigure \
150  ADCHardwareOversampleConfigure
151 #endif
152 #ifdef ROM_ADCComparatorConfigure
153 #define MAP_ADCComparatorConfigure \
154  ROM_ADCComparatorConfigure
155 #else
156 #define MAP_ADCComparatorConfigure \
157  ADCComparatorConfigure
158 #endif
159 #ifdef ROM_ADCComparatorRegionSet
160 #define MAP_ADCComparatorRegionSet \
161  ROM_ADCComparatorRegionSet
162 #else
163 #define MAP_ADCComparatorRegionSet \
164  ADCComparatorRegionSet
165 #endif
166 #ifdef ROM_ADCComparatorReset
167 #define MAP_ADCComparatorReset \
168  ROM_ADCComparatorReset
169 #else
170 #define MAP_ADCComparatorReset \
171  ADCComparatorReset
172 #endif
173 #ifdef ROM_ADCComparatorIntDisable
174 #define MAP_ADCComparatorIntDisable \
175  ROM_ADCComparatorIntDisable
176 #else
177 #define MAP_ADCComparatorIntDisable \
178  ADCComparatorIntDisable
179 #endif
180 #ifdef ROM_ADCComparatorIntEnable
181 #define MAP_ADCComparatorIntEnable \
182  ROM_ADCComparatorIntEnable
183 #else
184 #define MAP_ADCComparatorIntEnable \
185  ADCComparatorIntEnable
186 #endif
187 #ifdef ROM_ADCComparatorIntStatus
188 #define MAP_ADCComparatorIntStatus \
189  ROM_ADCComparatorIntStatus
190 #else
191 #define MAP_ADCComparatorIntStatus \
192  ADCComparatorIntStatus
193 #endif
194 #ifdef ROM_ADCComparatorIntClear
195 #define MAP_ADCComparatorIntClear \
196  ROM_ADCComparatorIntClear
197 #else
198 #define MAP_ADCComparatorIntClear \
199  ADCComparatorIntClear
200 #endif
201 #ifdef ROM_ADCReferenceSet
202 #define MAP_ADCReferenceSet \
203  ROM_ADCReferenceSet
204 #else
205 #define MAP_ADCReferenceSet \
206  ADCReferenceSet
207 #endif
208 #ifdef ROM_ADCReferenceGet
209 #define MAP_ADCReferenceGet \
210  ROM_ADCReferenceGet
211 #else
212 #define MAP_ADCReferenceGet \
213  ADCReferenceGet
214 #endif
215 #ifdef ROM_ADCPhaseDelaySet
216 #define MAP_ADCPhaseDelaySet \
217  ROM_ADCPhaseDelaySet
218 #else
219 #define MAP_ADCPhaseDelaySet \
220  ADCPhaseDelaySet
221 #endif
222 #ifdef ROM_ADCPhaseDelayGet
223 #define MAP_ADCPhaseDelayGet \
224  ROM_ADCPhaseDelayGet
225 #else
226 #define MAP_ADCPhaseDelayGet \
227  ADCPhaseDelayGet
228 #endif
229 #ifdef ROM_ADCIntClearEx
230 #define MAP_ADCIntClearEx \
231  ROM_ADCIntClearEx
232 #else
233 #define MAP_ADCIntClearEx \
234  ADCIntClearEx
235 #endif
236 #ifdef ROM_ADCIntDisableEx
237 #define MAP_ADCIntDisableEx \
238  ROM_ADCIntDisableEx
239 #else
240 #define MAP_ADCIntDisableEx \
241  ADCIntDisableEx
242 #endif
243 #ifdef ROM_ADCIntEnableEx
244 #define MAP_ADCIntEnableEx \
245  ROM_ADCIntEnableEx
246 #else
247 #define MAP_ADCIntEnableEx \
248  ADCIntEnableEx
249 #endif
250 #ifdef ROM_ADCIntStatusEx
251 #define MAP_ADCIntStatusEx \
252  ROM_ADCIntStatusEx
253 #else
254 #define MAP_ADCIntStatusEx \
255  ADCIntStatusEx
256 #endif
257 #ifdef ROM_ADCSequenceDMAEnable
258 #define MAP_ADCSequenceDMAEnable \
259  ROM_ADCSequenceDMAEnable
260 #else
261 #define MAP_ADCSequenceDMAEnable \
262  ADCSequenceDMAEnable
263 #endif
264 #ifdef ROM_ADCSequenceDMADisable
265 #define MAP_ADCSequenceDMADisable \
266  ROM_ADCSequenceDMADisable
267 #else
268 #define MAP_ADCSequenceDMADisable \
269  ADCSequenceDMADisable
270 #endif
271 #ifdef ROM_ADCBusy
272 #define MAP_ADCBusy \
273  ROM_ADCBusy
274 #else
275 #define MAP_ADCBusy \
276  ADCBusy
277 #endif
278 
279 //*****************************************************************************
280 //
281 // Macros for the AES API.
282 //
283 //*****************************************************************************
284 #ifdef ROM_AESIntStatus
285 #define MAP_AESIntStatus \
286  ROM_AESIntStatus
287 #else
288 #define MAP_AESIntStatus \
289  AESIntStatus
290 #endif
291 #ifdef ROM_AESAuthLengthSet
292 #define MAP_AESAuthLengthSet \
293  ROM_AESAuthLengthSet
294 #else
295 #define MAP_AESAuthLengthSet \
296  AESAuthLengthSet
297 #endif
298 #ifdef ROM_AESConfigSet
299 #define MAP_AESConfigSet \
300  ROM_AESConfigSet
301 #else
302 #define MAP_AESConfigSet \
303  AESConfigSet
304 #endif
305 #ifdef ROM_AESDataAuth
306 #define MAP_AESDataAuth \
307  ROM_AESDataAuth
308 #else
309 #define MAP_AESDataAuth \
310  AESDataAuth
311 #endif
312 #ifdef ROM_AESDataProcess
313 #define MAP_AESDataProcess \
314  ROM_AESDataProcess
315 #else
316 #define MAP_AESDataProcess \
317  AESDataProcess
318 #endif
319 #ifdef ROM_AESDataProcessAuth
320 #define MAP_AESDataProcessAuth \
321  ROM_AESDataProcessAuth
322 #else
323 #define MAP_AESDataProcessAuth \
324  AESDataProcessAuth
325 #endif
326 #ifdef ROM_AESDataRead
327 #define MAP_AESDataRead \
328  ROM_AESDataRead
329 #else
330 #define MAP_AESDataRead \
331  AESDataRead
332 #endif
333 #ifdef ROM_AESDataReadNonBlocking
334 #define MAP_AESDataReadNonBlocking \
335  ROM_AESDataReadNonBlocking
336 #else
337 #define MAP_AESDataReadNonBlocking \
338  AESDataReadNonBlocking
339 #endif
340 #ifdef ROM_AESDataWrite
341 #define MAP_AESDataWrite \
342  ROM_AESDataWrite
343 #else
344 #define MAP_AESDataWrite \
345  AESDataWrite
346 #endif
347 #ifdef ROM_AESDataWriteNonBlocking
348 #define MAP_AESDataWriteNonBlocking \
349  ROM_AESDataWriteNonBlocking
350 #else
351 #define MAP_AESDataWriteNonBlocking \
352  AESDataWriteNonBlocking
353 #endif
354 #ifdef ROM_AESDMADisable
355 #define MAP_AESDMADisable \
356  ROM_AESDMADisable
357 #else
358 #define MAP_AESDMADisable \
359  AESDMADisable
360 #endif
361 #ifdef ROM_AESDMAEnable
362 #define MAP_AESDMAEnable \
363  ROM_AESDMAEnable
364 #else
365 #define MAP_AESDMAEnable \
366  AESDMAEnable
367 #endif
368 #ifdef ROM_AESIntClear
369 #define MAP_AESIntClear \
370  ROM_AESIntClear
371 #else
372 #define MAP_AESIntClear \
373  AESIntClear
374 #endif
375 #ifdef ROM_AESIntDisable
376 #define MAP_AESIntDisable \
377  ROM_AESIntDisable
378 #else
379 #define MAP_AESIntDisable \
380  AESIntDisable
381 #endif
382 #ifdef ROM_AESIntEnable
383 #define MAP_AESIntEnable \
384  ROM_AESIntEnable
385 #else
386 #define MAP_AESIntEnable \
387  AESIntEnable
388 #endif
389 #ifdef ROM_AESIVSet
390 #define MAP_AESIVSet \
391  ROM_AESIVSet
392 #else
393 #define MAP_AESIVSet \
394  AESIVSet
395 #endif
396 #ifdef ROM_AESKey1Set
397 #define MAP_AESKey1Set \
398  ROM_AESKey1Set
399 #else
400 #define MAP_AESKey1Set \
401  AESKey1Set
402 #endif
403 #ifdef ROM_AESKey2Set
404 #define MAP_AESKey2Set \
405  ROM_AESKey2Set
406 #else
407 #define MAP_AESKey2Set \
408  AESKey2Set
409 #endif
410 #ifdef ROM_AESKey3Set
411 #define MAP_AESKey3Set \
412  ROM_AESKey3Set
413 #else
414 #define MAP_AESKey3Set \
415  AESKey3Set
416 #endif
417 #ifdef ROM_AESLengthSet
418 #define MAP_AESLengthSet \
419  ROM_AESLengthSet
420 #else
421 #define MAP_AESLengthSet \
422  AESLengthSet
423 #endif
424 #ifdef ROM_AESReset
425 #define MAP_AESReset \
426  ROM_AESReset
427 #else
428 #define MAP_AESReset \
429  AESReset
430 #endif
431 #ifdef ROM_AESTagRead
432 #define MAP_AESTagRead \
433  ROM_AESTagRead
434 #else
435 #define MAP_AESTagRead \
436  AESTagRead
437 #endif
438 #ifdef ROM_AESIVRead
439 #define MAP_AESIVRead \
440  ROM_AESIVRead
441 #else
442 #define MAP_AESIVRead \
443  AESIVRead
444 #endif
445 
446 //*****************************************************************************
447 //
448 // Macros for the CAN API.
449 //
450 //*****************************************************************************
451 #ifdef ROM_CANIntClear
452 #define MAP_CANIntClear \
453  ROM_CANIntClear
454 #else
455 #define MAP_CANIntClear \
456  CANIntClear
457 #endif
458 #ifdef ROM_CANInit
459 #define MAP_CANInit \
460  ROM_CANInit
461 #else
462 #define MAP_CANInit \
463  CANInit
464 #endif
465 #ifdef ROM_CANEnable
466 #define MAP_CANEnable \
467  ROM_CANEnable
468 #else
469 #define MAP_CANEnable \
470  CANEnable
471 #endif
472 #ifdef ROM_CANDisable
473 #define MAP_CANDisable \
474  ROM_CANDisable
475 #else
476 #define MAP_CANDisable \
477  CANDisable
478 #endif
479 #ifdef ROM_CANBitTimingSet
480 #define MAP_CANBitTimingSet \
481  ROM_CANBitTimingSet
482 #else
483 #define MAP_CANBitTimingSet \
484  CANBitTimingSet
485 #endif
486 #ifdef ROM_CANBitTimingGet
487 #define MAP_CANBitTimingGet \
488  ROM_CANBitTimingGet
489 #else
490 #define MAP_CANBitTimingGet \
491  CANBitTimingGet
492 #endif
493 #ifdef ROM_CANMessageSet
494 #define MAP_CANMessageSet \
495  ROM_CANMessageSet
496 #else
497 #define MAP_CANMessageSet \
498  CANMessageSet
499 #endif
500 #ifdef ROM_CANMessageGet
501 #define MAP_CANMessageGet \
502  ROM_CANMessageGet
503 #else
504 #define MAP_CANMessageGet \
505  CANMessageGet
506 #endif
507 #ifdef ROM_CANStatusGet
508 #define MAP_CANStatusGet \
509  ROM_CANStatusGet
510 #else
511 #define MAP_CANStatusGet \
512  CANStatusGet
513 #endif
514 #ifdef ROM_CANMessageClear
515 #define MAP_CANMessageClear \
516  ROM_CANMessageClear
517 #else
518 #define MAP_CANMessageClear \
519  CANMessageClear
520 #endif
521 #ifdef ROM_CANIntEnable
522 #define MAP_CANIntEnable \
523  ROM_CANIntEnable
524 #else
525 #define MAP_CANIntEnable \
526  CANIntEnable
527 #endif
528 #ifdef ROM_CANIntDisable
529 #define MAP_CANIntDisable \
530  ROM_CANIntDisable
531 #else
532 #define MAP_CANIntDisable \
533  CANIntDisable
534 #endif
535 #ifdef ROM_CANIntStatus
536 #define MAP_CANIntStatus \
537  ROM_CANIntStatus
538 #else
539 #define MAP_CANIntStatus \
540  CANIntStatus
541 #endif
542 #ifdef ROM_CANRetryGet
543 #define MAP_CANRetryGet \
544  ROM_CANRetryGet
545 #else
546 #define MAP_CANRetryGet \
547  CANRetryGet
548 #endif
549 #ifdef ROM_CANRetrySet
550 #define MAP_CANRetrySet \
551  ROM_CANRetrySet
552 #else
553 #define MAP_CANRetrySet \
554  CANRetrySet
555 #endif
556 #ifdef ROM_CANErrCntrGet
557 #define MAP_CANErrCntrGet \
558  ROM_CANErrCntrGet
559 #else
560 #define MAP_CANErrCntrGet \
561  CANErrCntrGet
562 #endif
563 #ifdef ROM_CANBitRateSet
564 #define MAP_CANBitRateSet \
565  ROM_CANBitRateSet
566 #else
567 #define MAP_CANBitRateSet \
568  CANBitRateSet
569 #endif
570 
571 //*****************************************************************************
572 //
573 // Macros for the Comparator API.
574 //
575 //*****************************************************************************
576 #ifdef ROM_ComparatorIntClear
577 #define MAP_ComparatorIntClear \
578  ROM_ComparatorIntClear
579 #else
580 #define MAP_ComparatorIntClear \
581  ComparatorIntClear
582 #endif
583 #ifdef ROM_ComparatorConfigure
584 #define MAP_ComparatorConfigure \
585  ROM_ComparatorConfigure
586 #else
587 #define MAP_ComparatorConfigure \
588  ComparatorConfigure
589 #endif
590 #ifdef ROM_ComparatorRefSet
591 #define MAP_ComparatorRefSet \
592  ROM_ComparatorRefSet
593 #else
594 #define MAP_ComparatorRefSet \
595  ComparatorRefSet
596 #endif
597 #ifdef ROM_ComparatorValueGet
598 #define MAP_ComparatorValueGet \
599  ROM_ComparatorValueGet
600 #else
601 #define MAP_ComparatorValueGet \
602  ComparatorValueGet
603 #endif
604 #ifdef ROM_ComparatorIntEnable
605 #define MAP_ComparatorIntEnable \
606  ROM_ComparatorIntEnable
607 #else
608 #define MAP_ComparatorIntEnable \
609  ComparatorIntEnable
610 #endif
611 #ifdef ROM_ComparatorIntDisable
612 #define MAP_ComparatorIntDisable \
613  ROM_ComparatorIntDisable
614 #else
615 #define MAP_ComparatorIntDisable \
616  ComparatorIntDisable
617 #endif
618 #ifdef ROM_ComparatorIntStatus
619 #define MAP_ComparatorIntStatus \
620  ROM_ComparatorIntStatus
621 #else
622 #define MAP_ComparatorIntStatus \
623  ComparatorIntStatus
624 #endif
625 
626 //*****************************************************************************
627 //
628 // Macros for the CRC API.
629 //
630 //*****************************************************************************
631 #ifdef ROM_CRCConfigSet
632 #define MAP_CRCConfigSet \
633  ROM_CRCConfigSet
634 #else
635 #define MAP_CRCConfigSet \
636  CRCConfigSet
637 #endif
638 #ifdef ROM_CRCDataProcess
639 #define MAP_CRCDataProcess \
640  ROM_CRCDataProcess
641 #else
642 #define MAP_CRCDataProcess \
643  CRCDataProcess
644 #endif
645 #ifdef ROM_CRCDataWrite
646 #define MAP_CRCDataWrite \
647  ROM_CRCDataWrite
648 #else
649 #define MAP_CRCDataWrite \
650  CRCDataWrite
651 #endif
652 #ifdef ROM_CRCResultRead
653 #define MAP_CRCResultRead \
654  ROM_CRCResultRead
655 #else
656 #define MAP_CRCResultRead \
657  CRCResultRead
658 #endif
659 #ifdef ROM_CRCSeedSet
660 #define MAP_CRCSeedSet \
661  ROM_CRCSeedSet
662 #else
663 #define MAP_CRCSeedSet \
664  CRCSeedSet
665 #endif
666 
667 //*****************************************************************************
668 //
669 // Macros for the DES API.
670 //
671 //*****************************************************************************
672 #ifdef ROM_DESIntStatus
673 #define MAP_DESIntStatus \
674  ROM_DESIntStatus
675 #else
676 #define MAP_DESIntStatus \
677  DESIntStatus
678 #endif
679 #ifdef ROM_DESConfigSet
680 #define MAP_DESConfigSet \
681  ROM_DESConfigSet
682 #else
683 #define MAP_DESConfigSet \
684  DESConfigSet
685 #endif
686 #ifdef ROM_DESDataRead
687 #define MAP_DESDataRead \
688  ROM_DESDataRead
689 #else
690 #define MAP_DESDataRead \
691  DESDataRead
692 #endif
693 #ifdef ROM_DESDataReadNonBlocking
694 #define MAP_DESDataReadNonBlocking \
695  ROM_DESDataReadNonBlocking
696 #else
697 #define MAP_DESDataReadNonBlocking \
698  DESDataReadNonBlocking
699 #endif
700 #ifdef ROM_DESDataProcess
701 #define MAP_DESDataProcess \
702  ROM_DESDataProcess
703 #else
704 #define MAP_DESDataProcess \
705  DESDataProcess
706 #endif
707 #ifdef ROM_DESDataWrite
708 #define MAP_DESDataWrite \
709  ROM_DESDataWrite
710 #else
711 #define MAP_DESDataWrite \
712  DESDataWrite
713 #endif
714 #ifdef ROM_DESDataWriteNonBlocking
715 #define MAP_DESDataWriteNonBlocking \
716  ROM_DESDataWriteNonBlocking
717 #else
718 #define MAP_DESDataWriteNonBlocking \
719  DESDataWriteNonBlocking
720 #endif
721 #ifdef ROM_DESDMADisable
722 #define MAP_DESDMADisable \
723  ROM_DESDMADisable
724 #else
725 #define MAP_DESDMADisable \
726  DESDMADisable
727 #endif
728 #ifdef ROM_DESDMAEnable
729 #define MAP_DESDMAEnable \
730  ROM_DESDMAEnable
731 #else
732 #define MAP_DESDMAEnable \
733  DESDMAEnable
734 #endif
735 #ifdef ROM_DESIntClear
736 #define MAP_DESIntClear \
737  ROM_DESIntClear
738 #else
739 #define MAP_DESIntClear \
740  DESIntClear
741 #endif
742 #ifdef ROM_DESIntDisable
743 #define MAP_DESIntDisable \
744  ROM_DESIntDisable
745 #else
746 #define MAP_DESIntDisable \
747  DESIntDisable
748 #endif
749 #ifdef ROM_DESIntEnable
750 #define MAP_DESIntEnable \
751  ROM_DESIntEnable
752 #else
753 #define MAP_DESIntEnable \
754  DESIntEnable
755 #endif
756 #ifdef ROM_DESIVSet
757 #define MAP_DESIVSet \
758  ROM_DESIVSet
759 #else
760 #define MAP_DESIVSet \
761  DESIVSet
762 #endif
763 #ifdef ROM_DESKeySet
764 #define MAP_DESKeySet \
765  ROM_DESKeySet
766 #else
767 #define MAP_DESKeySet \
768  DESKeySet
769 #endif
770 #ifdef ROM_DESLengthSet
771 #define MAP_DESLengthSet \
772  ROM_DESLengthSet
773 #else
774 #define MAP_DESLengthSet \
775  DESLengthSet
776 #endif
777 #ifdef ROM_DESReset
778 #define MAP_DESReset \
779  ROM_DESReset
780 #else
781 #define MAP_DESReset \
782  DESReset
783 #endif
784 
785 //*****************************************************************************
786 //
787 // Macros for the EEPROM API.
788 //
789 //*****************************************************************************
790 #ifdef ROM_EEPROMRead
791 #define MAP_EEPROMRead \
792  ROM_EEPROMRead
793 #else
794 #define MAP_EEPROMRead \
795  EEPROMRead
796 #endif
797 #ifdef ROM_EEPROMBlockCountGet
798 #define MAP_EEPROMBlockCountGet \
799  ROM_EEPROMBlockCountGet
800 #else
801 #define MAP_EEPROMBlockCountGet \
802  EEPROMBlockCountGet
803 #endif
804 #ifdef ROM_EEPROMBlockHide
805 #define MAP_EEPROMBlockHide \
806  ROM_EEPROMBlockHide
807 #else
808 #define MAP_EEPROMBlockHide \
809  EEPROMBlockHide
810 #endif
811 #ifdef ROM_EEPROMBlockLock
812 #define MAP_EEPROMBlockLock \
813  ROM_EEPROMBlockLock
814 #else
815 #define MAP_EEPROMBlockLock \
816  EEPROMBlockLock
817 #endif
818 #ifdef ROM_EEPROMBlockPasswordSet
819 #define MAP_EEPROMBlockPasswordSet \
820  ROM_EEPROMBlockPasswordSet
821 #else
822 #define MAP_EEPROMBlockPasswordSet \
823  EEPROMBlockPasswordSet
824 #endif
825 #ifdef ROM_EEPROMBlockProtectGet
826 #define MAP_EEPROMBlockProtectGet \
827  ROM_EEPROMBlockProtectGet
828 #else
829 #define MAP_EEPROMBlockProtectGet \
830  EEPROMBlockProtectGet
831 #endif
832 #ifdef ROM_EEPROMBlockProtectSet
833 #define MAP_EEPROMBlockProtectSet \
834  ROM_EEPROMBlockProtectSet
835 #else
836 #define MAP_EEPROMBlockProtectSet \
837  EEPROMBlockProtectSet
838 #endif
839 #ifdef ROM_EEPROMBlockUnlock
840 #define MAP_EEPROMBlockUnlock \
841  ROM_EEPROMBlockUnlock
842 #else
843 #define MAP_EEPROMBlockUnlock \
844  EEPROMBlockUnlock
845 #endif
846 #ifdef ROM_EEPROMIntClear
847 #define MAP_EEPROMIntClear \
848  ROM_EEPROMIntClear
849 #else
850 #define MAP_EEPROMIntClear \
851  EEPROMIntClear
852 #endif
853 #ifdef ROM_EEPROMIntDisable
854 #define MAP_EEPROMIntDisable \
855  ROM_EEPROMIntDisable
856 #else
857 #define MAP_EEPROMIntDisable \
858  EEPROMIntDisable
859 #endif
860 #ifdef ROM_EEPROMIntEnable
861 #define MAP_EEPROMIntEnable \
862  ROM_EEPROMIntEnable
863 #else
864 #define MAP_EEPROMIntEnable \
865  EEPROMIntEnable
866 #endif
867 #ifdef ROM_EEPROMIntStatus
868 #define MAP_EEPROMIntStatus \
869  ROM_EEPROMIntStatus
870 #else
871 #define MAP_EEPROMIntStatus \
872  EEPROMIntStatus
873 #endif
874 #ifdef ROM_EEPROMMassErase
875 #define MAP_EEPROMMassErase \
876  ROM_EEPROMMassErase
877 #else
878 #define MAP_EEPROMMassErase \
879  EEPROMMassErase
880 #endif
881 #ifdef ROM_EEPROMProgram
882 #define MAP_EEPROMProgram \
883  ROM_EEPROMProgram
884 #else
885 #define MAP_EEPROMProgram \
886  EEPROMProgram
887 #endif
888 #ifdef ROM_EEPROMProgramNonBlocking
889 #define MAP_EEPROMProgramNonBlocking \
890  ROM_EEPROMProgramNonBlocking
891 #else
892 #define MAP_EEPROMProgramNonBlocking \
893  EEPROMProgramNonBlocking
894 #endif
895 #ifdef ROM_EEPROMSizeGet
896 #define MAP_EEPROMSizeGet \
897  ROM_EEPROMSizeGet
898 #else
899 #define MAP_EEPROMSizeGet \
900  EEPROMSizeGet
901 #endif
902 #ifdef ROM_EEPROMStatusGet
903 #define MAP_EEPROMStatusGet \
904  ROM_EEPROMStatusGet
905 #else
906 #define MAP_EEPROMStatusGet \
907  EEPROMStatusGet
908 #endif
909 #ifdef ROM_EEPROMInit
910 #define MAP_EEPROMInit \
911  ROM_EEPROMInit
912 #else
913 #define MAP_EEPROMInit \
914  EEPROMInit
915 #endif
916 
917 //*****************************************************************************
918 //
919 // Macros for the EPI API.
920 //
921 //*****************************************************************************
922 #ifdef ROM_EPIIntStatus
923 #define MAP_EPIIntStatus \
924  ROM_EPIIntStatus
925 #else
926 #define MAP_EPIIntStatus \
927  EPIIntStatus
928 #endif
929 #ifdef ROM_EPIModeSet
930 #define MAP_EPIModeSet \
931  ROM_EPIModeSet
932 #else
933 #define MAP_EPIModeSet \
934  EPIModeSet
935 #endif
936 #ifdef ROM_EPIDividerSet
937 #define MAP_EPIDividerSet \
938  ROM_EPIDividerSet
939 #else
940 #define MAP_EPIDividerSet \
941  EPIDividerSet
942 #endif
943 #ifdef ROM_EPIConfigSDRAMSet
944 #define MAP_EPIConfigSDRAMSet \
945  ROM_EPIConfigSDRAMSet
946 #else
947 #define MAP_EPIConfigSDRAMSet \
948  EPIConfigSDRAMSet
949 #endif
950 #ifdef ROM_EPIConfigGPModeSet
951 #define MAP_EPIConfigGPModeSet \
952  ROM_EPIConfigGPModeSet
953 #else
954 #define MAP_EPIConfigGPModeSet \
955  EPIConfigGPModeSet
956 #endif
957 #ifdef ROM_EPIConfigHB8Set
958 #define MAP_EPIConfigHB8Set \
959  ROM_EPIConfigHB8Set
960 #else
961 #define MAP_EPIConfigHB8Set \
962  EPIConfigHB8Set
963 #endif
964 #ifdef ROM_EPIConfigHB16Set
965 #define MAP_EPIConfigHB16Set \
966  ROM_EPIConfigHB16Set
967 #else
968 #define MAP_EPIConfigHB16Set \
969  EPIConfigHB16Set
970 #endif
971 #ifdef ROM_EPIAddressMapSet
972 #define MAP_EPIAddressMapSet \
973  ROM_EPIAddressMapSet
974 #else
975 #define MAP_EPIAddressMapSet \
976  EPIAddressMapSet
977 #endif
978 #ifdef ROM_EPINonBlockingReadConfigure
979 #define MAP_EPINonBlockingReadConfigure \
980  ROM_EPINonBlockingReadConfigure
981 #else
982 #define MAP_EPINonBlockingReadConfigure \
983  EPINonBlockingReadConfigure
984 #endif
985 #ifdef ROM_EPINonBlockingReadStart
986 #define MAP_EPINonBlockingReadStart \
987  ROM_EPINonBlockingReadStart
988 #else
989 #define MAP_EPINonBlockingReadStart \
990  EPINonBlockingReadStart
991 #endif
992 #ifdef ROM_EPINonBlockingReadStop
993 #define MAP_EPINonBlockingReadStop \
994  ROM_EPINonBlockingReadStop
995 #else
996 #define MAP_EPINonBlockingReadStop \
997  EPINonBlockingReadStop
998 #endif
999 #ifdef ROM_EPINonBlockingReadCount
1000 #define MAP_EPINonBlockingReadCount \
1001  ROM_EPINonBlockingReadCount
1002 #else
1003 #define MAP_EPINonBlockingReadCount \
1004  EPINonBlockingReadCount
1005 #endif
1006 #ifdef ROM_EPINonBlockingReadAvail
1007 #define MAP_EPINonBlockingReadAvail \
1008  ROM_EPINonBlockingReadAvail
1009 #else
1010 #define MAP_EPINonBlockingReadAvail \
1011  EPINonBlockingReadAvail
1012 #endif
1013 #ifdef ROM_EPINonBlockingReadGet32
1014 #define MAP_EPINonBlockingReadGet32 \
1015  ROM_EPINonBlockingReadGet32
1016 #else
1017 #define MAP_EPINonBlockingReadGet32 \
1018  EPINonBlockingReadGet32
1019 #endif
1020 #ifdef ROM_EPINonBlockingReadGet16
1021 #define MAP_EPINonBlockingReadGet16 \
1022  ROM_EPINonBlockingReadGet16
1023 #else
1024 #define MAP_EPINonBlockingReadGet16 \
1025  EPINonBlockingReadGet16
1026 #endif
1027 #ifdef ROM_EPINonBlockingReadGet8
1028 #define MAP_EPINonBlockingReadGet8 \
1029  ROM_EPINonBlockingReadGet8
1030 #else
1031 #define MAP_EPINonBlockingReadGet8 \
1032  EPINonBlockingReadGet8
1033 #endif
1034 #ifdef ROM_EPIFIFOConfig
1035 #define MAP_EPIFIFOConfig \
1036  ROM_EPIFIFOConfig
1037 #else
1038 #define MAP_EPIFIFOConfig \
1039  EPIFIFOConfig
1040 #endif
1041 #ifdef ROM_EPIWriteFIFOCountGet
1042 #define MAP_EPIWriteFIFOCountGet \
1043  ROM_EPIWriteFIFOCountGet
1044 #else
1045 #define MAP_EPIWriteFIFOCountGet \
1046  EPIWriteFIFOCountGet
1047 #endif
1048 #ifdef ROM_EPIIntEnable
1049 #define MAP_EPIIntEnable \
1050  ROM_EPIIntEnable
1051 #else
1052 #define MAP_EPIIntEnable \
1053  EPIIntEnable
1054 #endif
1055 #ifdef ROM_EPIIntDisable
1056 #define MAP_EPIIntDisable \
1057  ROM_EPIIntDisable
1058 #else
1059 #define MAP_EPIIntDisable \
1060  EPIIntDisable
1061 #endif
1062 #ifdef ROM_EPIIntErrorStatus
1063 #define MAP_EPIIntErrorStatus \
1064  ROM_EPIIntErrorStatus
1065 #else
1066 #define MAP_EPIIntErrorStatus \
1067  EPIIntErrorStatus
1068 #endif
1069 #ifdef ROM_EPIIntErrorClear
1070 #define MAP_EPIIntErrorClear \
1071  ROM_EPIIntErrorClear
1072 #else
1073 #define MAP_EPIIntErrorClear \
1074  EPIIntErrorClear
1075 #endif
1076 #ifdef ROM_EPIDividerCSSet
1077 #define MAP_EPIDividerCSSet \
1078  ROM_EPIDividerCSSet
1079 #else
1080 #define MAP_EPIDividerCSSet \
1081  EPIDividerCSSet
1082 #endif
1083 #ifdef ROM_EPIDMATxCount
1084 #define MAP_EPIDMATxCount \
1085  ROM_EPIDMATxCount
1086 #else
1087 #define MAP_EPIDMATxCount \
1088  EPIDMATxCount
1089 #endif
1090 #ifdef ROM_EPIConfigHB8CSSet
1091 #define MAP_EPIConfigHB8CSSet \
1092  ROM_EPIConfigHB8CSSet
1093 #else
1094 #define MAP_EPIConfigHB8CSSet \
1095  EPIConfigHB8CSSet
1096 #endif
1097 #ifdef ROM_EPIConfigHB16CSSet
1098 #define MAP_EPIConfigHB16CSSet \
1099  ROM_EPIConfigHB16CSSet
1100 #else
1101 #define MAP_EPIConfigHB16CSSet \
1102  EPIConfigHB16CSSet
1103 #endif
1104 #ifdef ROM_EPIConfigHB8TimingSet
1105 #define MAP_EPIConfigHB8TimingSet \
1106  ROM_EPIConfigHB8TimingSet
1107 #else
1108 #define MAP_EPIConfigHB8TimingSet \
1109  EPIConfigHB8TimingSet
1110 #endif
1111 #ifdef ROM_EPIConfigHB16TimingSet
1112 #define MAP_EPIConfigHB16TimingSet \
1113  ROM_EPIConfigHB16TimingSet
1114 #else
1115 #define MAP_EPIConfigHB16TimingSet \
1116  EPIConfigHB16TimingSet
1117 #endif
1118 #ifdef ROM_EPIPSRAMConfigRegSet
1119 #define MAP_EPIPSRAMConfigRegSet \
1120  ROM_EPIPSRAMConfigRegSet
1121 #else
1122 #define MAP_EPIPSRAMConfigRegSet \
1123  EPIPSRAMConfigRegSet
1124 #endif
1125 #ifdef ROM_EPIPSRAMConfigRegRead
1126 #define MAP_EPIPSRAMConfigRegRead \
1127  ROM_EPIPSRAMConfigRegRead
1128 #else
1129 #define MAP_EPIPSRAMConfigRegRead \
1130  EPIPSRAMConfigRegRead
1131 #endif
1132 #ifdef ROM_EPIPSRAMConfigRegGetNonBlocking
1133 #define MAP_EPIPSRAMConfigRegGetNonBlocking \
1134  ROM_EPIPSRAMConfigRegGetNonBlocking
1135 #else
1136 #define MAP_EPIPSRAMConfigRegGetNonBlocking \
1137  EPIPSRAMConfigRegGetNonBlocking
1138 #endif
1139 #ifdef ROM_EPIPSRAMConfigRegGet
1140 #define MAP_EPIPSRAMConfigRegGet \
1141  ROM_EPIPSRAMConfigRegGet
1142 #else
1143 #define MAP_EPIPSRAMConfigRegGet \
1144  EPIPSRAMConfigRegGet
1145 #endif
1146 
1147 //*****************************************************************************
1148 //
1149 // Macros for the EMAC API.
1150 //
1151 //*****************************************************************************
1152 #ifdef ROM_EMACIntStatus
1153 #define MAP_EMACIntStatus \
1154  ROM_EMACIntStatus
1155 #else
1156 #define MAP_EMACIntStatus \
1157  EMACIntStatus
1158 #endif
1159 #ifdef ROM_EMACAddrGet
1160 #define MAP_EMACAddrGet \
1161  ROM_EMACAddrGet
1162 #else
1163 #define MAP_EMACAddrGet \
1164  EMACAddrGet
1165 #endif
1166 #ifdef ROM_EMACAddrSet
1167 #define MAP_EMACAddrSet \
1168  ROM_EMACAddrSet
1169 #else
1170 #define MAP_EMACAddrSet \
1171  EMACAddrSet
1172 #endif
1173 #ifdef ROM_EMACConfigGet
1174 #define MAP_EMACConfigGet \
1175  ROM_EMACConfigGet
1176 #else
1177 #define MAP_EMACConfigGet \
1178  EMACConfigGet
1179 #endif
1180 #ifdef ROM_EMACConfigSet
1181 #define MAP_EMACConfigSet \
1182  ROM_EMACConfigSet
1183 #else
1184 #define MAP_EMACConfigSet \
1185  EMACConfigSet
1186 #endif
1187 #ifdef ROM_EMACDMAStateGet
1188 #define MAP_EMACDMAStateGet \
1189  ROM_EMACDMAStateGet
1190 #else
1191 #define MAP_EMACDMAStateGet \
1192  EMACDMAStateGet
1193 #endif
1194 #ifdef ROM_EMACFrameFilterGet
1195 #define MAP_EMACFrameFilterGet \
1196  ROM_EMACFrameFilterGet
1197 #else
1198 #define MAP_EMACFrameFilterGet \
1199  EMACFrameFilterGet
1200 #endif
1201 #ifdef ROM_EMACFrameFilterSet
1202 #define MAP_EMACFrameFilterSet \
1203  ROM_EMACFrameFilterSet
1204 #else
1205 #define MAP_EMACFrameFilterSet \
1206  EMACFrameFilterSet
1207 #endif
1208 #ifdef ROM_EMACInit
1209 #define MAP_EMACInit \
1210  ROM_EMACInit
1211 #else
1212 #define MAP_EMACInit \
1213  EMACInit
1214 #endif
1215 #ifdef ROM_EMACIntClear
1216 #define MAP_EMACIntClear \
1217  ROM_EMACIntClear
1218 #else
1219 #define MAP_EMACIntClear \
1220  EMACIntClear
1221 #endif
1222 #ifdef ROM_EMACIntDisable
1223 #define MAP_EMACIntDisable \
1224  ROM_EMACIntDisable
1225 #else
1226 #define MAP_EMACIntDisable \
1227  EMACIntDisable
1228 #endif
1229 #ifdef ROM_EMACIntEnable
1230 #define MAP_EMACIntEnable \
1231  ROM_EMACIntEnable
1232 #else
1233 #define MAP_EMACIntEnable \
1234  EMACIntEnable
1235 #endif
1236 #ifdef ROM_EMACPHYConfigSet
1237 #define MAP_EMACPHYConfigSet \
1238  ROM_EMACPHYConfigSet
1239 #else
1240 #define MAP_EMACPHYConfigSet \
1241  EMACPHYConfigSet
1242 #endif
1243 #ifdef ROM_EMACPHYPowerOff
1244 #define MAP_EMACPHYPowerOff \
1245  ROM_EMACPHYPowerOff
1246 #else
1247 #define MAP_EMACPHYPowerOff \
1248  EMACPHYPowerOff
1249 #endif
1250 #ifdef ROM_EMACPHYPowerOn
1251 #define MAP_EMACPHYPowerOn \
1252  ROM_EMACPHYPowerOn
1253 #else
1254 #define MAP_EMACPHYPowerOn \
1255  EMACPHYPowerOn
1256 #endif
1257 #ifdef ROM_EMACPHYRead
1258 #define MAP_EMACPHYRead \
1259  ROM_EMACPHYRead
1260 #else
1261 #define MAP_EMACPHYRead \
1262  EMACPHYRead
1263 #endif
1264 #ifdef ROM_EMACPHYWrite
1265 #define MAP_EMACPHYWrite \
1266  ROM_EMACPHYWrite
1267 #else
1268 #define MAP_EMACPHYWrite \
1269  EMACPHYWrite
1270 #endif
1271 #ifdef ROM_EMACReset
1272 #define MAP_EMACReset \
1273  ROM_EMACReset
1274 #else
1275 #define MAP_EMACReset \
1276  EMACReset
1277 #endif
1278 #ifdef ROM_EMACRxDisable
1279 #define MAP_EMACRxDisable \
1280  ROM_EMACRxDisable
1281 #else
1282 #define MAP_EMACRxDisable \
1283  EMACRxDisable
1284 #endif
1285 #ifdef ROM_EMACRxDMACurrentBufferGet
1286 #define MAP_EMACRxDMACurrentBufferGet \
1287  ROM_EMACRxDMACurrentBufferGet
1288 #else
1289 #define MAP_EMACRxDMACurrentBufferGet \
1290  EMACRxDMACurrentBufferGet
1291 #endif
1292 #ifdef ROM_EMACRxDMACurrentDescriptorGet
1293 #define MAP_EMACRxDMACurrentDescriptorGet \
1294  ROM_EMACRxDMACurrentDescriptorGet
1295 #else
1296 #define MAP_EMACRxDMACurrentDescriptorGet \
1297  EMACRxDMACurrentDescriptorGet
1298 #endif
1299 #ifdef ROM_EMACRxDMADescriptorListGet
1300 #define MAP_EMACRxDMADescriptorListGet \
1301  ROM_EMACRxDMADescriptorListGet
1302 #else
1303 #define MAP_EMACRxDMADescriptorListGet \
1304  EMACRxDMADescriptorListGet
1305 #endif
1306 #ifdef ROM_EMACRxDMADescriptorListSet
1307 #define MAP_EMACRxDMADescriptorListSet \
1308  ROM_EMACRxDMADescriptorListSet
1309 #else
1310 #define MAP_EMACRxDMADescriptorListSet \
1311  EMACRxDMADescriptorListSet
1312 #endif
1313 #ifdef ROM_EMACRxDMAPollDemand
1314 #define MAP_EMACRxDMAPollDemand \
1315  ROM_EMACRxDMAPollDemand
1316 #else
1317 #define MAP_EMACRxDMAPollDemand \
1318  EMACRxDMAPollDemand
1319 #endif
1320 #ifdef ROM_EMACRxEnable
1321 #define MAP_EMACRxEnable \
1322  ROM_EMACRxEnable
1323 #else
1324 #define MAP_EMACRxEnable \
1325  EMACRxEnable
1326 #endif
1327 #ifdef ROM_EMACRxWatchdogTimerSet
1328 #define MAP_EMACRxWatchdogTimerSet \
1329  ROM_EMACRxWatchdogTimerSet
1330 #else
1331 #define MAP_EMACRxWatchdogTimerSet \
1332  EMACRxWatchdogTimerSet
1333 #endif
1334 #ifdef ROM_EMACStatusGet
1335 #define MAP_EMACStatusGet \
1336  ROM_EMACStatusGet
1337 #else
1338 #define MAP_EMACStatusGet \
1339  EMACStatusGet
1340 #endif
1341 #ifdef ROM_EMACTxDisable
1342 #define MAP_EMACTxDisable \
1343  ROM_EMACTxDisable
1344 #else
1345 #define MAP_EMACTxDisable \
1346  EMACTxDisable
1347 #endif
1348 #ifdef ROM_EMACTxDMACurrentBufferGet
1349 #define MAP_EMACTxDMACurrentBufferGet \
1350  ROM_EMACTxDMACurrentBufferGet
1351 #else
1352 #define MAP_EMACTxDMACurrentBufferGet \
1353  EMACTxDMACurrentBufferGet
1354 #endif
1355 #ifdef ROM_EMACTxDMACurrentDescriptorGet
1356 #define MAP_EMACTxDMACurrentDescriptorGet \
1357  ROM_EMACTxDMACurrentDescriptorGet
1358 #else
1359 #define MAP_EMACTxDMACurrentDescriptorGet \
1360  EMACTxDMACurrentDescriptorGet
1361 #endif
1362 #ifdef ROM_EMACTxDMADescriptorListGet
1363 #define MAP_EMACTxDMADescriptorListGet \
1364  ROM_EMACTxDMADescriptorListGet
1365 #else
1366 #define MAP_EMACTxDMADescriptorListGet \
1367  EMACTxDMADescriptorListGet
1368 #endif
1369 #ifdef ROM_EMACTxDMADescriptorListSet
1370 #define MAP_EMACTxDMADescriptorListSet \
1371  ROM_EMACTxDMADescriptorListSet
1372 #else
1373 #define MAP_EMACTxDMADescriptorListSet \
1374  EMACTxDMADescriptorListSet
1375 #endif
1376 #ifdef ROM_EMACTxDMAPollDemand
1377 #define MAP_EMACTxDMAPollDemand \
1378  ROM_EMACTxDMAPollDemand
1379 #else
1380 #define MAP_EMACTxDMAPollDemand \
1381  EMACTxDMAPollDemand
1382 #endif
1383 #ifdef ROM_EMACTxEnable
1384 #define MAP_EMACTxEnable \
1385  ROM_EMACTxEnable
1386 #else
1387 #define MAP_EMACTxEnable \
1388  EMACTxEnable
1389 #endif
1390 #ifdef ROM_EMACTxFlush
1391 #define MAP_EMACTxFlush \
1392  ROM_EMACTxFlush
1393 #else
1394 #define MAP_EMACTxFlush \
1395  EMACTxFlush
1396 #endif
1397 #ifdef ROM_EMACAddrFilterGet
1398 #define MAP_EMACAddrFilterGet \
1399  ROM_EMACAddrFilterGet
1400 #else
1401 #define MAP_EMACAddrFilterGet \
1402  EMACAddrFilterGet
1403 #endif
1404 #ifdef ROM_EMACAddrFilterSet
1405 #define MAP_EMACAddrFilterSet \
1406  ROM_EMACAddrFilterSet
1407 #else
1408 #define MAP_EMACAddrFilterSet \
1409  EMACAddrFilterSet
1410 #endif
1411 #ifdef ROM_EMACHashFilterBitCalculate
1412 #define MAP_EMACHashFilterBitCalculate \
1413  ROM_EMACHashFilterBitCalculate
1414 #else
1415 #define MAP_EMACHashFilterBitCalculate \
1416  EMACHashFilterBitCalculate
1417 #endif
1418 #ifdef ROM_EMACHashFilterGet
1419 #define MAP_EMACHashFilterGet \
1420  ROM_EMACHashFilterGet
1421 #else
1422 #define MAP_EMACHashFilterGet \
1423  EMACHashFilterGet
1424 #endif
1425 #ifdef ROM_EMACHashFilterSet
1426 #define MAP_EMACHashFilterSet \
1427  ROM_EMACHashFilterSet
1428 #else
1429 #define MAP_EMACHashFilterSet \
1430  EMACHashFilterSet
1431 #endif
1432 #ifdef ROM_EMACNumAddrGet
1433 #define MAP_EMACNumAddrGet \
1434  ROM_EMACNumAddrGet
1435 #else
1436 #define MAP_EMACNumAddrGet \
1437  EMACNumAddrGet
1438 #endif
1439 #ifdef ROM_EMACPHYExtendedRead
1440 #define MAP_EMACPHYExtendedRead \
1441  ROM_EMACPHYExtendedRead
1442 #else
1443 #define MAP_EMACPHYExtendedRead \
1444  EMACPHYExtendedRead
1445 #endif
1446 #ifdef ROM_EMACPHYExtendedWrite
1447 #define MAP_EMACPHYExtendedWrite \
1448  ROM_EMACPHYExtendedWrite
1449 #else
1450 #define MAP_EMACPHYExtendedWrite \
1451  EMACPHYExtendedWrite
1452 #endif
1453 #ifdef ROM_EMACPowerManagementControlGet
1454 #define MAP_EMACPowerManagementControlGet \
1455  ROM_EMACPowerManagementControlGet
1456 #else
1457 #define MAP_EMACPowerManagementControlGet \
1458  EMACPowerManagementControlGet
1459 #endif
1460 #ifdef ROM_EMACPowerManagementControlSet
1461 #define MAP_EMACPowerManagementControlSet \
1462  ROM_EMACPowerManagementControlSet
1463 #else
1464 #define MAP_EMACPowerManagementControlSet \
1465  EMACPowerManagementControlSet
1466 #endif
1467 #ifdef ROM_EMACPowerManagementStatusGet
1468 #define MAP_EMACPowerManagementStatusGet \
1469  ROM_EMACPowerManagementStatusGet
1470 #else
1471 #define MAP_EMACPowerManagementStatusGet \
1472  EMACPowerManagementStatusGet
1473 #endif
1474 #ifdef ROM_EMACRemoteWakeUpFrameFilterGet
1475 #define MAP_EMACRemoteWakeUpFrameFilterGet \
1476  ROM_EMACRemoteWakeUpFrameFilterGet
1477 #else
1478 #define MAP_EMACRemoteWakeUpFrameFilterGet \
1479  EMACRemoteWakeUpFrameFilterGet
1480 #endif
1481 #ifdef ROM_EMACRemoteWakeUpFrameFilterSet
1482 #define MAP_EMACRemoteWakeUpFrameFilterSet \
1483  ROM_EMACRemoteWakeUpFrameFilterSet
1484 #else
1485 #define MAP_EMACRemoteWakeUpFrameFilterSet \
1486  EMACRemoteWakeUpFrameFilterSet
1487 #endif
1488 #ifdef ROM_EMACTimestampAddendSet
1489 #define MAP_EMACTimestampAddendSet \
1490  ROM_EMACTimestampAddendSet
1491 #else
1492 #define MAP_EMACTimestampAddendSet \
1493  EMACTimestampAddendSet
1494 #endif
1495 #ifdef ROM_EMACTimestampConfigGet
1496 #define MAP_EMACTimestampConfigGet \
1497  ROM_EMACTimestampConfigGet
1498 #else
1499 #define MAP_EMACTimestampConfigGet \
1500  EMACTimestampConfigGet
1501 #endif
1502 #ifdef ROM_EMACTimestampConfigSet
1503 #define MAP_EMACTimestampConfigSet \
1504  ROM_EMACTimestampConfigSet
1505 #else
1506 #define MAP_EMACTimestampConfigSet \
1507  EMACTimestampConfigSet
1508 #endif
1509 #ifdef ROM_EMACTimestampDisable
1510 #define MAP_EMACTimestampDisable \
1511  ROM_EMACTimestampDisable
1512 #else
1513 #define MAP_EMACTimestampDisable \
1514  EMACTimestampDisable
1515 #endif
1516 #ifdef ROM_EMACTimestampEnable
1517 #define MAP_EMACTimestampEnable \
1518  ROM_EMACTimestampEnable
1519 #else
1520 #define MAP_EMACTimestampEnable \
1521  EMACTimestampEnable
1522 #endif
1523 #ifdef ROM_EMACTimestampIntStatus
1524 #define MAP_EMACTimestampIntStatus \
1525  ROM_EMACTimestampIntStatus
1526 #else
1527 #define MAP_EMACTimestampIntStatus \
1528  EMACTimestampIntStatus
1529 #endif
1530 #ifdef ROM_EMACTimestampPPSCommand
1531 #define MAP_EMACTimestampPPSCommand \
1532  ROM_EMACTimestampPPSCommand
1533 #else
1534 #define MAP_EMACTimestampPPSCommand \
1535  EMACTimestampPPSCommand
1536 #endif
1537 #ifdef ROM_EMACTimestampPPSCommandModeSet
1538 #define MAP_EMACTimestampPPSCommandModeSet \
1539  ROM_EMACTimestampPPSCommandModeSet
1540 #else
1541 #define MAP_EMACTimestampPPSCommandModeSet \
1542  EMACTimestampPPSCommandModeSet
1543 #endif
1544 #ifdef ROM_EMACTimestampPPSPeriodSet
1545 #define MAP_EMACTimestampPPSPeriodSet \
1546  ROM_EMACTimestampPPSPeriodSet
1547 #else
1548 #define MAP_EMACTimestampPPSPeriodSet \
1549  EMACTimestampPPSPeriodSet
1550 #endif
1551 #ifdef ROM_EMACTimestampPPSSimpleModeSet
1552 #define MAP_EMACTimestampPPSSimpleModeSet \
1553  ROM_EMACTimestampPPSSimpleModeSet
1554 #else
1555 #define MAP_EMACTimestampPPSSimpleModeSet \
1556  EMACTimestampPPSSimpleModeSet
1557 #endif
1558 #ifdef ROM_EMACTimestampSysTimeGet
1559 #define MAP_EMACTimestampSysTimeGet \
1560  ROM_EMACTimestampSysTimeGet
1561 #else
1562 #define MAP_EMACTimestampSysTimeGet \
1563  EMACTimestampSysTimeGet
1564 #endif
1565 #ifdef ROM_EMACTimestampSysTimeSet
1566 #define MAP_EMACTimestampSysTimeSet \
1567  ROM_EMACTimestampSysTimeSet
1568 #else
1569 #define MAP_EMACTimestampSysTimeSet \
1570  EMACTimestampSysTimeSet
1571 #endif
1572 #ifdef ROM_EMACTimestampSysTimeUpdate
1573 #define MAP_EMACTimestampSysTimeUpdate \
1574  ROM_EMACTimestampSysTimeUpdate
1575 #else
1576 #define MAP_EMACTimestampSysTimeUpdate \
1577  EMACTimestampSysTimeUpdate
1578 #endif
1579 #ifdef ROM_EMACTimestampTargetIntDisable
1580 #define MAP_EMACTimestampTargetIntDisable \
1581  ROM_EMACTimestampTargetIntDisable
1582 #else
1583 #define MAP_EMACTimestampTargetIntDisable \
1584  EMACTimestampTargetIntDisable
1585 #endif
1586 #ifdef ROM_EMACTimestampTargetIntEnable
1587 #define MAP_EMACTimestampTargetIntEnable \
1588  ROM_EMACTimestampTargetIntEnable
1589 #else
1590 #define MAP_EMACTimestampTargetIntEnable \
1591  EMACTimestampTargetIntEnable
1592 #endif
1593 #ifdef ROM_EMACTimestampTargetSet
1594 #define MAP_EMACTimestampTargetSet \
1595  ROM_EMACTimestampTargetSet
1596 #else
1597 #define MAP_EMACTimestampTargetSet \
1598  EMACTimestampTargetSet
1599 #endif
1600 #ifdef ROM_EMACVLANHashFilterBitCalculate
1601 #define MAP_EMACVLANHashFilterBitCalculate \
1602  ROM_EMACVLANHashFilterBitCalculate
1603 #else
1604 #define MAP_EMACVLANHashFilterBitCalculate \
1605  EMACVLANHashFilterBitCalculate
1606 #endif
1607 #ifdef ROM_EMACVLANHashFilterGet
1608 #define MAP_EMACVLANHashFilterGet \
1609  ROM_EMACVLANHashFilterGet
1610 #else
1611 #define MAP_EMACVLANHashFilterGet \
1612  EMACVLANHashFilterGet
1613 #endif
1614 #ifdef ROM_EMACVLANHashFilterSet
1615 #define MAP_EMACVLANHashFilterSet \
1616  ROM_EMACVLANHashFilterSet
1617 #else
1618 #define MAP_EMACVLANHashFilterSet \
1619  EMACVLANHashFilterSet
1620 #endif
1621 #ifdef ROM_EMACVLANRxConfigGet
1622 #define MAP_EMACVLANRxConfigGet \
1623  ROM_EMACVLANRxConfigGet
1624 #else
1625 #define MAP_EMACVLANRxConfigGet \
1626  EMACVLANRxConfigGet
1627 #endif
1628 #ifdef ROM_EMACVLANRxConfigSet
1629 #define MAP_EMACVLANRxConfigSet \
1630  ROM_EMACVLANRxConfigSet
1631 #else
1632 #define MAP_EMACVLANRxConfigSet \
1633  EMACVLANRxConfigSet
1634 #endif
1635 #ifdef ROM_EMACVLANTxConfigGet
1636 #define MAP_EMACVLANTxConfigGet \
1637  ROM_EMACVLANTxConfigGet
1638 #else
1639 #define MAP_EMACVLANTxConfigGet \
1640  EMACVLANTxConfigGet
1641 #endif
1642 #ifdef ROM_EMACVLANTxConfigSet
1643 #define MAP_EMACVLANTxConfigSet \
1644  ROM_EMACVLANTxConfigSet
1645 #else
1646 #define MAP_EMACVLANTxConfigSet \
1647  EMACVLANTxConfigSet
1648 #endif
1649 
1650 //*****************************************************************************
1651 //
1652 // Macros for the Flash API.
1653 //
1654 //*****************************************************************************
1655 #ifdef ROM_FlashProgram
1656 #define MAP_FlashProgram \
1657  ROM_FlashProgram
1658 #else
1659 #define MAP_FlashProgram \
1660  FlashProgram
1661 #endif
1662 #ifdef ROM_FlashErase
1663 #define MAP_FlashErase \
1664  ROM_FlashErase
1665 #else
1666 #define MAP_FlashErase \
1667  FlashErase
1668 #endif
1669 #ifdef ROM_FlashProtectGet
1670 #define MAP_FlashProtectGet \
1671  ROM_FlashProtectGet
1672 #else
1673 #define MAP_FlashProtectGet \
1674  FlashProtectGet
1675 #endif
1676 #ifdef ROM_FlashProtectSet
1677 #define MAP_FlashProtectSet \
1678  ROM_FlashProtectSet
1679 #else
1680 #define MAP_FlashProtectSet \
1681  FlashProtectSet
1682 #endif
1683 #ifdef ROM_FlashProtectSave
1684 #define MAP_FlashProtectSave \
1685  ROM_FlashProtectSave
1686 #else
1687 #define MAP_FlashProtectSave \
1688  FlashProtectSave
1689 #endif
1690 #ifdef ROM_FlashUserGet
1691 #define MAP_FlashUserGet \
1692  ROM_FlashUserGet
1693 #else
1694 #define MAP_FlashUserGet \
1695  FlashUserGet
1696 #endif
1697 #ifdef ROM_FlashUserSet
1698 #define MAP_FlashUserSet \
1699  ROM_FlashUserSet
1700 #else
1701 #define MAP_FlashUserSet \
1702  FlashUserSet
1703 #endif
1704 #ifdef ROM_FlashUserSave
1705 #define MAP_FlashUserSave \
1706  ROM_FlashUserSave
1707 #else
1708 #define MAP_FlashUserSave \
1709  FlashUserSave
1710 #endif
1711 #ifdef ROM_FlashIntEnable
1712 #define MAP_FlashIntEnable \
1713  ROM_FlashIntEnable
1714 #else
1715 #define MAP_FlashIntEnable \
1716  FlashIntEnable
1717 #endif
1718 #ifdef ROM_FlashIntDisable
1719 #define MAP_FlashIntDisable \
1720  ROM_FlashIntDisable
1721 #else
1722 #define MAP_FlashIntDisable \
1723  FlashIntDisable
1724 #endif
1725 #ifdef ROM_FlashIntStatus
1726 #define MAP_FlashIntStatus \
1727  ROM_FlashIntStatus
1728 #else
1729 #define MAP_FlashIntStatus \
1730  FlashIntStatus
1731 #endif
1732 #ifdef ROM_FlashIntClear
1733 #define MAP_FlashIntClear \
1734  ROM_FlashIntClear
1735 #else
1736 #define MAP_FlashIntClear \
1737  FlashIntClear
1738 #endif
1739 
1740 //*****************************************************************************
1741 //
1742 // Macros for the FPU API.
1743 //
1744 //*****************************************************************************
1745 #ifdef ROM_FPUEnable
1746 #define MAP_FPUEnable \
1747  ROM_FPUEnable
1748 #else
1749 #define MAP_FPUEnable \
1750  FPUEnable
1751 #endif
1752 #ifdef ROM_FPUDisable
1753 #define MAP_FPUDisable \
1754  ROM_FPUDisable
1755 #else
1756 #define MAP_FPUDisable \
1757  FPUDisable
1758 #endif
1759 #ifdef ROM_FPUFlushToZeroModeSet
1760 #define MAP_FPUFlushToZeroModeSet \
1761  ROM_FPUFlushToZeroModeSet
1762 #else
1763 #define MAP_FPUFlushToZeroModeSet \
1764  FPUFlushToZeroModeSet
1765 #endif
1766 #ifdef ROM_FPUHalfPrecisionModeSet
1767 #define MAP_FPUHalfPrecisionModeSet \
1768  ROM_FPUHalfPrecisionModeSet
1769 #else
1770 #define MAP_FPUHalfPrecisionModeSet \
1771  FPUHalfPrecisionModeSet
1772 #endif
1773 #ifdef ROM_FPULazyStackingEnable
1774 #define MAP_FPULazyStackingEnable \
1775  ROM_FPULazyStackingEnable
1776 #else
1777 #define MAP_FPULazyStackingEnable \
1778  FPULazyStackingEnable
1779 #endif
1780 #ifdef ROM_FPUNaNModeSet
1781 #define MAP_FPUNaNModeSet \
1782  ROM_FPUNaNModeSet
1783 #else
1784 #define MAP_FPUNaNModeSet \
1785  FPUNaNModeSet
1786 #endif
1787 #ifdef ROM_FPURoundingModeSet
1788 #define MAP_FPURoundingModeSet \
1789  ROM_FPURoundingModeSet
1790 #else
1791 #define MAP_FPURoundingModeSet \
1792  FPURoundingModeSet
1793 #endif
1794 #ifdef ROM_FPUStackingDisable
1795 #define MAP_FPUStackingDisable \
1796  ROM_FPUStackingDisable
1797 #else
1798 #define MAP_FPUStackingDisable \
1799  FPUStackingDisable
1800 #endif
1801 #ifdef ROM_FPUStackingEnable
1802 #define MAP_FPUStackingEnable \
1803  ROM_FPUStackingEnable
1804 #else
1805 #define MAP_FPUStackingEnable \
1806  FPUStackingEnable
1807 #endif
1808 
1809 //*****************************************************************************
1810 //
1811 // Macros for the GPIO API.
1812 //
1813 //*****************************************************************************
1814 #ifdef ROM_GPIOPinWrite
1815 #define MAP_GPIOPinWrite \
1816  ROM_GPIOPinWrite
1817 #else
1818 #define MAP_GPIOPinWrite \
1819  GPIOPinWrite
1820 #endif
1821 #ifdef ROM_GPIODirModeSet
1822 #define MAP_GPIODirModeSet \
1823  ROM_GPIODirModeSet
1824 #else
1825 #define MAP_GPIODirModeSet \
1826  GPIODirModeSet
1827 #endif
1828 #ifdef ROM_GPIODirModeGet
1829 #define MAP_GPIODirModeGet \
1830  ROM_GPIODirModeGet
1831 #else
1832 #define MAP_GPIODirModeGet \
1833  GPIODirModeGet
1834 #endif
1835 #ifdef ROM_GPIOIntTypeSet
1836 #define MAP_GPIOIntTypeSet \
1837  ROM_GPIOIntTypeSet
1838 #else
1839 #define MAP_GPIOIntTypeSet \
1840  GPIOIntTypeSet
1841 #endif
1842 #ifdef ROM_GPIOIntTypeGet
1843 #define MAP_GPIOIntTypeGet \
1844  ROM_GPIOIntTypeGet
1845 #else
1846 #define MAP_GPIOIntTypeGet \
1847  GPIOIntTypeGet
1848 #endif
1849 #ifdef ROM_GPIOPadConfigSet
1850 #define MAP_GPIOPadConfigSet \
1851  ROM_GPIOPadConfigSet
1852 #else
1853 #define MAP_GPIOPadConfigSet \
1854  GPIOPadConfigSet
1855 #endif
1856 #ifdef ROM_GPIOPadConfigGet
1857 #define MAP_GPIOPadConfigGet \
1858  ROM_GPIOPadConfigGet
1859 #else
1860 #define MAP_GPIOPadConfigGet \
1861  GPIOPadConfigGet
1862 #endif
1863 #ifdef ROM_GPIOPinRead
1864 #define MAP_GPIOPinRead \
1865  ROM_GPIOPinRead
1866 #else
1867 #define MAP_GPIOPinRead \
1868  GPIOPinRead
1869 #endif
1870 #ifdef ROM_GPIOPinTypeCAN
1871 #define MAP_GPIOPinTypeCAN \
1872  ROM_GPIOPinTypeCAN
1873 #else
1874 #define MAP_GPIOPinTypeCAN \
1875  GPIOPinTypeCAN
1876 #endif
1877 #ifdef ROM_GPIOPinTypeComparator
1878 #define MAP_GPIOPinTypeComparator \
1879  ROM_GPIOPinTypeComparator
1880 #else
1881 #define MAP_GPIOPinTypeComparator \
1882  GPIOPinTypeComparator
1883 #endif
1884 #ifdef ROM_GPIOPinTypeComparatorOutput
1885 #define MAP_GPIOPinTypeComparatorOutput \
1886  ROM_GPIOPinTypeComparatorOutput
1887 #else
1888 #define MAP_GPIOPinTypeComparatorOutput \
1889  GPIOPinTypeComparatorOutput
1890 #endif
1891 #ifdef ROM_GPIOPinTypeEPI
1892 #define MAP_GPIOPinTypeEPI \
1893  ROM_GPIOPinTypeEPI
1894 #else
1895 #define MAP_GPIOPinTypeEPI \
1896  GPIOPinTypeEPI
1897 #endif
1898 #ifdef ROM_GPIOPinTypeGPIOInput
1899 #define MAP_GPIOPinTypeGPIOInput \
1900  ROM_GPIOPinTypeGPIOInput
1901 #else
1902 #define MAP_GPIOPinTypeGPIOInput \
1903  GPIOPinTypeGPIOInput
1904 #endif
1905 #ifdef ROM_GPIOPinTypeGPIOOutput
1906 #define MAP_GPIOPinTypeGPIOOutput \
1907  ROM_GPIOPinTypeGPIOOutput
1908 #else
1909 #define MAP_GPIOPinTypeGPIOOutput \
1910  GPIOPinTypeGPIOOutput
1911 #endif
1912 #ifdef ROM_GPIOPinTypeI2C
1913 #define MAP_GPIOPinTypeI2C \
1914  ROM_GPIOPinTypeI2C
1915 #else
1916 #define MAP_GPIOPinTypeI2C \
1917  GPIOPinTypeI2C
1918 #endif
1919 #ifdef ROM_GPIOPinTypePWM
1920 #define MAP_GPIOPinTypePWM \
1921  ROM_GPIOPinTypePWM
1922 #else
1923 #define MAP_GPIOPinTypePWM \
1924  GPIOPinTypePWM
1925 #endif
1926 #ifdef ROM_GPIOPinTypeQEI
1927 #define MAP_GPIOPinTypeQEI \
1928  ROM_GPIOPinTypeQEI
1929 #else
1930 #define MAP_GPIOPinTypeQEI \
1931  GPIOPinTypeQEI
1932 #endif
1933 #ifdef ROM_GPIOPinTypeSSI
1934 #define MAP_GPIOPinTypeSSI \
1935  ROM_GPIOPinTypeSSI
1936 #else
1937 #define MAP_GPIOPinTypeSSI \
1938  GPIOPinTypeSSI
1939 #endif
1940 #ifdef ROM_GPIOPinTypeTimer
1941 #define MAP_GPIOPinTypeTimer \
1942  ROM_GPIOPinTypeTimer
1943 #else
1944 #define MAP_GPIOPinTypeTimer \
1945  GPIOPinTypeTimer
1946 #endif
1947 #ifdef ROM_GPIOPinTypeUART
1948 #define MAP_GPIOPinTypeUART \
1949  ROM_GPIOPinTypeUART
1950 #else
1951 #define MAP_GPIOPinTypeUART \
1952  GPIOPinTypeUART
1953 #endif
1954 #ifdef ROM_GPIOPinTypeGPIOOutputOD
1955 #define MAP_GPIOPinTypeGPIOOutputOD \
1956  ROM_GPIOPinTypeGPIOOutputOD
1957 #else
1958 #define MAP_GPIOPinTypeGPIOOutputOD \
1959  GPIOPinTypeGPIOOutputOD
1960 #endif
1961 #ifdef ROM_GPIOPinTypeADC
1962 #define MAP_GPIOPinTypeADC \
1963  ROM_GPIOPinTypeADC
1964 #else
1965 #define MAP_GPIOPinTypeADC \
1966  GPIOPinTypeADC
1967 #endif
1968 #ifdef ROM_GPIOPinTypeUSBDigital
1969 #define MAP_GPIOPinTypeUSBDigital \
1970  ROM_GPIOPinTypeUSBDigital
1971 #else
1972 #define MAP_GPIOPinTypeUSBDigital \
1973  GPIOPinTypeUSBDigital
1974 #endif
1975 #ifdef ROM_GPIOPinConfigure
1976 #define MAP_GPIOPinConfigure \
1977  ROM_GPIOPinConfigure
1978 #else
1979 #define MAP_GPIOPinConfigure \
1980  GPIOPinConfigure
1981 #endif
1982 #ifdef ROM_GPIOPinTypeUSBAnalog
1983 #define MAP_GPIOPinTypeUSBAnalog \
1984  ROM_GPIOPinTypeUSBAnalog
1985 #else
1986 #define MAP_GPIOPinTypeUSBAnalog \
1987  GPIOPinTypeUSBAnalog
1988 #endif
1989 #ifdef ROM_GPIODMATriggerEnable
1990 #define MAP_GPIODMATriggerEnable \
1991  ROM_GPIODMATriggerEnable
1992 #else
1993 #define MAP_GPIODMATriggerEnable \
1994  GPIODMATriggerEnable
1995 #endif
1996 #ifdef ROM_GPIODMATriggerDisable
1997 #define MAP_GPIODMATriggerDisable \
1998  ROM_GPIODMATriggerDisable
1999 #else
2000 #define MAP_GPIODMATriggerDisable \
2001  GPIODMATriggerDisable
2002 #endif
2003 #ifdef ROM_GPIOADCTriggerEnable
2004 #define MAP_GPIOADCTriggerEnable \
2005  ROM_GPIOADCTriggerEnable
2006 #else
2007 #define MAP_GPIOADCTriggerEnable \
2008  GPIOADCTriggerEnable
2009 #endif
2010 #ifdef ROM_GPIOADCTriggerDisable
2011 #define MAP_GPIOADCTriggerDisable \
2012  ROM_GPIOADCTriggerDisable
2013 #else
2014 #define MAP_GPIOADCTriggerDisable \
2015  GPIOADCTriggerDisable
2016 #endif
2017 #ifdef ROM_GPIOPinTypeI2CSCL
2018 #define MAP_GPIOPinTypeI2CSCL \
2019  ROM_GPIOPinTypeI2CSCL
2020 #else
2021 #define MAP_GPIOPinTypeI2CSCL \
2022  GPIOPinTypeI2CSCL
2023 #endif
2024 #ifdef ROM_GPIOPinTypeOneWire
2025 #define MAP_GPIOPinTypeOneWire \
2026  ROM_GPIOPinTypeOneWire
2027 #else
2028 #define MAP_GPIOPinTypeOneWire \
2029  GPIOPinTypeOneWire
2030 #endif
2031 #ifdef ROM_GPIOPinTypeWakeHigh
2032 #define MAP_GPIOPinTypeWakeHigh \
2033  ROM_GPIOPinTypeWakeHigh
2034 #else
2035 #define MAP_GPIOPinTypeWakeHigh \
2036  GPIOPinTypeWakeHigh
2037 #endif
2038 #ifdef ROM_GPIOPinTypeWakeLow
2039 #define MAP_GPIOPinTypeWakeLow \
2040  ROM_GPIOPinTypeWakeLow
2041 #else
2042 #define MAP_GPIOPinTypeWakeLow \
2043  GPIOPinTypeWakeLow
2044 #endif
2045 #ifdef ROM_GPIOIntClear
2046 #define MAP_GPIOIntClear \
2047  ROM_GPIOIntClear
2048 #else
2049 #define MAP_GPIOIntClear \
2050  GPIOIntClear
2051 #endif
2052 #ifdef ROM_GPIOIntDisable
2053 #define MAP_GPIOIntDisable \
2054  ROM_GPIOIntDisable
2055 #else
2056 #define MAP_GPIOIntDisable \
2057  GPIOIntDisable
2058 #endif
2059 #ifdef ROM_GPIOIntEnable
2060 #define MAP_GPIOIntEnable \
2061  ROM_GPIOIntEnable
2062 #else
2063 #define MAP_GPIOIntEnable \
2064  GPIOIntEnable
2065 #endif
2066 #ifdef ROM_GPIOIntStatus
2067 #define MAP_GPIOIntStatus \
2068  ROM_GPIOIntStatus
2069 #else
2070 #define MAP_GPIOIntStatus \
2071  GPIOIntStatus
2072 #endif
2073 #ifdef ROM_GPIOPinWakeStatus
2074 #define MAP_GPIOPinWakeStatus \
2075  ROM_GPIOPinWakeStatus
2076 #else
2077 #define MAP_GPIOPinWakeStatus \
2078  GPIOPinWakeStatus
2079 #endif
2080 
2081 //*****************************************************************************
2082 //
2083 // Macros for the Hibernate API.
2084 //
2085 //*****************************************************************************
2086 #ifdef ROM_HibernateIntClear
2087 #define MAP_HibernateIntClear \
2088  ROM_HibernateIntClear
2089 #else
2090 #define MAP_HibernateIntClear \
2091  HibernateIntClear
2092 #endif
2093 #ifdef ROM_HibernateEnableExpClk
2094 #define MAP_HibernateEnableExpClk \
2095  ROM_HibernateEnableExpClk
2096 #else
2097 #define MAP_HibernateEnableExpClk \
2098  HibernateEnableExpClk
2099 #endif
2100 #ifdef ROM_HibernateDisable
2101 #define MAP_HibernateDisable \
2102  ROM_HibernateDisable
2103 #else
2104 #define MAP_HibernateDisable \
2105  HibernateDisable
2106 #endif
2107 #ifdef ROM_HibernateRTCEnable
2108 #define MAP_HibernateRTCEnable \
2109  ROM_HibernateRTCEnable
2110 #else
2111 #define MAP_HibernateRTCEnable \
2112  HibernateRTCEnable
2113 #endif
2114 #ifdef ROM_HibernateRTCDisable
2115 #define MAP_HibernateRTCDisable \
2116  ROM_HibernateRTCDisable
2117 #else
2118 #define MAP_HibernateRTCDisable \
2119  HibernateRTCDisable
2120 #endif
2121 #ifdef ROM_HibernateWakeSet
2122 #define MAP_HibernateWakeSet \
2123  ROM_HibernateWakeSet
2124 #else
2125 #define MAP_HibernateWakeSet \
2126  HibernateWakeSet
2127 #endif
2128 #ifdef ROM_HibernateWakeGet
2129 #define MAP_HibernateWakeGet \
2130  ROM_HibernateWakeGet
2131 #else
2132 #define MAP_HibernateWakeGet \
2133  HibernateWakeGet
2134 #endif
2135 #ifdef ROM_HibernateLowBatSet
2136 #define MAP_HibernateLowBatSet \
2137  ROM_HibernateLowBatSet
2138 #else
2139 #define MAP_HibernateLowBatSet \
2140  HibernateLowBatSet
2141 #endif
2142 #ifdef ROM_HibernateLowBatGet
2143 #define MAP_HibernateLowBatGet \
2144  ROM_HibernateLowBatGet
2145 #else
2146 #define MAP_HibernateLowBatGet \
2147  HibernateLowBatGet
2148 #endif
2149 #ifdef ROM_HibernateRTCSet
2150 #define MAP_HibernateRTCSet \
2151  ROM_HibernateRTCSet
2152 #else
2153 #define MAP_HibernateRTCSet \
2154  HibernateRTCSet
2155 #endif
2156 #ifdef ROM_HibernateRTCGet
2157 #define MAP_HibernateRTCGet \
2158  ROM_HibernateRTCGet
2159 #else
2160 #define MAP_HibernateRTCGet \
2161  HibernateRTCGet
2162 #endif
2163 #ifdef ROM_HibernateRTCTrimSet
2164 #define MAP_HibernateRTCTrimSet \
2165  ROM_HibernateRTCTrimSet
2166 #else
2167 #define MAP_HibernateRTCTrimSet \
2168  HibernateRTCTrimSet
2169 #endif
2170 #ifdef ROM_HibernateRTCTrimGet
2171 #define MAP_HibernateRTCTrimGet \
2172  ROM_HibernateRTCTrimGet
2173 #else
2174 #define MAP_HibernateRTCTrimGet \
2175  HibernateRTCTrimGet
2176 #endif
2177 #ifdef ROM_HibernateDataSet
2178 #define MAP_HibernateDataSet \
2179  ROM_HibernateDataSet
2180 #else
2181 #define MAP_HibernateDataSet \
2182  HibernateDataSet
2183 #endif
2184 #ifdef ROM_HibernateDataGet
2185 #define MAP_HibernateDataGet \
2186  ROM_HibernateDataGet
2187 #else
2188 #define MAP_HibernateDataGet \
2189  HibernateDataGet
2190 #endif
2191 #ifdef ROM_HibernateRequest
2192 #define MAP_HibernateRequest \
2193  ROM_HibernateRequest
2194 #else
2195 #define MAP_HibernateRequest \
2196  HibernateRequest
2197 #endif
2198 #ifdef ROM_HibernateIntEnable
2199 #define MAP_HibernateIntEnable \
2200  ROM_HibernateIntEnable
2201 #else
2202 #define MAP_HibernateIntEnable \
2203  HibernateIntEnable
2204 #endif
2205 #ifdef ROM_HibernateIntDisable
2206 #define MAP_HibernateIntDisable \
2207  ROM_HibernateIntDisable
2208 #else
2209 #define MAP_HibernateIntDisable \
2210  HibernateIntDisable
2211 #endif
2212 #ifdef ROM_HibernateIntStatus
2213 #define MAP_HibernateIntStatus \
2214  ROM_HibernateIntStatus
2215 #else
2216 #define MAP_HibernateIntStatus \
2217  HibernateIntStatus
2218 #endif
2219 #ifdef ROM_HibernateIsActive
2220 #define MAP_HibernateIsActive \
2221  ROM_HibernateIsActive
2222 #else
2223 #define MAP_HibernateIsActive \
2224  HibernateIsActive
2225 #endif
2226 #ifdef ROM_HibernateRTCSSGet
2227 #define MAP_HibernateRTCSSGet \
2228  ROM_HibernateRTCSSGet
2229 #else
2230 #define MAP_HibernateRTCSSGet \
2231  HibernateRTCSSGet
2232 #endif
2233 #ifdef ROM_HibernateClockConfig
2234 #define MAP_HibernateClockConfig \
2235  ROM_HibernateClockConfig
2236 #else
2237 #define MAP_HibernateClockConfig \
2238  HibernateClockConfig
2239 #endif
2240 #ifdef ROM_HibernateBatCheckStart
2241 #define MAP_HibernateBatCheckStart \
2242  ROM_HibernateBatCheckStart
2243 #else
2244 #define MAP_HibernateBatCheckStart \
2245  HibernateBatCheckStart
2246 #endif
2247 #ifdef ROM_HibernateBatCheckDone
2248 #define MAP_HibernateBatCheckDone \
2249  ROM_HibernateBatCheckDone
2250 #else
2251 #define MAP_HibernateBatCheckDone \
2252  HibernateBatCheckDone
2253 #endif
2254 #ifdef ROM_HibernateGPIORetentionEnable
2255 #define MAP_HibernateGPIORetentionEnable \
2256  ROM_HibernateGPIORetentionEnable
2257 #else
2258 #define MAP_HibernateGPIORetentionEnable \
2259  HibernateGPIORetentionEnable
2260 #endif
2261 #ifdef ROM_HibernateGPIORetentionDisable
2262 #define MAP_HibernateGPIORetentionDisable \
2263  ROM_HibernateGPIORetentionDisable
2264 #else
2265 #define MAP_HibernateGPIORetentionDisable \
2266  HibernateGPIORetentionDisable
2267 #endif
2268 #ifdef ROM_HibernateGPIORetentionGet
2269 #define MAP_HibernateGPIORetentionGet \
2270  ROM_HibernateGPIORetentionGet
2271 #else
2272 #define MAP_HibernateGPIORetentionGet \
2273  HibernateGPIORetentionGet
2274 #endif
2275 #ifdef ROM_HibernateCounterMode
2276 #define MAP_HibernateCounterMode \
2277  ROM_HibernateCounterMode
2278 #else
2279 #define MAP_HibernateCounterMode \
2280  HibernateCounterMode
2281 #endif
2282 #ifdef ROM_HibernateCalendarSet
2283 #define MAP_HibernateCalendarSet \
2284  ROM_HibernateCalendarSet
2285 #else
2286 #define MAP_HibernateCalendarSet \
2287  HibernateCalendarSet
2288 #endif
2289 #ifdef ROM_HibernateCalendarGet
2290 #define MAP_HibernateCalendarGet \
2291  ROM_HibernateCalendarGet
2292 #else
2293 #define MAP_HibernateCalendarGet \
2294  HibernateCalendarGet
2295 #endif
2296 #ifdef ROM_HibernateCalendarMatchSet
2297 #define MAP_HibernateCalendarMatchSet \
2298  ROM_HibernateCalendarMatchSet
2299 #else
2300 #define MAP_HibernateCalendarMatchSet \
2301  HibernateCalendarMatchSet
2302 #endif
2303 #ifdef ROM_HibernateCalendarMatchGet
2304 #define MAP_HibernateCalendarMatchGet \
2305  ROM_HibernateCalendarMatchGet
2306 #else
2307 #define MAP_HibernateCalendarMatchGet \
2308  HibernateCalendarMatchGet
2309 #endif
2310 #ifdef ROM_HibernateTamperDisable
2311 #define MAP_HibernateTamperDisable \
2312  ROM_HibernateTamperDisable
2313 #else
2314 #define MAP_HibernateTamperDisable \
2315  HibernateTamperDisable
2316 #endif
2317 #ifdef ROM_HibernateTamperEnable
2318 #define MAP_HibernateTamperEnable \
2319  ROM_HibernateTamperEnable
2320 #else
2321 #define MAP_HibernateTamperEnable \
2322  HibernateTamperEnable
2323 #endif
2324 #ifdef ROM_HibernateTamperEventsClear
2325 #define MAP_HibernateTamperEventsClear \
2326  ROM_HibernateTamperEventsClear
2327 #else
2328 #define MAP_HibernateTamperEventsClear \
2329  HibernateTamperEventsClear
2330 #endif
2331 #ifdef ROM_HibernateTamperEventsConfig
2332 #define MAP_HibernateTamperEventsConfig \
2333  ROM_HibernateTamperEventsConfig
2334 #else
2335 #define MAP_HibernateTamperEventsConfig \
2336  HibernateTamperEventsConfig
2337 #endif
2338 #ifdef ROM_HibernateTamperEventsGet
2339 #define MAP_HibernateTamperEventsGet \
2340  ROM_HibernateTamperEventsGet
2341 #else
2342 #define MAP_HibernateTamperEventsGet \
2343  HibernateTamperEventsGet
2344 #endif
2345 #ifdef ROM_HibernateTamperExtOscValid
2346 #define MAP_HibernateTamperExtOscValid \
2347  ROM_HibernateTamperExtOscValid
2348 #else
2349 #define MAP_HibernateTamperExtOscValid \
2350  HibernateTamperExtOscValid
2351 #endif
2352 #ifdef ROM_HibernateTamperExtOscRecover
2353 #define MAP_HibernateTamperExtOscRecover \
2354  ROM_HibernateTamperExtOscRecover
2355 #else
2356 #define MAP_HibernateTamperExtOscRecover \
2357  HibernateTamperExtOscRecover
2358 #endif
2359 #ifdef ROM_HibernateTamperIODisable
2360 #define MAP_HibernateTamperIODisable \
2361  ROM_HibernateTamperIODisable
2362 #else
2363 #define MAP_HibernateTamperIODisable \
2364  HibernateTamperIODisable
2365 #endif
2366 #ifdef ROM_HibernateTamperIOEnable
2367 #define MAP_HibernateTamperIOEnable \
2368  ROM_HibernateTamperIOEnable
2369 #else
2370 #define MAP_HibernateTamperIOEnable \
2371  HibernateTamperIOEnable
2372 #endif
2373 #ifdef ROM_HibernateTamperStatusGet
2374 #define MAP_HibernateTamperStatusGet \
2375  ROM_HibernateTamperStatusGet
2376 #else
2377 #define MAP_HibernateTamperStatusGet \
2378  HibernateTamperStatusGet
2379 #endif
2380 #ifdef ROM_HibernateRTCMatchGet
2381 #define MAP_HibernateRTCMatchGet \
2382  ROM_HibernateRTCMatchGet
2383 #else
2384 #define MAP_HibernateRTCMatchGet \
2385  HibernateRTCMatchGet
2386 #endif
2387 #ifdef ROM_HibernateRTCMatchSet
2388 #define MAP_HibernateRTCMatchSet \
2389  ROM_HibernateRTCMatchSet
2390 #else
2391 #define MAP_HibernateRTCMatchSet \
2392  HibernateRTCMatchSet
2393 #endif
2394 #ifdef ROM_HibernateRTCSSMatchGet
2395 #define MAP_HibernateRTCSSMatchGet \
2396  ROM_HibernateRTCSSMatchGet
2397 #else
2398 #define MAP_HibernateRTCSSMatchGet \
2399  HibernateRTCSSMatchGet
2400 #endif
2401 #ifdef ROM_HibernateRTCSSMatchSet
2402 #define MAP_HibernateRTCSSMatchSet \
2403  ROM_HibernateRTCSSMatchSet
2404 #else
2405 #define MAP_HibernateRTCSSMatchSet \
2406  HibernateRTCSSMatchSet
2407 #endif
2408 
2409 //*****************************************************************************
2410 //
2411 // Macros for the I2C API.
2412 //
2413 //*****************************************************************************
2414 #ifdef ROM_I2CMasterDataPut
2415 #define MAP_I2CMasterDataPut \
2416  ROM_I2CMasterDataPut
2417 #else
2418 #define MAP_I2CMasterDataPut \
2419  I2CMasterDataPut
2420 #endif
2421 #ifdef ROM_I2CMasterInitExpClk
2422 #define MAP_I2CMasterInitExpClk \
2423  ROM_I2CMasterInitExpClk
2424 #else
2425 #define MAP_I2CMasterInitExpClk \
2426  I2CMasterInitExpClk
2427 #endif
2428 #ifdef ROM_I2CSlaveInit
2429 #define MAP_I2CSlaveInit \
2430  ROM_I2CSlaveInit
2431 #else
2432 #define MAP_I2CSlaveInit \
2433  I2CSlaveInit
2434 #endif
2435 #ifdef ROM_I2CMasterEnable
2436 #define MAP_I2CMasterEnable \
2437  ROM_I2CMasterEnable
2438 #else
2439 #define MAP_I2CMasterEnable \
2440  I2CMasterEnable
2441 #endif
2442 #ifdef ROM_I2CSlaveEnable
2443 #define MAP_I2CSlaveEnable \
2444  ROM_I2CSlaveEnable
2445 #else
2446 #define MAP_I2CSlaveEnable \
2447  I2CSlaveEnable
2448 #endif
2449 #ifdef ROM_I2CMasterDisable
2450 #define MAP_I2CMasterDisable \
2451  ROM_I2CMasterDisable
2452 #else
2453 #define MAP_I2CMasterDisable \
2454  I2CMasterDisable
2455 #endif
2456 #ifdef ROM_I2CSlaveDisable
2457 #define MAP_I2CSlaveDisable \
2458  ROM_I2CSlaveDisable
2459 #else
2460 #define MAP_I2CSlaveDisable \
2461  I2CSlaveDisable
2462 #endif
2463 #ifdef ROM_I2CMasterIntEnable
2464 #define MAP_I2CMasterIntEnable \
2465  ROM_I2CMasterIntEnable
2466 #else
2467 #define MAP_I2CMasterIntEnable \
2468  I2CMasterIntEnable
2469 #endif
2470 #ifdef ROM_I2CSlaveIntEnable
2471 #define MAP_I2CSlaveIntEnable \
2472  ROM_I2CSlaveIntEnable
2473 #else
2474 #define MAP_I2CSlaveIntEnable \
2475  I2CSlaveIntEnable
2476 #endif
2477 #ifdef ROM_I2CMasterIntDisable
2478 #define MAP_I2CMasterIntDisable \
2479  ROM_I2CMasterIntDisable
2480 #else
2481 #define MAP_I2CMasterIntDisable \
2482  I2CMasterIntDisable
2483 #endif
2484 #ifdef ROM_I2CSlaveIntDisable
2485 #define MAP_I2CSlaveIntDisable \
2486  ROM_I2CSlaveIntDisable
2487 #else
2488 #define MAP_I2CSlaveIntDisable \
2489  I2CSlaveIntDisable
2490 #endif
2491 #ifdef ROM_I2CMasterIntStatus
2492 #define MAP_I2CMasterIntStatus \
2493  ROM_I2CMasterIntStatus
2494 #else
2495 #define MAP_I2CMasterIntStatus \
2496  I2CMasterIntStatus
2497 #endif
2498 #ifdef ROM_I2CSlaveIntStatus
2499 #define MAP_I2CSlaveIntStatus \
2500  ROM_I2CSlaveIntStatus
2501 #else
2502 #define MAP_I2CSlaveIntStatus \
2503  I2CSlaveIntStatus
2504 #endif
2505 #ifdef ROM_I2CMasterIntClear
2506 #define MAP_I2CMasterIntClear \
2507  ROM_I2CMasterIntClear
2508 #else
2509 #define MAP_I2CMasterIntClear \
2510  I2CMasterIntClear
2511 #endif
2512 #ifdef ROM_I2CSlaveIntClear
2513 #define MAP_I2CSlaveIntClear \
2514  ROM_I2CSlaveIntClear
2515 #else
2516 #define MAP_I2CSlaveIntClear \
2517  I2CSlaveIntClear
2518 #endif
2519 #ifdef ROM_I2CMasterSlaveAddrSet
2520 #define MAP_I2CMasterSlaveAddrSet \
2521  ROM_I2CMasterSlaveAddrSet
2522 #else
2523 #define MAP_I2CMasterSlaveAddrSet \
2524  I2CMasterSlaveAddrSet
2525 #endif
2526 #ifdef ROM_I2CMasterBusy
2527 #define MAP_I2CMasterBusy \
2528  ROM_I2CMasterBusy
2529 #else
2530 #define MAP_I2CMasterBusy \
2531  I2CMasterBusy
2532 #endif
2533 #ifdef ROM_I2CMasterBusBusy
2534 #define MAP_I2CMasterBusBusy \
2535  ROM_I2CMasterBusBusy
2536 #else
2537 #define MAP_I2CMasterBusBusy \
2538  I2CMasterBusBusy
2539 #endif
2540 #ifdef ROM_I2CMasterControl
2541 #define MAP_I2CMasterControl \
2542  ROM_I2CMasterControl
2543 #else
2544 #define MAP_I2CMasterControl \
2545  I2CMasterControl
2546 #endif
2547 #ifdef ROM_I2CMasterErr
2548 #define MAP_I2CMasterErr \
2549  ROM_I2CMasterErr
2550 #else
2551 #define MAP_I2CMasterErr \
2552  I2CMasterErr
2553 #endif
2554 #ifdef ROM_I2CMasterDataGet
2555 #define MAP_I2CMasterDataGet \
2556  ROM_I2CMasterDataGet
2557 #else
2558 #define MAP_I2CMasterDataGet \
2559  I2CMasterDataGet
2560 #endif
2561 #ifdef ROM_I2CSlaveStatus
2562 #define MAP_I2CSlaveStatus \
2563  ROM_I2CSlaveStatus
2564 #else
2565 #define MAP_I2CSlaveStatus \
2566  I2CSlaveStatus
2567 #endif
2568 #ifdef ROM_I2CSlaveDataPut
2569 #define MAP_I2CSlaveDataPut \
2570  ROM_I2CSlaveDataPut
2571 #else
2572 #define MAP_I2CSlaveDataPut \
2573  I2CSlaveDataPut
2574 #endif
2575 #ifdef ROM_I2CSlaveDataGet
2576 #define MAP_I2CSlaveDataGet \
2577  ROM_I2CSlaveDataGet
2578 #else
2579 #define MAP_I2CSlaveDataGet \
2580  I2CSlaveDataGet
2581 #endif
2582 #ifdef ROM_I2CSlaveIntEnableEx
2583 #define MAP_I2CSlaveIntEnableEx \
2584  ROM_I2CSlaveIntEnableEx
2585 #else
2586 #define MAP_I2CSlaveIntEnableEx \
2587  I2CSlaveIntEnableEx
2588 #endif
2589 #ifdef ROM_I2CSlaveIntDisableEx
2590 #define MAP_I2CSlaveIntDisableEx \
2591  ROM_I2CSlaveIntDisableEx
2592 #else
2593 #define MAP_I2CSlaveIntDisableEx \
2594  I2CSlaveIntDisableEx
2595 #endif
2596 #ifdef ROM_I2CSlaveIntStatusEx
2597 #define MAP_I2CSlaveIntStatusEx \
2598  ROM_I2CSlaveIntStatusEx
2599 #else
2600 #define MAP_I2CSlaveIntStatusEx \
2601  I2CSlaveIntStatusEx
2602 #endif
2603 #ifdef ROM_I2CSlaveIntClearEx
2604 #define MAP_I2CSlaveIntClearEx \
2605  ROM_I2CSlaveIntClearEx
2606 #else
2607 #define MAP_I2CSlaveIntClearEx \
2608  I2CSlaveIntClearEx
2609 #endif
2610 #ifdef ROM_I2CMasterIntEnableEx
2611 #define MAP_I2CMasterIntEnableEx \
2612  ROM_I2CMasterIntEnableEx
2613 #else
2614 #define MAP_I2CMasterIntEnableEx \
2615  I2CMasterIntEnableEx
2616 #endif
2617 #ifdef ROM_I2CMasterIntDisableEx
2618 #define MAP_I2CMasterIntDisableEx \
2619  ROM_I2CMasterIntDisableEx
2620 #else
2621 #define MAP_I2CMasterIntDisableEx \
2622  I2CMasterIntDisableEx
2623 #endif
2624 #ifdef ROM_I2CMasterIntStatusEx
2625 #define MAP_I2CMasterIntStatusEx \
2626  ROM_I2CMasterIntStatusEx
2627 #else
2628 #define MAP_I2CMasterIntStatusEx \
2629  I2CMasterIntStatusEx
2630 #endif
2631 #ifdef ROM_I2CMasterIntClearEx
2632 #define MAP_I2CMasterIntClearEx \
2633  ROM_I2CMasterIntClearEx
2634 #else
2635 #define MAP_I2CMasterIntClearEx \
2636  I2CMasterIntClearEx
2637 #endif
2638 #ifdef ROM_I2CMasterTimeoutSet
2639 #define MAP_I2CMasterTimeoutSet \
2640  ROM_I2CMasterTimeoutSet
2641 #else
2642 #define MAP_I2CMasterTimeoutSet \
2643  I2CMasterTimeoutSet
2644 #endif
2645 #ifdef ROM_I2CSlaveACKOverride
2646 #define MAP_I2CSlaveACKOverride \
2647  ROM_I2CSlaveACKOverride
2648 #else
2649 #define MAP_I2CSlaveACKOverride \
2650  I2CSlaveACKOverride
2651 #endif
2652 #ifdef ROM_I2CSlaveACKValueSet
2653 #define MAP_I2CSlaveACKValueSet \
2654  ROM_I2CSlaveACKValueSet
2655 #else
2656 #define MAP_I2CSlaveACKValueSet \
2657  I2CSlaveACKValueSet
2658 #endif
2659 #ifdef ROM_I2CSlaveAddressSet
2660 #define MAP_I2CSlaveAddressSet \
2661  ROM_I2CSlaveAddressSet
2662 #else
2663 #define MAP_I2CSlaveAddressSet \
2664  I2CSlaveAddressSet
2665 #endif
2666 #ifdef ROM_I2CMasterLineStateGet
2667 #define MAP_I2CMasterLineStateGet \
2668  ROM_I2CMasterLineStateGet
2669 #else
2670 #define MAP_I2CMasterLineStateGet \
2671  I2CMasterLineStateGet
2672 #endif
2673 #ifdef ROM_I2CTxFIFOConfigSet
2674 #define MAP_I2CTxFIFOConfigSet \
2675  ROM_I2CTxFIFOConfigSet
2676 #else
2677 #define MAP_I2CTxFIFOConfigSet \
2678  I2CTxFIFOConfigSet
2679 #endif
2680 #ifdef ROM_I2CTxFIFOFlush
2681 #define MAP_I2CTxFIFOFlush \
2682  ROM_I2CTxFIFOFlush
2683 #else
2684 #define MAP_I2CTxFIFOFlush \
2685  I2CTxFIFOFlush
2686 #endif
2687 #ifdef ROM_I2CRxFIFOConfigSet
2688 #define MAP_I2CRxFIFOConfigSet \
2689  ROM_I2CRxFIFOConfigSet
2690 #else
2691 #define MAP_I2CRxFIFOConfigSet \
2692  I2CRxFIFOConfigSet
2693 #endif
2694 #ifdef ROM_I2CRxFIFOFlush
2695 #define MAP_I2CRxFIFOFlush \
2696  ROM_I2CRxFIFOFlush
2697 #else
2698 #define MAP_I2CRxFIFOFlush \
2699  I2CRxFIFOFlush
2700 #endif
2701 #ifdef ROM_I2CFIFOStatus
2702 #define MAP_I2CFIFOStatus \
2703  ROM_I2CFIFOStatus
2704 #else
2705 #define MAP_I2CFIFOStatus \
2706  I2CFIFOStatus
2707 #endif
2708 #ifdef ROM_I2CFIFODataPut
2709 #define MAP_I2CFIFODataPut \
2710  ROM_I2CFIFODataPut
2711 #else
2712 #define MAP_I2CFIFODataPut \
2713  I2CFIFODataPut
2714 #endif
2715 #ifdef ROM_I2CFIFODataPutNonBlocking
2716 #define MAP_I2CFIFODataPutNonBlocking \
2717  ROM_I2CFIFODataPutNonBlocking
2718 #else
2719 #define MAP_I2CFIFODataPutNonBlocking \
2720  I2CFIFODataPutNonBlocking
2721 #endif
2722 #ifdef ROM_I2CFIFODataGet
2723 #define MAP_I2CFIFODataGet \
2724  ROM_I2CFIFODataGet
2725 #else
2726 #define MAP_I2CFIFODataGet \
2727  I2CFIFODataGet
2728 #endif
2729 #ifdef ROM_I2CFIFODataGetNonBlocking
2730 #define MAP_I2CFIFODataGetNonBlocking \
2731  ROM_I2CFIFODataGetNonBlocking
2732 #else
2733 #define MAP_I2CFIFODataGetNonBlocking \
2734  I2CFIFODataGetNonBlocking
2735 #endif
2736 #ifdef ROM_I2CMasterBurstLengthSet
2737 #define MAP_I2CMasterBurstLengthSet \
2738  ROM_I2CMasterBurstLengthSet
2739 #else
2740 #define MAP_I2CMasterBurstLengthSet \
2741  I2CMasterBurstLengthSet
2742 #endif
2743 #ifdef ROM_I2CMasterBurstCountGet
2744 #define MAP_I2CMasterBurstCountGet \
2745  ROM_I2CMasterBurstCountGet
2746 #else
2747 #define MAP_I2CMasterBurstCountGet \
2748  I2CMasterBurstCountGet
2749 #endif
2750 #ifdef ROM_I2CSlaveFIFODisable
2751 #define MAP_I2CSlaveFIFODisable \
2752  ROM_I2CSlaveFIFODisable
2753 #else
2754 #define MAP_I2CSlaveFIFODisable \
2755  I2CSlaveFIFODisable
2756 #endif
2757 #ifdef ROM_I2CSlaveFIFOEnable
2758 #define MAP_I2CSlaveFIFOEnable \
2759  ROM_I2CSlaveFIFOEnable
2760 #else
2761 #define MAP_I2CSlaveFIFOEnable \
2762  I2CSlaveFIFOEnable
2763 #endif
2764 #ifdef ROM_I2CMasterGlitchFilterConfigSet
2765 #define MAP_I2CMasterGlitchFilterConfigSet \
2766  ROM_I2CMasterGlitchFilterConfigSet
2767 #else
2768 #define MAP_I2CMasterGlitchFilterConfigSet \
2769  I2CMasterGlitchFilterConfigSet
2770 #endif
2771 
2772 //*****************************************************************************
2773 //
2774 // Macros for the Interrupt API.
2775 //
2776 //*****************************************************************************
2777 #ifdef ROM_IntEnable
2778 #define MAP_IntEnable \
2779  ROM_IntEnable
2780 #else
2781 #define MAP_IntEnable \
2782  IntEnable
2783 #endif
2784 #ifdef ROM_IntMasterEnable
2785 #define MAP_IntMasterEnable \
2786  ROM_IntMasterEnable
2787 #else
2788 #define MAP_IntMasterEnable \
2789  IntMasterEnable
2790 #endif
2791 #ifdef ROM_IntMasterDisable
2792 #define MAP_IntMasterDisable \
2793  ROM_IntMasterDisable
2794 #else
2795 #define MAP_IntMasterDisable \
2796  IntMasterDisable
2797 #endif
2798 #ifdef ROM_IntDisable
2799 #define MAP_IntDisable \
2800  ROM_IntDisable
2801 #else
2802 #define MAP_IntDisable \
2803  IntDisable
2804 #endif
2805 #ifdef ROM_IntPriorityGroupingSet
2806 #define MAP_IntPriorityGroupingSet \
2807  ROM_IntPriorityGroupingSet
2808 #else
2809 #define MAP_IntPriorityGroupingSet \
2810  IntPriorityGroupingSet
2811 #endif
2812 #ifdef ROM_IntPriorityGroupingGet
2813 #define MAP_IntPriorityGroupingGet \
2814  ROM_IntPriorityGroupingGet
2815 #else
2816 #define MAP_IntPriorityGroupingGet \
2817  IntPriorityGroupingGet
2818 #endif
2819 #ifdef ROM_IntPrioritySet
2820 #define MAP_IntPrioritySet \
2821  ROM_IntPrioritySet
2822 #else
2823 #define MAP_IntPrioritySet \
2824  IntPrioritySet
2825 #endif
2826 #ifdef ROM_IntPriorityGet
2827 #define MAP_IntPriorityGet \
2828  ROM_IntPriorityGet
2829 #else
2830 #define MAP_IntPriorityGet \
2831  IntPriorityGet
2832 #endif
2833 #ifdef ROM_IntPendSet
2834 #define MAP_IntPendSet \
2835  ROM_IntPendSet
2836 #else
2837 #define MAP_IntPendSet \
2838  IntPendSet
2839 #endif
2840 #ifdef ROM_IntPendClear
2841 #define MAP_IntPendClear \
2842  ROM_IntPendClear
2843 #else
2844 #define MAP_IntPendClear \
2845  IntPendClear
2846 #endif
2847 #ifdef ROM_IntPriorityMaskSet
2848 #define MAP_IntPriorityMaskSet \
2849  ROM_IntPriorityMaskSet
2850 #else
2851 #define MAP_IntPriorityMaskSet \
2852  IntPriorityMaskSet
2853 #endif
2854 #ifdef ROM_IntPriorityMaskGet
2855 #define MAP_IntPriorityMaskGet \
2856  ROM_IntPriorityMaskGet
2857 #else
2858 #define MAP_IntPriorityMaskGet \
2859  IntPriorityMaskGet
2860 #endif
2861 #ifdef ROM_IntIsEnabled
2862 #define MAP_IntIsEnabled \
2863  ROM_IntIsEnabled
2864 #else
2865 #define MAP_IntIsEnabled \
2866  IntIsEnabled
2867 #endif
2868 #ifdef ROM_IntTrigger
2869 #define MAP_IntTrigger \
2870  ROM_IntTrigger
2871 #else
2872 #define MAP_IntTrigger \
2873  IntTrigger
2874 #endif
2875 
2876 //*****************************************************************************
2877 //
2878 // Macros for the LCD API.
2879 //
2880 //*****************************************************************************
2881 #ifdef ROM_LCDIntStatus
2882 #define MAP_LCDIntStatus \
2883  ROM_LCDIntStatus
2884 #else
2885 #define MAP_LCDIntStatus \
2886  LCDIntStatus
2887 #endif
2888 #ifdef ROM_LCDClockReset
2889 #define MAP_LCDClockReset \
2890  ROM_LCDClockReset
2891 #else
2892 #define MAP_LCDClockReset \
2893  LCDClockReset
2894 #endif
2895 #ifdef ROM_LCDDMAConfigSet
2896 #define MAP_LCDDMAConfigSet \
2897  ROM_LCDDMAConfigSet
2898 #else
2899 #define MAP_LCDDMAConfigSet \
2900  LCDDMAConfigSet
2901 #endif
2902 #ifdef ROM_LCDIDDCommandWrite
2903 #define MAP_LCDIDDCommandWrite \
2904  ROM_LCDIDDCommandWrite
2905 #else
2906 #define MAP_LCDIDDCommandWrite \
2907  LCDIDDCommandWrite
2908 #endif
2909 #ifdef ROM_LCDIDDConfigSet
2910 #define MAP_LCDIDDConfigSet \
2911  ROM_LCDIDDConfigSet
2912 #else
2913 #define MAP_LCDIDDConfigSet \
2914  LCDIDDConfigSet
2915 #endif
2916 #ifdef ROM_LCDIDDDataRead
2917 #define MAP_LCDIDDDataRead \
2918  ROM_LCDIDDDataRead
2919 #else
2920 #define MAP_LCDIDDDataRead \
2921  LCDIDDDataRead
2922 #endif
2923 #ifdef ROM_LCDIDDDataWrite
2924 #define MAP_LCDIDDDataWrite \
2925  ROM_LCDIDDDataWrite
2926 #else
2927 #define MAP_LCDIDDDataWrite \
2928  LCDIDDDataWrite
2929 #endif
2930 #ifdef ROM_LCDIDDDMADisable
2931 #define MAP_LCDIDDDMADisable \
2932  ROM_LCDIDDDMADisable
2933 #else
2934 #define MAP_LCDIDDDMADisable \
2935  LCDIDDDMADisable
2936 #endif
2937 #ifdef ROM_LCDIDDDMAWrite
2938 #define MAP_LCDIDDDMAWrite \
2939  ROM_LCDIDDDMAWrite
2940 #else
2941 #define MAP_LCDIDDDMAWrite \
2942  LCDIDDDMAWrite
2943 #endif
2944 #ifdef ROM_LCDIDDIndexedRead
2945 #define MAP_LCDIDDIndexedRead \
2946  ROM_LCDIDDIndexedRead
2947 #else
2948 #define MAP_LCDIDDIndexedRead \
2949  LCDIDDIndexedRead
2950 #endif
2951 #ifdef ROM_LCDIDDIndexedWrite
2952 #define MAP_LCDIDDIndexedWrite \
2953  ROM_LCDIDDIndexedWrite
2954 #else
2955 #define MAP_LCDIDDIndexedWrite \
2956  LCDIDDIndexedWrite
2957 #endif
2958 #ifdef ROM_LCDIDDStatusRead
2959 #define MAP_LCDIDDStatusRead \
2960  ROM_LCDIDDStatusRead
2961 #else
2962 #define MAP_LCDIDDStatusRead \
2963  LCDIDDStatusRead
2964 #endif
2965 #ifdef ROM_LCDIDDTimingSet
2966 #define MAP_LCDIDDTimingSet \
2967  ROM_LCDIDDTimingSet
2968 #else
2969 #define MAP_LCDIDDTimingSet \
2970  LCDIDDTimingSet
2971 #endif
2972 #ifdef ROM_LCDIntClear
2973 #define MAP_LCDIntClear \
2974  ROM_LCDIntClear
2975 #else
2976 #define MAP_LCDIntClear \
2977  LCDIntClear
2978 #endif
2979 #ifdef ROM_LCDIntDisable
2980 #define MAP_LCDIntDisable \
2981  ROM_LCDIntDisable
2982 #else
2983 #define MAP_LCDIntDisable \
2984  LCDIntDisable
2985 #endif
2986 #ifdef ROM_LCDIntEnable
2987 #define MAP_LCDIntEnable \
2988  ROM_LCDIntEnable
2989 #else
2990 #define MAP_LCDIntEnable \
2991  LCDIntEnable
2992 #endif
2993 #ifdef ROM_LCDModeSet
2994 #define MAP_LCDModeSet \
2995  ROM_LCDModeSet
2996 #else
2997 #define MAP_LCDModeSet \
2998  LCDModeSet
2999 #endif
3000 #ifdef ROM_LCDRasterACBiasIntCountSet
3001 #define MAP_LCDRasterACBiasIntCountSet \
3002  ROM_LCDRasterACBiasIntCountSet
3003 #else
3004 #define MAP_LCDRasterACBiasIntCountSet \
3005  LCDRasterACBiasIntCountSet
3006 #endif
3007 #ifdef ROM_LCDRasterConfigSet
3008 #define MAP_LCDRasterConfigSet \
3009  ROM_LCDRasterConfigSet
3010 #else
3011 #define MAP_LCDRasterConfigSet \
3012  LCDRasterConfigSet
3013 #endif
3014 #ifdef ROM_LCDRasterDisable
3015 #define MAP_LCDRasterDisable \
3016  ROM_LCDRasterDisable
3017 #else
3018 #define MAP_LCDRasterDisable \
3019  LCDRasterDisable
3020 #endif
3021 #ifdef ROM_LCDRasterEnable
3022 #define MAP_LCDRasterEnable \
3023  ROM_LCDRasterEnable
3024 #else
3025 #define MAP_LCDRasterEnable \
3026  LCDRasterEnable
3027 #endif
3028 #ifdef ROM_LCDRasterFrameBufferSet
3029 #define MAP_LCDRasterFrameBufferSet \
3030  ROM_LCDRasterFrameBufferSet
3031 #else
3032 #define MAP_LCDRasterFrameBufferSet \
3033  LCDRasterFrameBufferSet
3034 #endif
3035 #ifdef ROM_LCDRasterPaletteSet
3036 #define MAP_LCDRasterPaletteSet \
3037  ROM_LCDRasterPaletteSet
3038 #else
3039 #define MAP_LCDRasterPaletteSet \
3040  LCDRasterPaletteSet
3041 #endif
3042 #ifdef ROM_LCDRasterSubPanelConfigSet
3043 #define MAP_LCDRasterSubPanelConfigSet \
3044  ROM_LCDRasterSubPanelConfigSet
3045 #else
3046 #define MAP_LCDRasterSubPanelConfigSet \
3047  LCDRasterSubPanelConfigSet
3048 #endif
3049 #ifdef ROM_LCDRasterSubPanelDisable
3050 #define MAP_LCDRasterSubPanelDisable \
3051  ROM_LCDRasterSubPanelDisable
3052 #else
3053 #define MAP_LCDRasterSubPanelDisable \
3054  LCDRasterSubPanelDisable
3055 #endif
3056 #ifdef ROM_LCDRasterSubPanelEnable
3057 #define MAP_LCDRasterSubPanelEnable \
3058  ROM_LCDRasterSubPanelEnable
3059 #else
3060 #define MAP_LCDRasterSubPanelEnable \
3061  LCDRasterSubPanelEnable
3062 #endif
3063 #ifdef ROM_LCDRasterTimingSet
3064 #define MAP_LCDRasterTimingSet \
3065  ROM_LCDRasterTimingSet
3066 #else
3067 #define MAP_LCDRasterTimingSet \
3068  LCDRasterTimingSet
3069 #endif
3070 #ifdef ROM_LCDRasterEnabled
3071 #define MAP_LCDRasterEnabled \
3072  ROM_LCDRasterEnabled
3073 #else
3074 #define MAP_LCDRasterEnabled \
3075  LCDRasterEnabled
3076 #endif
3077 
3078 //*****************************************************************************
3079 //
3080 // Macros for the MPU API.
3081 //
3082 //*****************************************************************************
3083 #ifdef ROM_MPUEnable
3084 #define MAP_MPUEnable \
3085  ROM_MPUEnable
3086 #else
3087 #define MAP_MPUEnable \
3088  MPUEnable
3089 #endif
3090 #ifdef ROM_MPUDisable
3091 #define MAP_MPUDisable \
3092  ROM_MPUDisable
3093 #else
3094 #define MAP_MPUDisable \
3095  MPUDisable
3096 #endif
3097 #ifdef ROM_MPURegionCountGet
3098 #define MAP_MPURegionCountGet \
3099  ROM_MPURegionCountGet
3100 #else
3101 #define MAP_MPURegionCountGet \
3102  MPURegionCountGet
3103 #endif
3104 #ifdef ROM_MPURegionEnable
3105 #define MAP_MPURegionEnable \
3106  ROM_MPURegionEnable
3107 #else
3108 #define MAP_MPURegionEnable \
3109  MPURegionEnable
3110 #endif
3111 #ifdef ROM_MPURegionDisable
3112 #define MAP_MPURegionDisable \
3113  ROM_MPURegionDisable
3114 #else
3115 #define MAP_MPURegionDisable \
3116  MPURegionDisable
3117 #endif
3118 #ifdef ROM_MPURegionSet
3119 #define MAP_MPURegionSet \
3120  ROM_MPURegionSet
3121 #else
3122 #define MAP_MPURegionSet \
3123  MPURegionSet
3124 #endif
3125 #ifdef ROM_MPURegionGet
3126 #define MAP_MPURegionGet \
3127  ROM_MPURegionGet
3128 #else
3129 #define MAP_MPURegionGet \
3130  MPURegionGet
3131 #endif
3132 
3133 //*****************************************************************************
3134 //
3135 // Macros for the OneWire API.
3136 //
3137 //*****************************************************************************
3138 #ifdef ROM_OneWireIntStatus
3139 #define MAP_OneWireIntStatus \
3140  ROM_OneWireIntStatus
3141 #else
3142 #define MAP_OneWireIntStatus \
3143  OneWireIntStatus
3144 #endif
3145 #ifdef ROM_OneWireBusReset
3146 #define MAP_OneWireBusReset \
3147  ROM_OneWireBusReset
3148 #else
3149 #define MAP_OneWireBusReset \
3150  OneWireBusReset
3151 #endif
3152 #ifdef ROM_OneWireBusStatus
3153 #define MAP_OneWireBusStatus \
3154  ROM_OneWireBusStatus
3155 #else
3156 #define MAP_OneWireBusStatus \
3157  OneWireBusStatus
3158 #endif
3159 #ifdef ROM_OneWireDataGet
3160 #define MAP_OneWireDataGet \
3161  ROM_OneWireDataGet
3162 #else
3163 #define MAP_OneWireDataGet \
3164  OneWireDataGet
3165 #endif
3166 #ifdef ROM_OneWireDataGetNonBlocking
3167 #define MAP_OneWireDataGetNonBlocking \
3168  ROM_OneWireDataGetNonBlocking
3169 #else
3170 #define MAP_OneWireDataGetNonBlocking \
3171  OneWireDataGetNonBlocking
3172 #endif
3173 #ifdef ROM_OneWireInit
3174 #define MAP_OneWireInit \
3175  ROM_OneWireInit
3176 #else
3177 #define MAP_OneWireInit \
3178  OneWireInit
3179 #endif
3180 #ifdef ROM_OneWireIntClear
3181 #define MAP_OneWireIntClear \
3182  ROM_OneWireIntClear
3183 #else
3184 #define MAP_OneWireIntClear \
3185  OneWireIntClear
3186 #endif
3187 #ifdef ROM_OneWireIntDisable
3188 #define MAP_OneWireIntDisable \
3189  ROM_OneWireIntDisable
3190 #else
3191 #define MAP_OneWireIntDisable \
3192  OneWireIntDisable
3193 #endif
3194 #ifdef ROM_OneWireIntEnable
3195 #define MAP_OneWireIntEnable \
3196  ROM_OneWireIntEnable
3197 #else
3198 #define MAP_OneWireIntEnable \
3199  OneWireIntEnable
3200 #endif
3201 #ifdef ROM_OneWireTransaction
3202 #define MAP_OneWireTransaction \
3203  ROM_OneWireTransaction
3204 #else
3205 #define MAP_OneWireTransaction \
3206  OneWireTransaction
3207 #endif
3208 #ifdef ROM_OneWireDMADisable
3209 #define MAP_OneWireDMADisable \
3210  ROM_OneWireDMADisable
3211 #else
3212 #define MAP_OneWireDMADisable \
3213  OneWireDMADisable
3214 #endif
3215 #ifdef ROM_OneWireDMAEnable
3216 #define MAP_OneWireDMAEnable \
3217  ROM_OneWireDMAEnable
3218 #else
3219 #define MAP_OneWireDMAEnable \
3220  OneWireDMAEnable
3221 #endif
3222 
3223 //*****************************************************************************
3224 //
3225 // Macros for the PWM API.
3226 //
3227 //*****************************************************************************
3228 #ifdef ROM_PWMPulseWidthSet
3229 #define MAP_PWMPulseWidthSet \
3230  ROM_PWMPulseWidthSet
3231 #else
3232 #define MAP_PWMPulseWidthSet \
3233  PWMPulseWidthSet
3234 #endif
3235 #ifdef ROM_PWMGenConfigure
3236 #define MAP_PWMGenConfigure \
3237  ROM_PWMGenConfigure
3238 #else
3239 #define MAP_PWMGenConfigure \
3240  PWMGenConfigure
3241 #endif
3242 #ifdef ROM_PWMGenPeriodSet
3243 #define MAP_PWMGenPeriodSet \
3244  ROM_PWMGenPeriodSet
3245 #else
3246 #define MAP_PWMGenPeriodSet \
3247  PWMGenPeriodSet
3248 #endif
3249 #ifdef ROM_PWMGenPeriodGet
3250 #define MAP_PWMGenPeriodGet \
3251  ROM_PWMGenPeriodGet
3252 #else
3253 #define MAP_PWMGenPeriodGet \
3254  PWMGenPeriodGet
3255 #endif
3256 #ifdef ROM_PWMGenEnable
3257 #define MAP_PWMGenEnable \
3258  ROM_PWMGenEnable
3259 #else
3260 #define MAP_PWMGenEnable \
3261  PWMGenEnable
3262 #endif
3263 #ifdef ROM_PWMGenDisable
3264 #define MAP_PWMGenDisable \
3265  ROM_PWMGenDisable
3266 #else
3267 #define MAP_PWMGenDisable \
3268  PWMGenDisable
3269 #endif
3270 #ifdef ROM_PWMPulseWidthGet
3271 #define MAP_PWMPulseWidthGet \
3272  ROM_PWMPulseWidthGet
3273 #else
3274 #define MAP_PWMPulseWidthGet \
3275  PWMPulseWidthGet
3276 #endif
3277 #ifdef ROM_PWMDeadBandEnable
3278 #define MAP_PWMDeadBandEnable \
3279  ROM_PWMDeadBandEnable
3280 #else
3281 #define MAP_PWMDeadBandEnable \
3282  PWMDeadBandEnable
3283 #endif
3284 #ifdef ROM_PWMDeadBandDisable
3285 #define MAP_PWMDeadBandDisable \
3286  ROM_PWMDeadBandDisable
3287 #else
3288 #define MAP_PWMDeadBandDisable \
3289  PWMDeadBandDisable
3290 #endif
3291 #ifdef ROM_PWMSyncUpdate
3292 #define MAP_PWMSyncUpdate \
3293  ROM_PWMSyncUpdate
3294 #else
3295 #define MAP_PWMSyncUpdate \
3296  PWMSyncUpdate
3297 #endif
3298 #ifdef ROM_PWMSyncTimeBase
3299 #define MAP_PWMSyncTimeBase \
3300  ROM_PWMSyncTimeBase
3301 #else
3302 #define MAP_PWMSyncTimeBase \
3303  PWMSyncTimeBase
3304 #endif
3305 #ifdef ROM_PWMOutputState
3306 #define MAP_PWMOutputState \
3307  ROM_PWMOutputState
3308 #else
3309 #define MAP_PWMOutputState \
3310  PWMOutputState
3311 #endif
3312 #ifdef ROM_PWMOutputInvert
3313 #define MAP_PWMOutputInvert \
3314  ROM_PWMOutputInvert
3315 #else
3316 #define MAP_PWMOutputInvert \
3317  PWMOutputInvert
3318 #endif
3319 #ifdef ROM_PWMOutputFault
3320 #define MAP_PWMOutputFault \
3321  ROM_PWMOutputFault
3322 #else
3323 #define MAP_PWMOutputFault \
3324  PWMOutputFault
3325 #endif
3326 #ifdef ROM_PWMGenIntTrigEnable
3327 #define MAP_PWMGenIntTrigEnable \
3328  ROM_PWMGenIntTrigEnable
3329 #else
3330 #define MAP_PWMGenIntTrigEnable \
3331  PWMGenIntTrigEnable
3332 #endif
3333 #ifdef ROM_PWMGenIntTrigDisable
3334 #define MAP_PWMGenIntTrigDisable \
3335  ROM_PWMGenIntTrigDisable
3336 #else
3337 #define MAP_PWMGenIntTrigDisable \
3338  PWMGenIntTrigDisable
3339 #endif
3340 #ifdef ROM_PWMGenIntStatus
3341 #define MAP_PWMGenIntStatus \
3342  ROM_PWMGenIntStatus
3343 #else
3344 #define MAP_PWMGenIntStatus \
3345  PWMGenIntStatus
3346 #endif
3347 #ifdef ROM_PWMGenIntClear
3348 #define MAP_PWMGenIntClear \
3349  ROM_PWMGenIntClear
3350 #else
3351 #define MAP_PWMGenIntClear \
3352  PWMGenIntClear
3353 #endif
3354 #ifdef ROM_PWMIntEnable
3355 #define MAP_PWMIntEnable \
3356  ROM_PWMIntEnable
3357 #else
3358 #define MAP_PWMIntEnable \
3359  PWMIntEnable
3360 #endif
3361 #ifdef ROM_PWMIntDisable
3362 #define MAP_PWMIntDisable \
3363  ROM_PWMIntDisable
3364 #else
3365 #define MAP_PWMIntDisable \
3366  PWMIntDisable
3367 #endif
3368 #ifdef ROM_PWMIntStatus
3369 #define MAP_PWMIntStatus \
3370  ROM_PWMIntStatus
3371 #else
3372 #define MAP_PWMIntStatus \
3373  PWMIntStatus
3374 #endif
3375 #ifdef ROM_PWMOutputFaultLevel
3376 #define MAP_PWMOutputFaultLevel \
3377  ROM_PWMOutputFaultLevel
3378 #else
3379 #define MAP_PWMOutputFaultLevel \
3380  PWMOutputFaultLevel
3381 #endif
3382 #ifdef ROM_PWMFaultIntClearExt
3383 #define MAP_PWMFaultIntClearExt \
3384  ROM_PWMFaultIntClearExt
3385 #else
3386 #define MAP_PWMFaultIntClearExt \
3387  PWMFaultIntClearExt
3388 #endif
3389 #ifdef ROM_PWMGenFaultConfigure
3390 #define MAP_PWMGenFaultConfigure \
3391  ROM_PWMGenFaultConfigure
3392 #else
3393 #define MAP_PWMGenFaultConfigure \
3394  PWMGenFaultConfigure
3395 #endif
3396 #ifdef ROM_PWMGenFaultTriggerSet
3397 #define MAP_PWMGenFaultTriggerSet \
3398  ROM_PWMGenFaultTriggerSet
3399 #else
3400 #define MAP_PWMGenFaultTriggerSet \
3401  PWMGenFaultTriggerSet
3402 #endif
3403 #ifdef ROM_PWMGenFaultTriggerGet
3404 #define MAP_PWMGenFaultTriggerGet \
3405  ROM_PWMGenFaultTriggerGet
3406 #else
3407 #define MAP_PWMGenFaultTriggerGet \
3408  PWMGenFaultTriggerGet
3409 #endif
3410 #ifdef ROM_PWMGenFaultStatus
3411 #define MAP_PWMGenFaultStatus \
3412  ROM_PWMGenFaultStatus
3413 #else
3414 #define MAP_PWMGenFaultStatus \
3415  PWMGenFaultStatus
3416 #endif
3417 #ifdef ROM_PWMGenFaultClear
3418 #define MAP_PWMGenFaultClear \
3419  ROM_PWMGenFaultClear
3420 #else
3421 #define MAP_PWMGenFaultClear \
3422  PWMGenFaultClear
3423 #endif
3424 #ifdef ROM_PWMClockSet
3425 #define MAP_PWMClockSet \
3426  ROM_PWMClockSet
3427 #else
3428 #define MAP_PWMClockSet \
3429  PWMClockSet
3430 #endif
3431 #ifdef ROM_PWMClockGet
3432 #define MAP_PWMClockGet \
3433  ROM_PWMClockGet
3434 #else
3435 #define MAP_PWMClockGet \
3436  PWMClockGet
3437 #endif
3438 #ifdef ROM_PWMOutputUpdateMode
3439 #define MAP_PWMOutputUpdateMode \
3440  ROM_PWMOutputUpdateMode
3441 #else
3442 #define MAP_PWMOutputUpdateMode \
3443  PWMOutputUpdateMode
3444 #endif
3445 
3446 //*****************************************************************************
3447 //
3448 // Macros for the QEI API.
3449 //
3450 //*****************************************************************************
3451 #ifdef ROM_QEIPositionGet
3452 #define MAP_QEIPositionGet \
3453  ROM_QEIPositionGet
3454 #else
3455 #define MAP_QEIPositionGet \
3456  QEIPositionGet
3457 #endif
3458 #ifdef ROM_QEIEnable
3459 #define MAP_QEIEnable \
3460  ROM_QEIEnable
3461 #else
3462 #define MAP_QEIEnable \
3463  QEIEnable
3464 #endif
3465 #ifdef ROM_QEIDisable
3466 #define MAP_QEIDisable \
3467  ROM_QEIDisable
3468 #else
3469 #define MAP_QEIDisable \
3470  QEIDisable
3471 #endif
3472 #ifdef ROM_QEIConfigure
3473 #define MAP_QEIConfigure \
3474  ROM_QEIConfigure
3475 #else
3476 #define MAP_QEIConfigure \
3477  QEIConfigure
3478 #endif
3479 #ifdef ROM_QEIPositionSet
3480 #define MAP_QEIPositionSet \
3481  ROM_QEIPositionSet
3482 #else
3483 #define MAP_QEIPositionSet \
3484  QEIPositionSet
3485 #endif
3486 #ifdef ROM_QEIDirectionGet
3487 #define MAP_QEIDirectionGet \
3488  ROM_QEIDirectionGet
3489 #else
3490 #define MAP_QEIDirectionGet \
3491  QEIDirectionGet
3492 #endif
3493 #ifdef ROM_QEIErrorGet
3494 #define MAP_QEIErrorGet \
3495  ROM_QEIErrorGet
3496 #else
3497 #define MAP_QEIErrorGet \
3498  QEIErrorGet
3499 #endif
3500 #ifdef ROM_QEIVelocityEnable
3501 #define MAP_QEIVelocityEnable \
3502  ROM_QEIVelocityEnable
3503 #else
3504 #define MAP_QEIVelocityEnable \
3505  QEIVelocityEnable
3506 #endif
3507 #ifdef ROM_QEIVelocityDisable
3508 #define MAP_QEIVelocityDisable \
3509  ROM_QEIVelocityDisable
3510 #else
3511 #define MAP_QEIVelocityDisable \
3512  QEIVelocityDisable
3513 #endif
3514 #ifdef ROM_QEIVelocityConfigure
3515 #define MAP_QEIVelocityConfigure \
3516  ROM_QEIVelocityConfigure
3517 #else
3518 #define MAP_QEIVelocityConfigure \
3519  QEIVelocityConfigure
3520 #endif
3521 #ifdef ROM_QEIVelocityGet
3522 #define MAP_QEIVelocityGet \
3523  ROM_QEIVelocityGet
3524 #else
3525 #define MAP_QEIVelocityGet \
3526  QEIVelocityGet
3527 #endif
3528 #ifdef ROM_QEIIntEnable
3529 #define MAP_QEIIntEnable \
3530  ROM_QEIIntEnable
3531 #else
3532 #define MAP_QEIIntEnable \
3533  QEIIntEnable
3534 #endif
3535 #ifdef ROM_QEIIntDisable
3536 #define MAP_QEIIntDisable \
3537  ROM_QEIIntDisable
3538 #else
3539 #define MAP_QEIIntDisable \
3540  QEIIntDisable
3541 #endif
3542 #ifdef ROM_QEIIntStatus
3543 #define MAP_QEIIntStatus \
3544  ROM_QEIIntStatus
3545 #else
3546 #define MAP_QEIIntStatus \
3547  QEIIntStatus
3548 #endif
3549 #ifdef ROM_QEIIntClear
3550 #define MAP_QEIIntClear \
3551  ROM_QEIIntClear
3552 #else
3553 #define MAP_QEIIntClear \
3554  QEIIntClear
3555 #endif
3556 
3557 //*****************************************************************************
3558 //
3559 // Macros for the SHAMD5 API.
3560 //
3561 //*****************************************************************************
3562 #ifdef ROM_SHAMD5IntStatus
3563 #define MAP_SHAMD5IntStatus \
3564  ROM_SHAMD5IntStatus
3565 #else
3566 #define MAP_SHAMD5IntStatus \
3567  SHAMD5IntStatus
3568 #endif
3569 #ifdef ROM_SHAMD5ConfigSet
3570 #define MAP_SHAMD5ConfigSet \
3571  ROM_SHAMD5ConfigSet
3572 #else
3573 #define MAP_SHAMD5ConfigSet \
3574  SHAMD5ConfigSet
3575 #endif
3576 #ifdef ROM_SHAMD5DataProcess
3577 #define MAP_SHAMD5DataProcess \
3578  ROM_SHAMD5DataProcess
3579 #else
3580 #define MAP_SHAMD5DataProcess \
3581  SHAMD5DataProcess
3582 #endif
3583 #ifdef ROM_SHAMD5DataWrite
3584 #define MAP_SHAMD5DataWrite \
3585  ROM_SHAMD5DataWrite
3586 #else
3587 #define MAP_SHAMD5DataWrite \
3588  SHAMD5DataWrite
3589 #endif
3590 #ifdef ROM_SHAMD5DataWriteNonBlocking
3591 #define MAP_SHAMD5DataWriteNonBlocking \
3592  ROM_SHAMD5DataWriteNonBlocking
3593 #else
3594 #define MAP_SHAMD5DataWriteNonBlocking \
3595  SHAMD5DataWriteNonBlocking
3596 #endif
3597 #ifdef ROM_SHAMD5DMADisable
3598 #define MAP_SHAMD5DMADisable \
3599  ROM_SHAMD5DMADisable
3600 #else
3601 #define MAP_SHAMD5DMADisable \
3602  SHAMD5DMADisable
3603 #endif
3604 #ifdef ROM_SHAMD5DMAEnable
3605 #define MAP_SHAMD5DMAEnable \
3606  ROM_SHAMD5DMAEnable
3607 #else
3608 #define MAP_SHAMD5DMAEnable \
3609  SHAMD5DMAEnable
3610 #endif
3611 #ifdef ROM_SHAMD5HashLengthSet
3612 #define MAP_SHAMD5HashLengthSet \
3613  ROM_SHAMD5HashLengthSet
3614 #else
3615 #define MAP_SHAMD5HashLengthSet \
3616  SHAMD5HashLengthSet
3617 #endif
3618 #ifdef ROM_SHAMD5HMACKeySet
3619 #define MAP_SHAMD5HMACKeySet \
3620  ROM_SHAMD5HMACKeySet
3621 #else
3622 #define MAP_SHAMD5HMACKeySet \
3623  SHAMD5HMACKeySet
3624 #endif
3625 #ifdef ROM_SHAMD5HMACPPKeyGenerate
3626 #define MAP_SHAMD5HMACPPKeyGenerate \
3627  ROM_SHAMD5HMACPPKeyGenerate
3628 #else
3629 #define MAP_SHAMD5HMACPPKeyGenerate \
3630  SHAMD5HMACPPKeyGenerate
3631 #endif
3632 #ifdef ROM_SHAMD5HMACPPKeySet
3633 #define MAP_SHAMD5HMACPPKeySet \
3634  ROM_SHAMD5HMACPPKeySet
3635 #else
3636 #define MAP_SHAMD5HMACPPKeySet \
3637  SHAMD5HMACPPKeySet
3638 #endif
3639 #ifdef ROM_SHAMD5HMACProcess
3640 #define MAP_SHAMD5HMACProcess \
3641  ROM_SHAMD5HMACProcess
3642 #else
3643 #define MAP_SHAMD5HMACProcess \
3644  SHAMD5HMACProcess
3645 #endif
3646 #ifdef ROM_SHAMD5IntClear
3647 #define MAP_SHAMD5IntClear \
3648  ROM_SHAMD5IntClear
3649 #else
3650 #define MAP_SHAMD5IntClear \
3651  SHAMD5IntClear
3652 #endif
3653 #ifdef ROM_SHAMD5IntDisable
3654 #define MAP_SHAMD5IntDisable \
3655  ROM_SHAMD5IntDisable
3656 #else
3657 #define MAP_SHAMD5IntDisable \
3658  SHAMD5IntDisable
3659 #endif
3660 #ifdef ROM_SHAMD5IntEnable
3661 #define MAP_SHAMD5IntEnable \
3662  ROM_SHAMD5IntEnable
3663 #else
3664 #define MAP_SHAMD5IntEnable \
3665  SHAMD5IntEnable
3666 #endif
3667 #ifdef ROM_SHAMD5Reset
3668 #define MAP_SHAMD5Reset \
3669  ROM_SHAMD5Reset
3670 #else
3671 #define MAP_SHAMD5Reset \
3672  SHAMD5Reset
3673 #endif
3674 #ifdef ROM_SHAMD5ResultRead
3675 #define MAP_SHAMD5ResultRead \
3676  ROM_SHAMD5ResultRead
3677 #else
3678 #define MAP_SHAMD5ResultRead \
3679  SHAMD5ResultRead
3680 #endif
3681 
3682 //*****************************************************************************
3683 //
3684 // Macros for the SMBus API.
3685 //
3686 //*****************************************************************************
3687 #ifdef ROM_SMBusMasterIntProcess
3688 #define MAP_SMBusMasterIntProcess \
3689  ROM_SMBusMasterIntProcess
3690 #else
3691 #define MAP_SMBusMasterIntProcess \
3692  SMBusMasterIntProcess
3693 #endif
3694 #ifdef ROM_SMBusARPDisable
3695 #define MAP_SMBusARPDisable \
3696  ROM_SMBusARPDisable
3697 #else
3698 #define MAP_SMBusARPDisable \
3699  SMBusARPDisable
3700 #endif
3701 #ifdef ROM_SMBusARPEnable
3702 #define MAP_SMBusARPEnable \
3703  ROM_SMBusARPEnable
3704 #else
3705 #define MAP_SMBusARPEnable \
3706  SMBusARPEnable
3707 #endif
3708 #ifdef ROM_SMBusARPUDIDPacketDecode
3709 #define MAP_SMBusARPUDIDPacketDecode \
3710  ROM_SMBusARPUDIDPacketDecode
3711 #else
3712 #define MAP_SMBusARPUDIDPacketDecode \
3713  SMBusARPUDIDPacketDecode
3714 #endif
3715 #ifdef ROM_SMBusARPUDIDPacketEncode
3716 #define MAP_SMBusARPUDIDPacketEncode \
3717  ROM_SMBusARPUDIDPacketEncode
3718 #else
3719 #define MAP_SMBusARPUDIDPacketEncode \
3720  SMBusARPUDIDPacketEncode
3721 #endif
3722 #ifdef ROM_SMBusMasterARPAssignAddress
3723 #define MAP_SMBusMasterARPAssignAddress \
3724  ROM_SMBusMasterARPAssignAddress
3725 #else
3726 #define MAP_SMBusMasterARPAssignAddress \
3727  SMBusMasterARPAssignAddress
3728 #endif
3729 #ifdef ROM_SMBusMasterARPGetUDIDDir
3730 #define MAP_SMBusMasterARPGetUDIDDir \
3731  ROM_SMBusMasterARPGetUDIDDir
3732 #else
3733 #define MAP_SMBusMasterARPGetUDIDDir \
3734  SMBusMasterARPGetUDIDDir
3735 #endif
3736 #ifdef ROM_SMBusMasterARPGetUDIDGen
3737 #define MAP_SMBusMasterARPGetUDIDGen \
3738  ROM_SMBusMasterARPGetUDIDGen
3739 #else
3740 #define MAP_SMBusMasterARPGetUDIDGen \
3741  SMBusMasterARPGetUDIDGen
3742 #endif
3743 #ifdef ROM_SMBusMasterARPNotifyMaster
3744 #define MAP_SMBusMasterARPNotifyMaster \
3745  ROM_SMBusMasterARPNotifyMaster
3746 #else
3747 #define MAP_SMBusMasterARPNotifyMaster \
3748  SMBusMasterARPNotifyMaster
3749 #endif
3750 #ifdef ROM_SMBusMasterARPPrepareToARP
3751 #define MAP_SMBusMasterARPPrepareToARP \
3752  ROM_SMBusMasterARPPrepareToARP
3753 #else
3754 #define MAP_SMBusMasterARPPrepareToARP \
3755  SMBusMasterARPPrepareToARP
3756 #endif
3757 #ifdef ROM_SMBusMasterARPResetDeviceDir
3758 #define MAP_SMBusMasterARPResetDeviceDir \
3759  ROM_SMBusMasterARPResetDeviceDir
3760 #else
3761 #define MAP_SMBusMasterARPResetDeviceDir \
3762  SMBusMasterARPResetDeviceDir
3763 #endif
3764 #ifdef ROM_SMBusMasterARPResetDeviceGen
3765 #define MAP_SMBusMasterARPResetDeviceGen \
3766  ROM_SMBusMasterARPResetDeviceGen
3767 #else
3768 #define MAP_SMBusMasterARPResetDeviceGen \
3769  SMBusMasterARPResetDeviceGen
3770 #endif
3771 #ifdef ROM_SMBusMasterBlockProcessCall
3772 #define MAP_SMBusMasterBlockProcessCall \
3773  ROM_SMBusMasterBlockProcessCall
3774 #else
3775 #define MAP_SMBusMasterBlockProcessCall \
3776  SMBusMasterBlockProcessCall
3777 #endif
3778 #ifdef ROM_SMBusMasterBlockRead
3779 #define MAP_SMBusMasterBlockRead \
3780  ROM_SMBusMasterBlockRead
3781 #else
3782 #define MAP_SMBusMasterBlockRead \
3783  SMBusMasterBlockRead
3784 #endif
3785 #ifdef ROM_SMBusMasterBlockWrite
3786 #define MAP_SMBusMasterBlockWrite \
3787  ROM_SMBusMasterBlockWrite
3788 #else
3789 #define MAP_SMBusMasterBlockWrite \
3790  SMBusMasterBlockWrite
3791 #endif
3792 #ifdef ROM_SMBusMasterByteReceive
3793 #define MAP_SMBusMasterByteReceive \
3794  ROM_SMBusMasterByteReceive
3795 #else
3796 #define MAP_SMBusMasterByteReceive \
3797  SMBusMasterByteReceive
3798 #endif
3799 #ifdef ROM_SMBusMasterByteSend
3800 #define MAP_SMBusMasterByteSend \
3801  ROM_SMBusMasterByteSend
3802 #else
3803 #define MAP_SMBusMasterByteSend \
3804  SMBusMasterByteSend
3805 #endif
3806 #ifdef ROM_SMBusMasterByteWordRead
3807 #define MAP_SMBusMasterByteWordRead \
3808  ROM_SMBusMasterByteWordRead
3809 #else
3810 #define MAP_SMBusMasterByteWordRead \
3811  SMBusMasterByteWordRead
3812 #endif
3813 #ifdef ROM_SMBusMasterByteWordWrite
3814 #define MAP_SMBusMasterByteWordWrite \
3815  ROM_SMBusMasterByteWordWrite
3816 #else
3817 #define MAP_SMBusMasterByteWordWrite \
3818  SMBusMasterByteWordWrite
3819 #endif
3820 #ifdef ROM_SMBusMasterHostNotify
3821 #define MAP_SMBusMasterHostNotify \
3822  ROM_SMBusMasterHostNotify
3823 #else
3824 #define MAP_SMBusMasterHostNotify \
3825  SMBusMasterHostNotify
3826 #endif
3827 #ifdef ROM_SMBusMasterI2CRead
3828 #define MAP_SMBusMasterI2CRead \
3829  ROM_SMBusMasterI2CRead
3830 #else
3831 #define MAP_SMBusMasterI2CRead \
3832  SMBusMasterI2CRead
3833 #endif
3834 #ifdef ROM_SMBusMasterI2CWrite
3835 #define MAP_SMBusMasterI2CWrite \
3836  ROM_SMBusMasterI2CWrite
3837 #else
3838 #define MAP_SMBusMasterI2CWrite \
3839  SMBusMasterI2CWrite
3840 #endif
3841 #ifdef ROM_SMBusMasterI2CWriteRead
3842 #define MAP_SMBusMasterI2CWriteRead \
3843  ROM_SMBusMasterI2CWriteRead
3844 #else
3845 #define MAP_SMBusMasterI2CWriteRead \
3846  SMBusMasterI2CWriteRead
3847 #endif
3848 #ifdef ROM_SMBusMasterInit
3849 #define MAP_SMBusMasterInit \
3850  ROM_SMBusMasterInit
3851 #else
3852 #define MAP_SMBusMasterInit \
3853  SMBusMasterInit
3854 #endif
3855 #ifdef ROM_SMBusMasterIntEnable
3856 #define MAP_SMBusMasterIntEnable \
3857  ROM_SMBusMasterIntEnable
3858 #else
3859 #define MAP_SMBusMasterIntEnable \
3860  SMBusMasterIntEnable
3861 #endif
3862 #ifdef ROM_SMBusMasterProcessCall
3863 #define MAP_SMBusMasterProcessCall \
3864  ROM_SMBusMasterProcessCall
3865 #else
3866 #define MAP_SMBusMasterProcessCall \
3867  SMBusMasterProcessCall
3868 #endif
3869 #ifdef ROM_SMBusMasterQuickCommand
3870 #define MAP_SMBusMasterQuickCommand \
3871  ROM_SMBusMasterQuickCommand
3872 #else
3873 #define MAP_SMBusMasterQuickCommand \
3874  SMBusMasterQuickCommand
3875 #endif
3876 #ifdef ROM_SMBusPECDisable
3877 #define MAP_SMBusPECDisable \
3878  ROM_SMBusPECDisable
3879 #else
3880 #define MAP_SMBusPECDisable \
3881  SMBusPECDisable
3882 #endif
3883 #ifdef ROM_SMBusPECEnable
3884 #define MAP_SMBusPECEnable \
3885  ROM_SMBusPECEnable
3886 #else
3887 #define MAP_SMBusPECEnable \
3888  SMBusPECEnable
3889 #endif
3890 #ifdef ROM_SMBusRxPacketSizeGet
3891 #define MAP_SMBusRxPacketSizeGet \
3892  ROM_SMBusRxPacketSizeGet
3893 #else
3894 #define MAP_SMBusRxPacketSizeGet \
3895  SMBusRxPacketSizeGet
3896 #endif
3897 #ifdef ROM_SMBusSlaveACKSend
3898 #define MAP_SMBusSlaveACKSend \
3899  ROM_SMBusSlaveACKSend
3900 #else
3901 #define MAP_SMBusSlaveACKSend \
3902  SMBusSlaveACKSend
3903 #endif
3904 #ifdef ROM_SMBusSlaveAddressSet
3905 #define MAP_SMBusSlaveAddressSet \
3906  ROM_SMBusSlaveAddressSet
3907 #else
3908 #define MAP_SMBusSlaveAddressSet \
3909  SMBusSlaveAddressSet
3910 #endif
3911 #ifdef ROM_SMBusSlaveARPFlagARGet
3912 #define MAP_SMBusSlaveARPFlagARGet \
3913  ROM_SMBusSlaveARPFlagARGet
3914 #else
3915 #define MAP_SMBusSlaveARPFlagARGet \
3916  SMBusSlaveARPFlagARGet
3917 #endif
3918 #ifdef ROM_SMBusSlaveARPFlagARSet
3919 #define MAP_SMBusSlaveARPFlagARSet \
3920  ROM_SMBusSlaveARPFlagARSet
3921 #else
3922 #define MAP_SMBusSlaveARPFlagARSet \
3923  SMBusSlaveARPFlagARSet
3924 #endif
3925 #ifdef ROM_SMBusSlaveARPFlagAVGet
3926 #define MAP_SMBusSlaveARPFlagAVGet \
3927  ROM_SMBusSlaveARPFlagAVGet
3928 #else
3929 #define MAP_SMBusSlaveARPFlagAVGet \
3930  SMBusSlaveARPFlagAVGet
3931 #endif
3932 #ifdef ROM_SMBusSlaveARPFlagAVSet
3933 #define MAP_SMBusSlaveARPFlagAVSet \
3934  ROM_SMBusSlaveARPFlagAVSet
3935 #else
3936 #define MAP_SMBusSlaveARPFlagAVSet \
3937  SMBusSlaveARPFlagAVSet
3938 #endif
3939 #ifdef ROM_SMBusSlaveBlockTransferDisable
3940 #define MAP_SMBusSlaveBlockTransferDisable \
3941  ROM_SMBusSlaveBlockTransferDisable
3942 #else
3943 #define MAP_SMBusSlaveBlockTransferDisable \
3944  SMBusSlaveBlockTransferDisable
3945 #endif
3946 #ifdef ROM_SMBusSlaveBlockTransferEnable
3947 #define MAP_SMBusSlaveBlockTransferEnable \
3948  ROM_SMBusSlaveBlockTransferEnable
3949 #else
3950 #define MAP_SMBusSlaveBlockTransferEnable \
3951  SMBusSlaveBlockTransferEnable
3952 #endif
3953 #ifdef ROM_SMBusSlaveCommandGet
3954 #define MAP_SMBusSlaveCommandGet \
3955  ROM_SMBusSlaveCommandGet
3956 #else
3957 #define MAP_SMBusSlaveCommandGet \
3958  SMBusSlaveCommandGet
3959 #endif
3960 #ifdef ROM_SMBusSlaveI2CDisable
3961 #define MAP_SMBusSlaveI2CDisable \
3962  ROM_SMBusSlaveI2CDisable
3963 #else
3964 #define MAP_SMBusSlaveI2CDisable \
3965  SMBusSlaveI2CDisable
3966 #endif
3967 #ifdef ROM_SMBusSlaveI2CEnable
3968 #define MAP_SMBusSlaveI2CEnable \
3969  ROM_SMBusSlaveI2CEnable
3970 #else
3971 #define MAP_SMBusSlaveI2CEnable \
3972  SMBusSlaveI2CEnable
3973 #endif
3974 #ifdef ROM_SMBusSlaveInit
3975 #define MAP_SMBusSlaveInit \
3976  ROM_SMBusSlaveInit
3977 #else
3978 #define MAP_SMBusSlaveInit \
3979  SMBusSlaveInit
3980 #endif
3981 #ifdef ROM_SMBusSlaveIntAddressGet
3982 #define MAP_SMBusSlaveIntAddressGet \
3983  ROM_SMBusSlaveIntAddressGet
3984 #else
3985 #define MAP_SMBusSlaveIntAddressGet \
3986  SMBusSlaveIntAddressGet
3987 #endif
3988 #ifdef ROM_SMBusSlaveIntEnable
3989 #define MAP_SMBusSlaveIntEnable \
3990  ROM_SMBusSlaveIntEnable
3991 #else
3992 #define MAP_SMBusSlaveIntEnable \
3993  SMBusSlaveIntEnable
3994 #endif
3995 #ifdef ROM_SMBusSlaveIntProcess
3996 #define MAP_SMBusSlaveIntProcess \
3997  ROM_SMBusSlaveIntProcess
3998 #else
3999 #define MAP_SMBusSlaveIntProcess \
4000  SMBusSlaveIntProcess
4001 #endif
4002 #ifdef ROM_SMBusSlaveManualACKDisable
4003 #define MAP_SMBusSlaveManualACKDisable \
4004  ROM_SMBusSlaveManualACKDisable
4005 #else
4006 #define MAP_SMBusSlaveManualACKDisable \
4007  SMBusSlaveManualACKDisable
4008 #endif
4009 #ifdef ROM_SMBusSlaveManualACKEnable
4010 #define MAP_SMBusSlaveManualACKEnable \
4011  ROM_SMBusSlaveManualACKEnable
4012 #else
4013 #define MAP_SMBusSlaveManualACKEnable \
4014  SMBusSlaveManualACKEnable
4015 #endif
4016 #ifdef ROM_SMBusSlaveManualACKStatusGet
4017 #define MAP_SMBusSlaveManualACKStatusGet \
4018  ROM_SMBusSlaveManualACKStatusGet
4019 #else
4020 #define MAP_SMBusSlaveManualACKStatusGet \
4021  SMBusSlaveManualACKStatusGet
4022 #endif
4023 #ifdef ROM_SMBusSlaveProcessCallDisable
4024 #define MAP_SMBusSlaveProcessCallDisable \
4025  ROM_SMBusSlaveProcessCallDisable
4026 #else
4027 #define MAP_SMBusSlaveProcessCallDisable \
4028  SMBusSlaveProcessCallDisable
4029 #endif
4030 #ifdef ROM_SMBusSlaveProcessCallEnable
4031 #define MAP_SMBusSlaveProcessCallEnable \
4032  ROM_SMBusSlaveProcessCallEnable
4033 #else
4034 #define MAP_SMBusSlaveProcessCallEnable \
4035  SMBusSlaveProcessCallEnable
4036 #endif
4037 #ifdef ROM_SMBusSlaveRxBufferSet
4038 #define MAP_SMBusSlaveRxBufferSet \
4039  ROM_SMBusSlaveRxBufferSet
4040 #else
4041 #define MAP_SMBusSlaveRxBufferSet \
4042  SMBusSlaveRxBufferSet
4043 #endif
4044 #ifdef ROM_SMBusSlaveTransferInit
4045 #define MAP_SMBusSlaveTransferInit \
4046  ROM_SMBusSlaveTransferInit
4047 #else
4048 #define MAP_SMBusSlaveTransferInit \
4049  SMBusSlaveTransferInit
4050 #endif
4051 #ifdef ROM_SMBusSlaveTxBufferSet
4052 #define MAP_SMBusSlaveTxBufferSet \
4053  ROM_SMBusSlaveTxBufferSet
4054 #else
4055 #define MAP_SMBusSlaveTxBufferSet \
4056  SMBusSlaveTxBufferSet
4057 #endif
4058 #ifdef ROM_SMBusSlaveUDIDSet
4059 #define MAP_SMBusSlaveUDIDSet \
4060  ROM_SMBusSlaveUDIDSet
4061 #else
4062 #define MAP_SMBusSlaveUDIDSet \
4063  SMBusSlaveUDIDSet
4064 #endif
4065 #ifdef ROM_SMBusStatusGet
4066 #define MAP_SMBusStatusGet \
4067  ROM_SMBusStatusGet
4068 #else
4069 #define MAP_SMBusStatusGet \
4070  SMBusStatusGet
4071 #endif
4072 #ifdef ROM_SMBusSlaveDataSend
4073 #define MAP_SMBusSlaveDataSend \
4074  ROM_SMBusSlaveDataSend
4075 #else
4076 #define MAP_SMBusSlaveDataSend \
4077  SMBusSlaveDataSend
4078 #endif
4079 #ifdef ROM_SMBusFIFOEnable
4080 #define MAP_SMBusFIFOEnable \
4081  ROM_SMBusFIFOEnable
4082 #else
4083 #define MAP_SMBusFIFOEnable \
4084  SMBusFIFOEnable
4085 #endif
4086 #ifdef ROM_SMBusFIFODisable
4087 #define MAP_SMBusFIFODisable \
4088  ROM_SMBusFIFODisable
4089 #else
4090 #define MAP_SMBusFIFODisable \
4091  SMBusFIFODisable
4092 #endif
4093 #ifdef ROM_SMBusDMAEnable
4094 #define MAP_SMBusDMAEnable \
4095  ROM_SMBusDMAEnable
4096 #else
4097 #define MAP_SMBusDMAEnable \
4098  SMBusDMAEnable
4099 #endif
4100 #ifdef ROM_SMBusDMADisable
4101 #define MAP_SMBusDMADisable \
4102  ROM_SMBusDMADisable
4103 #else
4104 #define MAP_SMBusDMADisable \
4105  SMBusDMADisable
4106 #endif
4107 
4108 //*****************************************************************************
4109 //
4110 // Macros for the SPIFlash API.
4111 //
4112 //*****************************************************************************
4113 #ifdef ROM_SPIFlashIntHandler
4114 #define MAP_SPIFlashIntHandler \
4115  ROM_SPIFlashIntHandler
4116 #else
4117 #define MAP_SPIFlashIntHandler \
4118  SPIFlashIntHandler
4119 #endif
4120 #ifdef ROM_SPIFlashInit
4121 #define MAP_SPIFlashInit \
4122  ROM_SPIFlashInit
4123 #else
4124 #define MAP_SPIFlashInit \
4125  SPIFlashInit
4126 #endif
4127 #ifdef ROM_SPIFlashWriteStatus
4128 #define MAP_SPIFlashWriteStatus \
4129  ROM_SPIFlashWriteStatus
4130 #else
4131 #define MAP_SPIFlashWriteStatus \
4132  SPIFlashWriteStatus
4133 #endif
4134 #ifdef ROM_SPIFlashPageProgram
4135 #define MAP_SPIFlashPageProgram \
4136  ROM_SPIFlashPageProgram
4137 #else
4138 #define MAP_SPIFlashPageProgram \
4139  SPIFlashPageProgram
4140 #endif
4141 #ifdef ROM_SPIFlashPageProgramNonBlocking
4142 #define MAP_SPIFlashPageProgramNonBlocking \
4143  ROM_SPIFlashPageProgramNonBlocking
4144 #else
4145 #define MAP_SPIFlashPageProgramNonBlocking \
4146  SPIFlashPageProgramNonBlocking
4147 #endif
4148 #ifdef ROM_SPIFlashRead
4149 #define MAP_SPIFlashRead \
4150  ROM_SPIFlashRead
4151 #else
4152 #define MAP_SPIFlashRead \
4153  SPIFlashRead
4154 #endif
4155 #ifdef ROM_SPIFlashReadNonBlocking
4156 #define MAP_SPIFlashReadNonBlocking \
4157  ROM_SPIFlashReadNonBlocking
4158 #else
4159 #define MAP_SPIFlashReadNonBlocking \
4160  SPIFlashReadNonBlocking
4161 #endif
4162 #ifdef ROM_SPIFlashWriteDisable
4163 #define MAP_SPIFlashWriteDisable \
4164  ROM_SPIFlashWriteDisable
4165 #else
4166 #define MAP_SPIFlashWriteDisable \
4167  SPIFlashWriteDisable
4168 #endif
4169 #ifdef ROM_SPIFlashReadStatus
4170 #define MAP_SPIFlashReadStatus \
4171  ROM_SPIFlashReadStatus
4172 #else
4173 #define MAP_SPIFlashReadStatus \
4174  SPIFlashReadStatus
4175 #endif
4176 #ifdef ROM_SPIFlashWriteEnable
4177 #define MAP_SPIFlashWriteEnable \
4178  ROM_SPIFlashWriteEnable
4179 #else
4180 #define MAP_SPIFlashWriteEnable \
4181  SPIFlashWriteEnable
4182 #endif
4183 #ifdef ROM_SPIFlashFastRead
4184 #define MAP_SPIFlashFastRead \
4185  ROM_SPIFlashFastRead
4186 #else
4187 #define MAP_SPIFlashFastRead \
4188  SPIFlashFastRead
4189 #endif
4190 #ifdef ROM_SPIFlashFastReadNonBlocking
4191 #define MAP_SPIFlashFastReadNonBlocking \
4192  ROM_SPIFlashFastReadNonBlocking
4193 #else
4194 #define MAP_SPIFlashFastReadNonBlocking \
4195  SPIFlashFastReadNonBlocking
4196 #endif
4197 #ifdef ROM_SPIFlashSectorErase
4198 #define MAP_SPIFlashSectorErase \
4199  ROM_SPIFlashSectorErase
4200 #else
4201 #define MAP_SPIFlashSectorErase \
4202  SPIFlashSectorErase
4203 #endif
4204 #ifdef ROM_SPIFlashDualRead
4205 #define MAP_SPIFlashDualRead \
4206  ROM_SPIFlashDualRead
4207 #else
4208 #define MAP_SPIFlashDualRead \
4209  SPIFlashDualRead
4210 #endif
4211 #ifdef ROM_SPIFlashDualReadNonBlocking
4212 #define MAP_SPIFlashDualReadNonBlocking \
4213  ROM_SPIFlashDualReadNonBlocking
4214 #else
4215 #define MAP_SPIFlashDualReadNonBlocking \
4216  SPIFlashDualReadNonBlocking
4217 #endif
4218 #ifdef ROM_SPIFlashBlockErase32
4219 #define MAP_SPIFlashBlockErase32 \
4220  ROM_SPIFlashBlockErase32
4221 #else
4222 #define MAP_SPIFlashBlockErase32 \
4223  SPIFlashBlockErase32
4224 #endif
4225 #ifdef ROM_SPIFlashQuadRead
4226 #define MAP_SPIFlashQuadRead \
4227  ROM_SPIFlashQuadRead
4228 #else
4229 #define MAP_SPIFlashQuadRead \
4230  SPIFlashQuadRead
4231 #endif
4232 #ifdef ROM_SPIFlashQuadReadNonBlocking
4233 #define MAP_SPIFlashQuadReadNonBlocking \
4234  ROM_SPIFlashQuadReadNonBlocking
4235 #else
4236 #define MAP_SPIFlashQuadReadNonBlocking \
4237  SPIFlashQuadReadNonBlocking
4238 #endif
4239 #ifdef ROM_SPIFlashReadID
4240 #define MAP_SPIFlashReadID \
4241  ROM_SPIFlashReadID
4242 #else
4243 #define MAP_SPIFlashReadID \
4244  SPIFlashReadID
4245 #endif
4246 #ifdef ROM_SPIFlashChipErase
4247 #define MAP_SPIFlashChipErase \
4248  ROM_SPIFlashChipErase
4249 #else
4250 #define MAP_SPIFlashChipErase \
4251  SPIFlashChipErase
4252 #endif
4253 #ifdef ROM_SPIFlashBlockErase64
4254 #define MAP_SPIFlashBlockErase64 \
4255  ROM_SPIFlashBlockErase64
4256 #else
4257 #define MAP_SPIFlashBlockErase64 \
4258  SPIFlashBlockErase64
4259 #endif
4260 
4261 //*****************************************************************************
4262 //
4263 // Macros for the SSI API.
4264 //
4265 //*****************************************************************************
4266 #ifdef ROM_SSIDataPut
4267 #define MAP_SSIDataPut \
4268  ROM_SSIDataPut
4269 #else
4270 #define MAP_SSIDataPut \
4271  SSIDataPut
4272 #endif
4273 #ifdef ROM_SSIConfigSetExpClk
4274 #define MAP_SSIConfigSetExpClk \
4275  ROM_SSIConfigSetExpClk
4276 #else
4277 #define MAP_SSIConfigSetExpClk \
4278  SSIConfigSetExpClk
4279 #endif
4280 #ifdef ROM_SSIEnable
4281 #define MAP_SSIEnable \
4282  ROM_SSIEnable
4283 #else
4284 #define MAP_SSIEnable \
4285  SSIEnable
4286 #endif
4287 #ifdef ROM_SSIDisable
4288 #define MAP_SSIDisable \
4289  ROM_SSIDisable
4290 #else
4291 #define MAP_SSIDisable \
4292  SSIDisable
4293 #endif
4294 #ifdef ROM_SSIIntEnable
4295 #define MAP_SSIIntEnable \
4296  ROM_SSIIntEnable
4297 #else
4298 #define MAP_SSIIntEnable \
4299  SSIIntEnable
4300 #endif
4301 #ifdef ROM_SSIIntDisable
4302 #define MAP_SSIIntDisable \
4303  ROM_SSIIntDisable
4304 #else
4305 #define MAP_SSIIntDisable \
4306  SSIIntDisable
4307 #endif
4308 #ifdef ROM_SSIIntStatus
4309 #define MAP_SSIIntStatus \
4310  ROM_SSIIntStatus
4311 #else
4312 #define MAP_SSIIntStatus \
4313  SSIIntStatus
4314 #endif
4315 #ifdef ROM_SSIIntClear
4316 #define MAP_SSIIntClear \
4317  ROM_SSIIntClear
4318 #else
4319 #define MAP_SSIIntClear \
4320  SSIIntClear
4321 #endif
4322 #ifdef ROM_SSIDataPutNonBlocking
4323 #define MAP_SSIDataPutNonBlocking \
4324  ROM_SSIDataPutNonBlocking
4325 #else
4326 #define MAP_SSIDataPutNonBlocking \
4327  SSIDataPutNonBlocking
4328 #endif
4329 #ifdef ROM_SSIDataGet
4330 #define MAP_SSIDataGet \
4331  ROM_SSIDataGet
4332 #else
4333 #define MAP_SSIDataGet \
4334  SSIDataGet
4335 #endif
4336 #ifdef ROM_SSIDataGetNonBlocking
4337 #define MAP_SSIDataGetNonBlocking \
4338  ROM_SSIDataGetNonBlocking
4339 #else
4340 #define MAP_SSIDataGetNonBlocking \
4341  SSIDataGetNonBlocking
4342 #endif
4343 #ifdef ROM_SSIDMAEnable
4344 #define MAP_SSIDMAEnable \
4345  ROM_SSIDMAEnable
4346 #else
4347 #define MAP_SSIDMAEnable \
4348  SSIDMAEnable
4349 #endif
4350 #ifdef ROM_SSIDMADisable
4351 #define MAP_SSIDMADisable \
4352  ROM_SSIDMADisable
4353 #else
4354 #define MAP_SSIDMADisable \
4355  SSIDMADisable
4356 #endif
4357 #ifdef ROM_SSIBusy
4358 #define MAP_SSIBusy \
4359  ROM_SSIBusy
4360 #else
4361 #define MAP_SSIBusy \
4362  SSIBusy
4363 #endif
4364 #ifdef ROM_SSIClockSourceGet
4365 #define MAP_SSIClockSourceGet \
4366  ROM_SSIClockSourceGet
4367 #else
4368 #define MAP_SSIClockSourceGet \
4369  SSIClockSourceGet
4370 #endif
4371 #ifdef ROM_SSIClockSourceSet
4372 #define MAP_SSIClockSourceSet \
4373  ROM_SSIClockSourceSet
4374 #else
4375 #define MAP_SSIClockSourceSet \
4376  SSIClockSourceSet
4377 #endif
4378 #ifdef ROM_SSIAdvModeSet
4379 #define MAP_SSIAdvModeSet \
4380  ROM_SSIAdvModeSet
4381 #else
4382 #define MAP_SSIAdvModeSet \
4383  SSIAdvModeSet
4384 #endif
4385 #ifdef ROM_SSIAdvDataPutFrameEnd
4386 #define MAP_SSIAdvDataPutFrameEnd \
4387  ROM_SSIAdvDataPutFrameEnd
4388 #else
4389 #define MAP_SSIAdvDataPutFrameEnd \
4390  SSIAdvDataPutFrameEnd
4391 #endif
4392 #ifdef ROM_SSIAdvDataPutFrameEndNonBlocking
4393 #define MAP_SSIAdvDataPutFrameEndNonBlocking \
4394  ROM_SSIAdvDataPutFrameEndNonBlocking
4395 #else
4396 #define MAP_SSIAdvDataPutFrameEndNonBlocking \
4397  SSIAdvDataPutFrameEndNonBlocking
4398 #endif
4399 #ifdef ROM_SSIAdvFrameHoldEnable
4400 #define MAP_SSIAdvFrameHoldEnable \
4401  ROM_SSIAdvFrameHoldEnable
4402 #else
4403 #define MAP_SSIAdvFrameHoldEnable \
4404  SSIAdvFrameHoldEnable
4405 #endif
4406 #ifdef ROM_SSIAdvFrameHoldDisable
4407 #define MAP_SSIAdvFrameHoldDisable \
4408  ROM_SSIAdvFrameHoldDisable
4409 #else
4410 #define MAP_SSIAdvFrameHoldDisable \
4411  SSIAdvFrameHoldDisable
4412 #endif
4413 
4414 //*****************************************************************************
4415 //
4416 // Macros for the SysCtl API.
4417 //
4418 //*****************************************************************************
4419 #ifdef ROM_SysCtlSleep
4420 #define MAP_SysCtlSleep \
4421  ROM_SysCtlSleep
4422 #else
4423 #define MAP_SysCtlSleep \
4424  SysCtlSleep
4425 #endif
4426 #ifdef ROM_SysCtlSleepPowerSet
4427 #define MAP_SysCtlSleepPowerSet \
4428  ROM_SysCtlSleepPowerSet
4429 #else
4430 #define MAP_SysCtlSleepPowerSet \
4431  SysCtlSleepPowerSet
4432 #endif
4433 #ifdef ROM_SysCtlDeepSleepPowerSet
4434 #define MAP_SysCtlDeepSleepPowerSet \
4435  ROM_SysCtlDeepSleepPowerSet
4436 #else
4437 #define MAP_SysCtlDeepSleepPowerSet \
4438  SysCtlDeepSleepPowerSet
4439 #endif
4440 #ifdef ROM_SysCtlSRAMSizeGet
4441 #define MAP_SysCtlSRAMSizeGet \
4442  ROM_SysCtlSRAMSizeGet
4443 #else
4444 #define MAP_SysCtlSRAMSizeGet \
4445  SysCtlSRAMSizeGet
4446 #endif
4447 #ifdef ROM_SysCtlFlashSizeGet
4448 #define MAP_SysCtlFlashSizeGet \
4449  ROM_SysCtlFlashSizeGet
4450 #else
4451 #define MAP_SysCtlFlashSizeGet \
4452  SysCtlFlashSizeGet
4453 #endif
4454 #ifdef ROM_SysCtlPeripheralPresent
4455 #define MAP_SysCtlPeripheralPresent \
4456  ROM_SysCtlPeripheralPresent
4457 #else
4458 #define MAP_SysCtlPeripheralPresent \
4459  SysCtlPeripheralPresent
4460 #endif
4461 #ifdef ROM_SysCtlPeripheralReset
4462 #define MAP_SysCtlPeripheralReset \
4463  ROM_SysCtlPeripheralReset
4464 #else
4465 #define MAP_SysCtlPeripheralReset \
4466  SysCtlPeripheralReset
4467 #endif
4468 #ifdef ROM_SysCtlPeripheralEnable
4469 #define MAP_SysCtlPeripheralEnable \
4470  ROM_SysCtlPeripheralEnable
4471 #else
4472 #define MAP_SysCtlPeripheralEnable \
4473  SysCtlPeripheralEnable
4474 #endif
4475 #ifdef ROM_SysCtlPeripheralDisable
4476 #define MAP_SysCtlPeripheralDisable \
4477  ROM_SysCtlPeripheralDisable
4478 #else
4479 #define MAP_SysCtlPeripheralDisable \
4480  SysCtlPeripheralDisable
4481 #endif
4482 #ifdef ROM_SysCtlPeripheralSleepEnable
4483 #define MAP_SysCtlPeripheralSleepEnable \
4484  ROM_SysCtlPeripheralSleepEnable
4485 #else
4486 #define MAP_SysCtlPeripheralSleepEnable \
4487  SysCtlPeripheralSleepEnable
4488 #endif
4489 #ifdef ROM_SysCtlPeripheralSleepDisable
4490 #define MAP_SysCtlPeripheralSleepDisable \
4491  ROM_SysCtlPeripheralSleepDisable
4492 #else
4493 #define MAP_SysCtlPeripheralSleepDisable \
4494  SysCtlPeripheralSleepDisable
4495 #endif
4496 #ifdef ROM_SysCtlPeripheralDeepSleepEnable
4497 #define MAP_SysCtlPeripheralDeepSleepEnable \
4498  ROM_SysCtlPeripheralDeepSleepEnable
4499 #else
4500 #define MAP_SysCtlPeripheralDeepSleepEnable \
4501  SysCtlPeripheralDeepSleepEnable
4502 #endif
4503 #ifdef ROM_SysCtlPeripheralDeepSleepDisable
4504 #define MAP_SysCtlPeripheralDeepSleepDisable \
4505  ROM_SysCtlPeripheralDeepSleepDisable
4506 #else
4507 #define MAP_SysCtlPeripheralDeepSleepDisable \
4508  SysCtlPeripheralDeepSleepDisable
4509 #endif
4510 #ifdef ROM_SysCtlPeripheralClockGating
4511 #define MAP_SysCtlPeripheralClockGating \
4512  ROM_SysCtlPeripheralClockGating
4513 #else
4514 #define MAP_SysCtlPeripheralClockGating \
4515  SysCtlPeripheralClockGating
4516 #endif
4517 #ifdef ROM_SysCtlIntEnable
4518 #define MAP_SysCtlIntEnable \
4519  ROM_SysCtlIntEnable
4520 #else
4521 #define MAP_SysCtlIntEnable \
4522  SysCtlIntEnable
4523 #endif
4524 #ifdef ROM_SysCtlIntDisable
4525 #define MAP_SysCtlIntDisable \
4526  ROM_SysCtlIntDisable
4527 #else
4528 #define MAP_SysCtlIntDisable \
4529  SysCtlIntDisable
4530 #endif
4531 #ifdef ROM_SysCtlIntClear
4532 #define MAP_SysCtlIntClear \
4533  ROM_SysCtlIntClear
4534 #else
4535 #define MAP_SysCtlIntClear \
4536  SysCtlIntClear
4537 #endif
4538 #ifdef ROM_SysCtlIntStatus
4539 #define MAP_SysCtlIntStatus \
4540  ROM_SysCtlIntStatus
4541 #else
4542 #define MAP_SysCtlIntStatus \
4543  SysCtlIntStatus
4544 #endif
4545 #ifdef ROM_SysCtlLDODeepSleepSet
4546 #define MAP_SysCtlLDODeepSleepSet \
4547  ROM_SysCtlLDODeepSleepSet
4548 #else
4549 #define MAP_SysCtlLDODeepSleepSet \
4550  SysCtlLDODeepSleepSet
4551 #endif
4552 #ifdef ROM_SysCtlReset
4553 #define MAP_SysCtlReset \
4554  ROM_SysCtlReset
4555 #else
4556 #define MAP_SysCtlReset \
4557  SysCtlReset
4558 #endif
4559 #ifdef ROM_SysCtlDeepSleep
4560 #define MAP_SysCtlDeepSleep \
4561  ROM_SysCtlDeepSleep
4562 #else
4563 #define MAP_SysCtlDeepSleep \
4564  SysCtlDeepSleep
4565 #endif
4566 #ifdef ROM_SysCtlResetCauseGet
4567 #define MAP_SysCtlResetCauseGet \
4568  ROM_SysCtlResetCauseGet
4569 #else
4570 #define MAP_SysCtlResetCauseGet \
4571  SysCtlResetCauseGet
4572 #endif
4573 #ifdef ROM_SysCtlResetCauseClear
4574 #define MAP_SysCtlResetCauseClear \
4575  ROM_SysCtlResetCauseClear
4576 #else
4577 #define MAP_SysCtlResetCauseClear \
4578  SysCtlResetCauseClear
4579 #endif
4580 #ifdef ROM_SysCtlDelay
4581 #define MAP_SysCtlDelay \
4582  ROM_SysCtlDelay
4583 #else
4584 #define MAP_SysCtlDelay \
4585  SysCtlDelay
4586 #endif
4587 #ifdef ROM_SysCtlPeripheralReady
4588 #define MAP_SysCtlPeripheralReady \
4589  ROM_SysCtlPeripheralReady
4590 #else
4591 #define MAP_SysCtlPeripheralReady \
4592  SysCtlPeripheralReady
4593 #endif
4594 #ifdef ROM_SysCtlPeripheralPowerOn
4595 #define MAP_SysCtlPeripheralPowerOn \
4596  ROM_SysCtlPeripheralPowerOn
4597 #else
4598 #define MAP_SysCtlPeripheralPowerOn \
4599  SysCtlPeripheralPowerOn
4600 #endif
4601 #ifdef ROM_SysCtlPeripheralPowerOff
4602 #define MAP_SysCtlPeripheralPowerOff \
4603  ROM_SysCtlPeripheralPowerOff
4604 #else
4605 #define MAP_SysCtlPeripheralPowerOff \
4606  SysCtlPeripheralPowerOff
4607 #endif
4608 #ifdef ROM_SysCtlMOSCConfigSet
4609 #define MAP_SysCtlMOSCConfigSet \
4610  ROM_SysCtlMOSCConfigSet
4611 #else
4612 #define MAP_SysCtlMOSCConfigSet \
4613  SysCtlMOSCConfigSet
4614 #endif
4615 #ifdef ROM_SysCtlPIOSCCalibrate
4616 #define MAP_SysCtlPIOSCCalibrate \
4617  ROM_SysCtlPIOSCCalibrate
4618 #else
4619 #define MAP_SysCtlPIOSCCalibrate \
4620  SysCtlPIOSCCalibrate
4621 #endif
4622 #ifdef ROM_SysCtlDeepSleepClockConfigSet
4623 #define MAP_SysCtlDeepSleepClockConfigSet \
4624  ROM_SysCtlDeepSleepClockConfigSet
4625 #else
4626 #define MAP_SysCtlDeepSleepClockConfigSet \
4627  SysCtlDeepSleepClockConfigSet
4628 #endif
4629 #ifdef ROM_SysCtlClockFreqSet
4630 #define MAP_SysCtlClockFreqSet \
4631  ROM_SysCtlClockFreqSet
4632 #else
4633 #define MAP_SysCtlClockFreqSet \
4634  SysCtlClockFreqSet
4635 #endif
4636 #ifdef ROM_SysCtlResetBehaviorSet
4637 #define MAP_SysCtlResetBehaviorSet \
4638  ROM_SysCtlResetBehaviorSet
4639 #else
4640 #define MAP_SysCtlResetBehaviorSet \
4641  SysCtlResetBehaviorSet
4642 #endif
4643 #ifdef ROM_SysCtlResetBehaviorGet
4644 #define MAP_SysCtlResetBehaviorGet \
4645  ROM_SysCtlResetBehaviorGet
4646 #else
4647 #define MAP_SysCtlResetBehaviorGet \
4648  SysCtlResetBehaviorGet
4649 #endif
4650 #ifdef ROM_SysCtlFlashSectorSizeGet
4651 #define MAP_SysCtlFlashSectorSizeGet \
4652  ROM_SysCtlFlashSectorSizeGet
4653 #else
4654 #define MAP_SysCtlFlashSectorSizeGet \
4655  SysCtlFlashSectorSizeGet
4656 #endif
4657 #ifdef ROM_SysCtlVoltageEventConfig
4658 #define MAP_SysCtlVoltageEventConfig \
4659  ROM_SysCtlVoltageEventConfig
4660 #else
4661 #define MAP_SysCtlVoltageEventConfig \
4662  SysCtlVoltageEventConfig
4663 #endif
4664 #ifdef ROM_SysCtlVoltageEventStatus
4665 #define MAP_SysCtlVoltageEventStatus \
4666  ROM_SysCtlVoltageEventStatus
4667 #else
4668 #define MAP_SysCtlVoltageEventStatus \
4669  SysCtlVoltageEventStatus
4670 #endif
4671 #ifdef ROM_SysCtlVoltageEventClear
4672 #define MAP_SysCtlVoltageEventClear \
4673  ROM_SysCtlVoltageEventClear
4674 #else
4675 #define MAP_SysCtlVoltageEventClear \
4676  SysCtlVoltageEventClear
4677 #endif
4678 #ifdef ROM_SysCtlNMIStatus
4679 #define MAP_SysCtlNMIStatus \
4680  ROM_SysCtlNMIStatus
4681 #else
4682 #define MAP_SysCtlNMIStatus \
4683  SysCtlNMIStatus
4684 #endif
4685 #ifdef ROM_SysCtlNMIClear
4686 #define MAP_SysCtlNMIClear \
4687  ROM_SysCtlNMIClear
4688 #else
4689 #define MAP_SysCtlNMIClear \
4690  SysCtlNMIClear
4691 #endif
4692 #ifdef ROM_SysCtlClockOutConfig
4693 #define MAP_SysCtlClockOutConfig \
4694  ROM_SysCtlClockOutConfig
4695 #else
4696 #define MAP_SysCtlClockOutConfig \
4697  SysCtlClockOutConfig
4698 #endif
4699 #ifdef ROM_SysCtlAltClkConfig
4700 #define MAP_SysCtlAltClkConfig \
4701  ROM_SysCtlAltClkConfig
4702 #else
4703 #define MAP_SysCtlAltClkConfig \
4704  SysCtlAltClkConfig
4705 #endif
4706 
4707 //*****************************************************************************
4708 //
4709 // Macros for the SysExc API.
4710 //
4711 //*****************************************************************************
4712 #ifdef ROM_SysExcIntStatus
4713 #define MAP_SysExcIntStatus \
4714  ROM_SysExcIntStatus
4715 #else
4716 #define MAP_SysExcIntStatus \
4717  SysExcIntStatus
4718 #endif
4719 #ifdef ROM_SysExcIntClear
4720 #define MAP_SysExcIntClear \
4721  ROM_SysExcIntClear
4722 #else
4723 #define MAP_SysExcIntClear \
4724  SysExcIntClear
4725 #endif
4726 #ifdef ROM_SysExcIntDisable
4727 #define MAP_SysExcIntDisable \
4728  ROM_SysExcIntDisable
4729 #else
4730 #define MAP_SysExcIntDisable \
4731  SysExcIntDisable
4732 #endif
4733 #ifdef ROM_SysExcIntEnable
4734 #define MAP_SysExcIntEnable \
4735  ROM_SysExcIntEnable
4736 #else
4737 #define MAP_SysExcIntEnable \
4738  SysExcIntEnable
4739 #endif
4740 
4741 //*****************************************************************************
4742 //
4743 // Macros for the SysTick API.
4744 //
4745 //*****************************************************************************
4746 #ifdef ROM_SysTickValueGet
4747 #define MAP_SysTickValueGet \
4748  ROM_SysTickValueGet
4749 #else
4750 #define MAP_SysTickValueGet \
4751  SysTickValueGet
4752 #endif
4753 #ifdef ROM_SysTickEnable
4754 #define MAP_SysTickEnable \
4755  ROM_SysTickEnable
4756 #else
4757 #define MAP_SysTickEnable \
4758  SysTickEnable
4759 #endif
4760 #ifdef ROM_SysTickDisable
4761 #define MAP_SysTickDisable \
4762  ROM_SysTickDisable
4763 #else
4764 #define MAP_SysTickDisable \
4765  SysTickDisable
4766 #endif
4767 #ifdef ROM_SysTickIntEnable
4768 #define MAP_SysTickIntEnable \
4769  ROM_SysTickIntEnable
4770 #else
4771 #define MAP_SysTickIntEnable \
4772  SysTickIntEnable
4773 #endif
4774 #ifdef ROM_SysTickIntDisable
4775 #define MAP_SysTickIntDisable \
4776  ROM_SysTickIntDisable
4777 #else
4778 #define MAP_SysTickIntDisable \
4779  SysTickIntDisable
4780 #endif
4781 #ifdef ROM_SysTickPeriodSet
4782 #define MAP_SysTickPeriodSet \
4783  ROM_SysTickPeriodSet
4784 #else
4785 #define MAP_SysTickPeriodSet \
4786  SysTickPeriodSet
4787 #endif
4788 #ifdef ROM_SysTickPeriodGet
4789 #define MAP_SysTickPeriodGet \
4790  ROM_SysTickPeriodGet
4791 #else
4792 #define MAP_SysTickPeriodGet \
4793  SysTickPeriodGet
4794 #endif
4795 
4796 //*****************************************************************************
4797 //
4798 // Macros for the Timer API.
4799 //
4800 //*****************************************************************************
4801 #ifdef ROM_TimerIntClear
4802 #define MAP_TimerIntClear \
4803  ROM_TimerIntClear
4804 #else
4805 #define MAP_TimerIntClear \
4806  TimerIntClear
4807 #endif
4808 #ifdef ROM_TimerEnable
4809 #define MAP_TimerEnable \
4810  ROM_TimerEnable
4811 #else
4812 #define MAP_TimerEnable \
4813  TimerEnable
4814 #endif
4815 #ifdef ROM_TimerDisable
4816 #define MAP_TimerDisable \
4817  ROM_TimerDisable
4818 #else
4819 #define MAP_TimerDisable \
4820  TimerDisable
4821 #endif
4822 #ifdef ROM_TimerConfigure
4823 #define MAP_TimerConfigure \
4824  ROM_TimerConfigure
4825 #else
4826 #define MAP_TimerConfigure \
4827  TimerConfigure
4828 #endif
4829 #ifdef ROM_TimerControlLevel
4830 #define MAP_TimerControlLevel \
4831  ROM_TimerControlLevel
4832 #else
4833 #define MAP_TimerControlLevel \
4834  TimerControlLevel
4835 #endif
4836 #ifdef ROM_TimerControlTrigger
4837 #define MAP_TimerControlTrigger \
4838  ROM_TimerControlTrigger
4839 #else
4840 #define MAP_TimerControlTrigger \
4841  TimerControlTrigger
4842 #endif
4843 #ifdef ROM_TimerControlEvent
4844 #define MAP_TimerControlEvent \
4845  ROM_TimerControlEvent
4846 #else
4847 #define MAP_TimerControlEvent \
4848  TimerControlEvent
4849 #endif
4850 #ifdef ROM_TimerControlStall
4851 #define MAP_TimerControlStall \
4852  ROM_TimerControlStall
4853 #else
4854 #define MAP_TimerControlStall \
4855  TimerControlStall
4856 #endif
4857 #ifdef ROM_TimerRTCEnable
4858 #define MAP_TimerRTCEnable \
4859  ROM_TimerRTCEnable
4860 #else
4861 #define MAP_TimerRTCEnable \
4862  TimerRTCEnable
4863 #endif
4864 #ifdef ROM_TimerRTCDisable
4865 #define MAP_TimerRTCDisable \
4866  ROM_TimerRTCDisable
4867 #else
4868 #define MAP_TimerRTCDisable \
4869  TimerRTCDisable
4870 #endif
4871 #ifdef ROM_TimerPrescaleSet
4872 #define MAP_TimerPrescaleSet \
4873  ROM_TimerPrescaleSet
4874 #else
4875 #define MAP_TimerPrescaleSet \
4876  TimerPrescaleSet
4877 #endif
4878 #ifdef ROM_TimerPrescaleGet
4879 #define MAP_TimerPrescaleGet \
4880  ROM_TimerPrescaleGet
4881 #else
4882 #define MAP_TimerPrescaleGet \
4883  TimerPrescaleGet
4884 #endif
4885 #ifdef ROM_TimerPrescaleMatchSet
4886 #define MAP_TimerPrescaleMatchSet \
4887  ROM_TimerPrescaleMatchSet
4888 #else
4889 #define MAP_TimerPrescaleMatchSet \
4890  TimerPrescaleMatchSet
4891 #endif
4892 #ifdef ROM_TimerPrescaleMatchGet
4893 #define MAP_TimerPrescaleMatchGet \
4894  ROM_TimerPrescaleMatchGet
4895 #else
4896 #define MAP_TimerPrescaleMatchGet \
4897  TimerPrescaleMatchGet
4898 #endif
4899 #ifdef ROM_TimerLoadSet
4900 #define MAP_TimerLoadSet \
4901  ROM_TimerLoadSet
4902 #else
4903 #define MAP_TimerLoadSet \
4904  TimerLoadSet
4905 #endif
4906 #ifdef ROM_TimerLoadGet
4907 #define MAP_TimerLoadGet \
4908  ROM_TimerLoadGet
4909 #else
4910 #define MAP_TimerLoadGet \
4911  TimerLoadGet
4912 #endif
4913 #ifdef ROM_TimerValueGet
4914 #define MAP_TimerValueGet \
4915  ROM_TimerValueGet
4916 #else
4917 #define MAP_TimerValueGet \
4918  TimerValueGet
4919 #endif
4920 #ifdef ROM_TimerMatchSet
4921 #define MAP_TimerMatchSet \
4922  ROM_TimerMatchSet
4923 #else
4924 #define MAP_TimerMatchSet \
4925  TimerMatchSet
4926 #endif
4927 #ifdef ROM_TimerMatchGet
4928 #define MAP_TimerMatchGet \
4929  ROM_TimerMatchGet
4930 #else
4931 #define MAP_TimerMatchGet \
4932  TimerMatchGet
4933 #endif
4934 #ifdef ROM_TimerIntEnable
4935 #define MAP_TimerIntEnable \
4936  ROM_TimerIntEnable
4937 #else
4938 #define MAP_TimerIntEnable \
4939  TimerIntEnable
4940 #endif
4941 #ifdef ROM_TimerIntDisable
4942 #define MAP_TimerIntDisable \
4943  ROM_TimerIntDisable
4944 #else
4945 #define MAP_TimerIntDisable \
4946  TimerIntDisable
4947 #endif
4948 #ifdef ROM_TimerIntStatus
4949 #define MAP_TimerIntStatus \
4950  ROM_TimerIntStatus
4951 #else
4952 #define MAP_TimerIntStatus \
4953  TimerIntStatus
4954 #endif
4955 #ifdef ROM_TimerControlWaitOnTrigger
4956 #define MAP_TimerControlWaitOnTrigger \
4957  ROM_TimerControlWaitOnTrigger
4958 #else
4959 #define MAP_TimerControlWaitOnTrigger \
4960  TimerControlWaitOnTrigger
4961 #endif
4962 #ifdef ROM_TimerClockSourceGet
4963 #define MAP_TimerClockSourceGet \
4964  ROM_TimerClockSourceGet
4965 #else
4966 #define MAP_TimerClockSourceGet \
4967  TimerClockSourceGet
4968 #endif
4969 #ifdef ROM_TimerClockSourceSet
4970 #define MAP_TimerClockSourceSet \
4971  ROM_TimerClockSourceSet
4972 #else
4973 #define MAP_TimerClockSourceSet \
4974  TimerClockSourceSet
4975 #endif
4976 #ifdef ROM_TimerADCEventGet
4977 #define MAP_TimerADCEventGet \
4978  ROM_TimerADCEventGet
4979 #else
4980 #define MAP_TimerADCEventGet \
4981  TimerADCEventGet
4982 #endif
4983 #ifdef ROM_TimerADCEventSet
4984 #define MAP_TimerADCEventSet \
4985  ROM_TimerADCEventSet
4986 #else
4987 #define MAP_TimerADCEventSet \
4988  TimerADCEventSet
4989 #endif
4990 #ifdef ROM_TimerDMAEventGet
4991 #define MAP_TimerDMAEventGet \
4992  ROM_TimerDMAEventGet
4993 #else
4994 #define MAP_TimerDMAEventGet \
4995  TimerDMAEventGet
4996 #endif
4997 #ifdef ROM_TimerDMAEventSet
4998 #define MAP_TimerDMAEventSet \
4999  ROM_TimerDMAEventSet
5000 #else
5001 #define MAP_TimerDMAEventSet \
5002  TimerDMAEventSet
5003 #endif
5004 #ifdef ROM_TimerSynchronize
5005 #define MAP_TimerSynchronize \
5006  ROM_TimerSynchronize
5007 #else
5008 #define MAP_TimerSynchronize \
5009  TimerSynchronize
5010 #endif
5011 
5012 //*****************************************************************************
5013 //
5014 // Macros for the UART API.
5015 //
5016 //*****************************************************************************
5017 #ifdef ROM_UARTCharPut
5018 #define MAP_UARTCharPut \
5019  ROM_UARTCharPut
5020 #else
5021 #define MAP_UARTCharPut \
5022  UARTCharPut
5023 #endif
5024 #ifdef ROM_UARTParityModeSet
5025 #define MAP_UARTParityModeSet \
5026  ROM_UARTParityModeSet
5027 #else
5028 #define MAP_UARTParityModeSet \
5029  UARTParityModeSet
5030 #endif
5031 #ifdef ROM_UARTParityModeGet
5032 #define MAP_UARTParityModeGet \
5033  ROM_UARTParityModeGet
5034 #else
5035 #define MAP_UARTParityModeGet \
5036  UARTParityModeGet
5037 #endif
5038 #ifdef ROM_UARTFIFOLevelSet
5039 #define MAP_UARTFIFOLevelSet \
5040  ROM_UARTFIFOLevelSet
5041 #else
5042 #define MAP_UARTFIFOLevelSet \
5043  UARTFIFOLevelSet
5044 #endif
5045 #ifdef ROM_UARTFIFOLevelGet
5046 #define MAP_UARTFIFOLevelGet \
5047  ROM_UARTFIFOLevelGet
5048 #else
5049 #define MAP_UARTFIFOLevelGet \
5050  UARTFIFOLevelGet
5051 #endif
5052 #ifdef ROM_UARTConfigSetExpClk
5053 #define MAP_UARTConfigSetExpClk \
5054  ROM_UARTConfigSetExpClk
5055 #else
5056 #define MAP_UARTConfigSetExpClk \
5057  UARTConfigSetExpClk
5058 #endif
5059 #ifdef ROM_UARTConfigGetExpClk
5060 #define MAP_UARTConfigGetExpClk \
5061  ROM_UARTConfigGetExpClk
5062 #else
5063 #define MAP_UARTConfigGetExpClk \
5064  UARTConfigGetExpClk
5065 #endif
5066 #ifdef ROM_UARTEnable
5067 #define MAP_UARTEnable \
5068  ROM_UARTEnable
5069 #else
5070 #define MAP_UARTEnable \
5071  UARTEnable
5072 #endif
5073 #ifdef ROM_UARTDisable
5074 #define MAP_UARTDisable \
5075  ROM_UARTDisable
5076 #else
5077 #define MAP_UARTDisable \
5078  UARTDisable
5079 #endif
5080 #ifdef ROM_UARTEnableSIR
5081 #define MAP_UARTEnableSIR \
5082  ROM_UARTEnableSIR
5083 #else
5084 #define MAP_UARTEnableSIR \
5085  UARTEnableSIR
5086 #endif
5087 #ifdef ROM_UARTDisableSIR
5088 #define MAP_UARTDisableSIR \
5089  ROM_UARTDisableSIR
5090 #else
5091 #define MAP_UARTDisableSIR \
5092  UARTDisableSIR
5093 #endif
5094 #ifdef ROM_UARTCharsAvail
5095 #define MAP_UARTCharsAvail \
5096  ROM_UARTCharsAvail
5097 #else
5098 #define MAP_UARTCharsAvail \
5099  UARTCharsAvail
5100 #endif
5101 #ifdef ROM_UARTSpaceAvail
5102 #define MAP_UARTSpaceAvail \
5103  ROM_UARTSpaceAvail
5104 #else
5105 #define MAP_UARTSpaceAvail \
5106  UARTSpaceAvail
5107 #endif
5108 #ifdef ROM_UARTCharGetNonBlocking
5109 #define MAP_UARTCharGetNonBlocking \
5110  ROM_UARTCharGetNonBlocking
5111 #else
5112 #define MAP_UARTCharGetNonBlocking \
5113  UARTCharGetNonBlocking
5114 #endif
5115 #ifdef ROM_UARTCharGet
5116 #define MAP_UARTCharGet \
5117  ROM_UARTCharGet
5118 #else
5119 #define MAP_UARTCharGet \
5120  UARTCharGet
5121 #endif
5122 #ifdef ROM_UARTCharPutNonBlocking
5123 #define MAP_UARTCharPutNonBlocking \
5124  ROM_UARTCharPutNonBlocking
5125 #else
5126 #define MAP_UARTCharPutNonBlocking \
5127  UARTCharPutNonBlocking
5128 #endif
5129 #ifdef ROM_UARTBreakCtl
5130 #define MAP_UARTBreakCtl \
5131  ROM_UARTBreakCtl
5132 #else
5133 #define MAP_UARTBreakCtl \
5134  UARTBreakCtl
5135 #endif
5136 #ifdef ROM_UARTIntEnable
5137 #define MAP_UARTIntEnable \
5138  ROM_UARTIntEnable
5139 #else
5140 #define MAP_UARTIntEnable \
5141  UARTIntEnable
5142 #endif
5143 #ifdef ROM_UARTIntDisable
5144 #define MAP_UARTIntDisable \
5145  ROM_UARTIntDisable
5146 #else
5147 #define MAP_UARTIntDisable \
5148  UARTIntDisable
5149 #endif
5150 #ifdef ROM_UARTIntStatus
5151 #define MAP_UARTIntStatus \
5152  ROM_UARTIntStatus
5153 #else
5154 #define MAP_UARTIntStatus \
5155  UARTIntStatus
5156 #endif
5157 #ifdef ROM_UARTIntClear
5158 #define MAP_UARTIntClear \
5159  ROM_UARTIntClear
5160 #else
5161 #define MAP_UARTIntClear \
5162  UARTIntClear
5163 #endif
5164 #ifdef ROM_UARTDMAEnable
5165 #define MAP_UARTDMAEnable \
5166  ROM_UARTDMAEnable
5167 #else
5168 #define MAP_UARTDMAEnable \
5169  UARTDMAEnable
5170 #endif
5171 #ifdef ROM_UARTDMADisable
5172 #define MAP_UARTDMADisable \
5173  ROM_UARTDMADisable
5174 #else
5175 #define MAP_UARTDMADisable \
5176  UARTDMADisable
5177 #endif
5178 #ifdef ROM_UARTFIFOEnable
5179 #define MAP_UARTFIFOEnable \
5180  ROM_UARTFIFOEnable
5181 #else
5182 #define MAP_UARTFIFOEnable \
5183  UARTFIFOEnable
5184 #endif
5185 #ifdef ROM_UARTFIFODisable
5186 #define MAP_UARTFIFODisable \
5187  ROM_UARTFIFODisable
5188 #else
5189 #define MAP_UARTFIFODisable \
5190  UARTFIFODisable
5191 #endif
5192 #ifdef ROM_UARTBusy
5193 #define MAP_UARTBusy \
5194  ROM_UARTBusy
5195 #else
5196 #define MAP_UARTBusy \
5197  UARTBusy
5198 #endif
5199 #ifdef ROM_UARTTxIntModeSet
5200 #define MAP_UARTTxIntModeSet \
5201  ROM_UARTTxIntModeSet
5202 #else
5203 #define MAP_UARTTxIntModeSet \
5204  UARTTxIntModeSet
5205 #endif
5206 #ifdef ROM_UARTTxIntModeGet
5207 #define MAP_UARTTxIntModeGet \
5208  ROM_UARTTxIntModeGet
5209 #else
5210 #define MAP_UARTTxIntModeGet \
5211  UARTTxIntModeGet
5212 #endif
5213 #ifdef ROM_UARTRxErrorGet
5214 #define MAP_UARTRxErrorGet \
5215  ROM_UARTRxErrorGet
5216 #else
5217 #define MAP_UARTRxErrorGet \
5218  UARTRxErrorGet
5219 #endif
5220 #ifdef ROM_UARTRxErrorClear
5221 #define MAP_UARTRxErrorClear \
5222  ROM_UARTRxErrorClear
5223 #else
5224 #define MAP_UARTRxErrorClear \
5225  UARTRxErrorClear
5226 #endif
5227 #ifdef ROM_UARTClockSourceSet
5228 #define MAP_UARTClockSourceSet \
5229  ROM_UARTClockSourceSet
5230 #else
5231 #define MAP_UARTClockSourceSet \
5232  UARTClockSourceSet
5233 #endif
5234 #ifdef ROM_UARTClockSourceGet
5235 #define MAP_UARTClockSourceGet \
5236  ROM_UARTClockSourceGet
5237 #else
5238 #define MAP_UARTClockSourceGet \
5239  UARTClockSourceGet
5240 #endif
5241 #ifdef ROM_UART9BitEnable
5242 #define MAP_UART9BitEnable \
5243  ROM_UART9BitEnable
5244 #else
5245 #define MAP_UART9BitEnable \
5246  UART9BitEnable
5247 #endif
5248 #ifdef ROM_UART9BitDisable
5249 #define MAP_UART9BitDisable \
5250  ROM_UART9BitDisable
5251 #else
5252 #define MAP_UART9BitDisable \
5253  UART9BitDisable
5254 #endif
5255 #ifdef ROM_UART9BitAddrSet
5256 #define MAP_UART9BitAddrSet \
5257  ROM_UART9BitAddrSet
5258 #else
5259 #define MAP_UART9BitAddrSet \
5260  UART9BitAddrSet
5261 #endif
5262 #ifdef ROM_UART9BitAddrSend
5263 #define MAP_UART9BitAddrSend \
5264  ROM_UART9BitAddrSend
5265 #else
5266 #define MAP_UART9BitAddrSend \
5267  UART9BitAddrSend
5268 #endif
5269 #ifdef ROM_UARTSmartCardDisable
5270 #define MAP_UARTSmartCardDisable \
5271  ROM_UARTSmartCardDisable
5272 #else
5273 #define MAP_UARTSmartCardDisable \
5274  UARTSmartCardDisable
5275 #endif
5276 #ifdef ROM_UARTSmartCardEnable
5277 #define MAP_UARTSmartCardEnable \
5278  ROM_UARTSmartCardEnable
5279 #else
5280 #define MAP_UARTSmartCardEnable \
5281  UARTSmartCardEnable
5282 #endif
5283 #ifdef ROM_UARTModemControlClear
5284 #define MAP_UARTModemControlClear \
5285  ROM_UARTModemControlClear
5286 #else
5287 #define MAP_UARTModemControlClear \
5288  UARTModemControlClear
5289 #endif
5290 #ifdef ROM_UARTModemControlGet
5291 #define MAP_UARTModemControlGet \
5292  ROM_UARTModemControlGet
5293 #else
5294 #define MAP_UARTModemControlGet \
5295  UARTModemControlGet
5296 #endif
5297 #ifdef ROM_UARTModemControlSet
5298 #define MAP_UARTModemControlSet \
5299  ROM_UARTModemControlSet
5300 #else
5301 #define MAP_UARTModemControlSet \
5302  UARTModemControlSet
5303 #endif
5304 #ifdef ROM_UARTModemStatusGet
5305 #define MAP_UARTModemStatusGet \
5306  ROM_UARTModemStatusGet
5307 #else
5308 #define MAP_UARTModemStatusGet \
5309  UARTModemStatusGet
5310 #endif
5311 #ifdef ROM_UARTFlowControlGet
5312 #define MAP_UARTFlowControlGet \
5313  ROM_UARTFlowControlGet
5314 #else
5315 #define MAP_UARTFlowControlGet \
5316  UARTFlowControlGet
5317 #endif
5318 #ifdef ROM_UARTFlowControlSet
5319 #define MAP_UARTFlowControlSet \
5320  ROM_UARTFlowControlSet
5321 #else
5322 #define MAP_UARTFlowControlSet \
5323  UARTFlowControlSet
5324 #endif
5325 
5326 //*****************************************************************************
5327 //
5328 // Macros for the uDMA API.
5329 //
5330 //*****************************************************************************
5331 #ifdef ROM_uDMAInit
5332 #define MAP_uDMAInit \
5333  ROM_uDMAInit
5334 #else
5335 #define MAP_uDMAInit \
5336  uDMAInit
5337 #endif
5338 #ifdef ROM_uDMAChannelTransferSet
5339 #define MAP_uDMAChannelTransferSet \
5340  ROM_uDMAChannelTransferSet
5341 #else
5342 #define MAP_uDMAChannelTransferSet \
5343  uDMAChannelTransferSet
5344 #endif
5345 #ifdef ROM_uDMAEnable
5346 #define MAP_uDMAEnable \
5347  ROM_uDMAEnable
5348 #else
5349 #define MAP_uDMAEnable \
5350  uDMAEnable
5351 #endif
5352 #ifdef ROM_uDMADisable
5353 #define MAP_uDMADisable \
5354  ROM_uDMADisable
5355 #else
5356 #define MAP_uDMADisable \
5357  uDMADisable
5358 #endif
5359 #ifdef ROM_uDMAErrorStatusGet
5360 #define MAP_uDMAErrorStatusGet \
5361  ROM_uDMAErrorStatusGet
5362 #else
5363 #define MAP_uDMAErrorStatusGet \
5364  uDMAErrorStatusGet
5365 #endif
5366 #ifdef ROM_uDMAErrorStatusClear
5367 #define MAP_uDMAErrorStatusClear \
5368  ROM_uDMAErrorStatusClear
5369 #else
5370 #define MAP_uDMAErrorStatusClear \
5371  uDMAErrorStatusClear
5372 #endif
5373 #ifdef ROM_uDMAChannelEnable
5374 #define MAP_uDMAChannelEnable \
5375  ROM_uDMAChannelEnable
5376 #else
5377 #define MAP_uDMAChannelEnable \
5378  uDMAChannelEnable
5379 #endif
5380 #ifdef ROM_uDMAChannelDisable
5381 #define MAP_uDMAChannelDisable \
5382  ROM_uDMAChannelDisable
5383 #else
5384 #define MAP_uDMAChannelDisable \
5385  uDMAChannelDisable
5386 #endif
5387 #ifdef ROM_uDMAChannelIsEnabled
5388 #define MAP_uDMAChannelIsEnabled \
5389  ROM_uDMAChannelIsEnabled
5390 #else
5391 #define MAP_uDMAChannelIsEnabled \
5392  uDMAChannelIsEnabled
5393 #endif
5394 #ifdef ROM_uDMAControlBaseSet
5395 #define MAP_uDMAControlBaseSet \
5396  ROM_uDMAControlBaseSet
5397 #else
5398 #define MAP_uDMAControlBaseSet \
5399  uDMAControlBaseSet
5400 #endif
5401 #ifdef ROM_uDMAControlBaseGet
5402 #define MAP_uDMAControlBaseGet \
5403  ROM_uDMAControlBaseGet
5404 #else
5405 #define MAP_uDMAControlBaseGet \
5406  uDMAControlBaseGet
5407 #endif
5408 #ifdef ROM_uDMAChannelRequest
5409 #define MAP_uDMAChannelRequest \
5410  ROM_uDMAChannelRequest
5411 #else
5412 #define MAP_uDMAChannelRequest \
5413  uDMAChannelRequest
5414 #endif
5415 #ifdef ROM_uDMAChannelAttributeEnable
5416 #define MAP_uDMAChannelAttributeEnable \
5417  ROM_uDMAChannelAttributeEnable
5418 #else
5419 #define MAP_uDMAChannelAttributeEnable \
5420  uDMAChannelAttributeEnable
5421 #endif
5422 #ifdef ROM_uDMAChannelAttributeDisable
5423 #define MAP_uDMAChannelAttributeDisable \
5424  ROM_uDMAChannelAttributeDisable
5425 #else
5426 #define MAP_uDMAChannelAttributeDisable \
5427  uDMAChannelAttributeDisable
5428 #endif
5429 #ifdef ROM_uDMAChannelAttributeGet
5430 #define MAP_uDMAChannelAttributeGet \
5431  ROM_uDMAChannelAttributeGet
5432 #else
5433 #define MAP_uDMAChannelAttributeGet \
5434  uDMAChannelAttributeGet
5435 #endif
5436 #ifdef ROM_uDMAChannelControlSet
5437 #define MAP_uDMAChannelControlSet \
5438  ROM_uDMAChannelControlSet
5439 #else
5440 #define MAP_uDMAChannelControlSet \
5441  uDMAChannelControlSet
5442 #endif
5443 #ifdef ROM_uDMAChannelSizeGet
5444 #define MAP_uDMAChannelSizeGet \
5445  ROM_uDMAChannelSizeGet
5446 #else
5447 #define MAP_uDMAChannelSizeGet \
5448  uDMAChannelSizeGet
5449 #endif
5450 #ifdef ROM_uDMAChannelModeGet
5451 #define MAP_uDMAChannelModeGet \
5452  ROM_uDMAChannelModeGet
5453 #else
5454 #define MAP_uDMAChannelModeGet \
5455  uDMAChannelModeGet
5456 #endif
5457 #ifdef ROM_uDMAControlAlternateBaseGet
5458 #define MAP_uDMAControlAlternateBaseGet \
5459  ROM_uDMAControlAlternateBaseGet
5460 #else
5461 #define MAP_uDMAControlAlternateBaseGet \
5462  uDMAControlAlternateBaseGet
5463 #endif
5464 #ifdef ROM_uDMAChannelScatterGatherSet
5465 #define MAP_uDMAChannelScatterGatherSet \
5466  ROM_uDMAChannelScatterGatherSet
5467 #else
5468 #define MAP_uDMAChannelScatterGatherSet \
5469  uDMAChannelScatterGatherSet
5470 #endif
5471 #ifdef ROM_uDMAChannelAssign
5472 #define MAP_uDMAChannelAssign \
5473  ROM_uDMAChannelAssign
5474 #else
5475 #define MAP_uDMAChannelAssign \
5476  uDMAChannelAssign
5477 #endif
5478 
5479 //*****************************************************************************
5480 //
5481 // Macros for the USB API.
5482 //
5483 //*****************************************************************************
5484 #ifdef ROM_USBDevAddrGet
5485 #define MAP_USBDevAddrGet \
5486  ROM_USBDevAddrGet
5487 #else
5488 #define MAP_USBDevAddrGet \
5489  USBDevAddrGet
5490 #endif
5491 #ifdef ROM_USBDevAddrSet
5492 #define MAP_USBDevAddrSet \
5493  ROM_USBDevAddrSet
5494 #else
5495 #define MAP_USBDevAddrSet \
5496  USBDevAddrSet
5497 #endif
5498 #ifdef ROM_USBDevConnect
5499 #define MAP_USBDevConnect \
5500  ROM_USBDevConnect
5501 #else
5502 #define MAP_USBDevConnect \
5503  USBDevConnect
5504 #endif
5505 #ifdef ROM_USBDevDisconnect
5506 #define MAP_USBDevDisconnect \
5507  ROM_USBDevDisconnect
5508 #else
5509 #define MAP_USBDevDisconnect \
5510  USBDevDisconnect
5511 #endif
5512 #ifdef ROM_USBDevEndpointConfigSet
5513 #define MAP_USBDevEndpointConfigSet \
5514  ROM_USBDevEndpointConfigSet
5515 #else
5516 #define MAP_USBDevEndpointConfigSet \
5517  USBDevEndpointConfigSet
5518 #endif
5519 #ifdef ROM_USBDevEndpointDataAck
5520 #define MAP_USBDevEndpointDataAck \
5521  ROM_USBDevEndpointDataAck
5522 #else
5523 #define MAP_USBDevEndpointDataAck \
5524  USBDevEndpointDataAck
5525 #endif
5526 #ifdef ROM_USBDevEndpointStall
5527 #define MAP_USBDevEndpointStall \
5528  ROM_USBDevEndpointStall
5529 #else
5530 #define MAP_USBDevEndpointStall \
5531  USBDevEndpointStall
5532 #endif
5533 #ifdef ROM_USBDevEndpointStallClear
5534 #define MAP_USBDevEndpointStallClear \
5535  ROM_USBDevEndpointStallClear
5536 #else
5537 #define MAP_USBDevEndpointStallClear \
5538  USBDevEndpointStallClear
5539 #endif
5540 #ifdef ROM_USBDevEndpointStatusClear
5541 #define MAP_USBDevEndpointStatusClear \
5542  ROM_USBDevEndpointStatusClear
5543 #else
5544 #define MAP_USBDevEndpointStatusClear \
5545  USBDevEndpointStatusClear
5546 #endif
5547 #ifdef ROM_USBEndpointDataGet
5548 #define MAP_USBEndpointDataGet \
5549  ROM_USBEndpointDataGet
5550 #else
5551 #define MAP_USBEndpointDataGet \
5552  USBEndpointDataGet
5553 #endif
5554 #ifdef ROM_USBEndpointDataPut
5555 #define MAP_USBEndpointDataPut \
5556  ROM_USBEndpointDataPut
5557 #else
5558 #define MAP_USBEndpointDataPut \
5559  USBEndpointDataPut
5560 #endif
5561 #ifdef ROM_USBEndpointDataSend
5562 #define MAP_USBEndpointDataSend \
5563  ROM_USBEndpointDataSend
5564 #else
5565 #define MAP_USBEndpointDataSend \
5566  USBEndpointDataSend
5567 #endif
5568 #ifdef ROM_USBEndpointDataToggleClear
5569 #define MAP_USBEndpointDataToggleClear \
5570  ROM_USBEndpointDataToggleClear
5571 #else
5572 #define MAP_USBEndpointDataToggleClear \
5573  USBEndpointDataToggleClear
5574 #endif
5575 #ifdef ROM_USBEndpointStatus
5576 #define MAP_USBEndpointStatus \
5577  ROM_USBEndpointStatus
5578 #else
5579 #define MAP_USBEndpointStatus \
5580  USBEndpointStatus
5581 #endif
5582 #ifdef ROM_USBFIFOAddrGet
5583 #define MAP_USBFIFOAddrGet \
5584  ROM_USBFIFOAddrGet
5585 #else
5586 #define MAP_USBFIFOAddrGet \
5587  USBFIFOAddrGet
5588 #endif
5589 #ifdef ROM_USBFIFOConfigGet
5590 #define MAP_USBFIFOConfigGet \
5591  ROM_USBFIFOConfigGet
5592 #else
5593 #define MAP_USBFIFOConfigGet \
5594  USBFIFOConfigGet
5595 #endif
5596 #ifdef ROM_USBFIFOConfigSet
5597 #define MAP_USBFIFOConfigSet \
5598  ROM_USBFIFOConfigSet
5599 #else
5600 #define MAP_USBFIFOConfigSet \
5601  USBFIFOConfigSet
5602 #endif
5603 #ifdef ROM_USBFIFOFlush
5604 #define MAP_USBFIFOFlush \
5605  ROM_USBFIFOFlush
5606 #else
5607 #define MAP_USBFIFOFlush \
5608  USBFIFOFlush
5609 #endif
5610 #ifdef ROM_USBFrameNumberGet
5611 #define MAP_USBFrameNumberGet \
5612  ROM_USBFrameNumberGet
5613 #else
5614 #define MAP_USBFrameNumberGet \
5615  USBFrameNumberGet
5616 #endif
5617 #ifdef ROM_USBHostAddrGet
5618 #define MAP_USBHostAddrGet \
5619  ROM_USBHostAddrGet
5620 #else
5621 #define MAP_USBHostAddrGet \
5622  USBHostAddrGet
5623 #endif
5624 #ifdef ROM_USBHostAddrSet
5625 #define MAP_USBHostAddrSet \
5626  ROM_USBHostAddrSet
5627 #else
5628 #define MAP_USBHostAddrSet \
5629  USBHostAddrSet
5630 #endif
5631 #ifdef ROM_USBHostEndpointConfig
5632 #define MAP_USBHostEndpointConfig \
5633  ROM_USBHostEndpointConfig
5634 #else
5635 #define MAP_USBHostEndpointConfig \
5636  USBHostEndpointConfig
5637 #endif
5638 #ifdef ROM_USBHostEndpointDataAck
5639 #define MAP_USBHostEndpointDataAck \
5640  ROM_USBHostEndpointDataAck
5641 #else
5642 #define MAP_USBHostEndpointDataAck \
5643  USBHostEndpointDataAck
5644 #endif
5645 #ifdef ROM_USBHostEndpointDataToggle
5646 #define MAP_USBHostEndpointDataToggle \
5647  ROM_USBHostEndpointDataToggle
5648 #else
5649 #define MAP_USBHostEndpointDataToggle \
5650  USBHostEndpointDataToggle
5651 #endif
5652 #ifdef ROM_USBHostEndpointStatusClear
5653 #define MAP_USBHostEndpointStatusClear \
5654  ROM_USBHostEndpointStatusClear
5655 #else
5656 #define MAP_USBHostEndpointStatusClear \
5657  USBHostEndpointStatusClear
5658 #endif
5659 #ifdef ROM_USBHostHubAddrGet
5660 #define MAP_USBHostHubAddrGet \
5661  ROM_USBHostHubAddrGet
5662 #else
5663 #define MAP_USBHostHubAddrGet \
5664  USBHostHubAddrGet
5665 #endif
5666 #ifdef ROM_USBHostHubAddrSet
5667 #define MAP_USBHostHubAddrSet \
5668  ROM_USBHostHubAddrSet
5669 #else
5670 #define MAP_USBHostHubAddrSet \
5671  USBHostHubAddrSet
5672 #endif
5673 #ifdef ROM_USBHostPwrDisable
5674 #define MAP_USBHostPwrDisable \
5675  ROM_USBHostPwrDisable
5676 #else
5677 #define MAP_USBHostPwrDisable \
5678  USBHostPwrDisable
5679 #endif
5680 #ifdef ROM_USBHostPwrEnable
5681 #define MAP_USBHostPwrEnable \
5682  ROM_USBHostPwrEnable
5683 #else
5684 #define MAP_USBHostPwrEnable \
5685  USBHostPwrEnable
5686 #endif
5687 #ifdef ROM_USBHostPwrConfig
5688 #define MAP_USBHostPwrConfig \
5689  ROM_USBHostPwrConfig
5690 #else
5691 #define MAP_USBHostPwrConfig \
5692  USBHostPwrConfig
5693 #endif
5694 #ifdef ROM_USBHostPwrFaultDisable
5695 #define MAP_USBHostPwrFaultDisable \
5696  ROM_USBHostPwrFaultDisable
5697 #else
5698 #define MAP_USBHostPwrFaultDisable \
5699  USBHostPwrFaultDisable
5700 #endif
5701 #ifdef ROM_USBHostPwrFaultEnable
5702 #define MAP_USBHostPwrFaultEnable \
5703  ROM_USBHostPwrFaultEnable
5704 #else
5705 #define MAP_USBHostPwrFaultEnable \
5706  USBHostPwrFaultEnable
5707 #endif
5708 #ifdef ROM_USBHostRequestIN
5709 #define MAP_USBHostRequestIN \
5710  ROM_USBHostRequestIN
5711 #else
5712 #define MAP_USBHostRequestIN \
5713  USBHostRequestIN
5714 #endif
5715 #ifdef ROM_USBHostRequestStatus
5716 #define MAP_USBHostRequestStatus \
5717  ROM_USBHostRequestStatus
5718 #else
5719 #define MAP_USBHostRequestStatus \
5720  USBHostRequestStatus
5721 #endif
5722 #ifdef ROM_USBHostReset
5723 #define MAP_USBHostReset \
5724  ROM_USBHostReset
5725 #else
5726 #define MAP_USBHostReset \
5727  USBHostReset
5728 #endif
5729 #ifdef ROM_USBHostResume
5730 #define MAP_USBHostResume \
5731  ROM_USBHostResume
5732 #else
5733 #define MAP_USBHostResume \
5734  USBHostResume
5735 #endif
5736 #ifdef ROM_USBHostSpeedGet
5737 #define MAP_USBHostSpeedGet \
5738  ROM_USBHostSpeedGet
5739 #else
5740 #define MAP_USBHostSpeedGet \
5741  USBHostSpeedGet
5742 #endif
5743 #ifdef ROM_USBHostSuspend
5744 #define MAP_USBHostSuspend \
5745  ROM_USBHostSuspend
5746 #else
5747 #define MAP_USBHostSuspend \
5748  USBHostSuspend
5749 #endif
5750 #ifdef ROM_USBDevEndpointConfigGet
5751 #define MAP_USBDevEndpointConfigGet \
5752  ROM_USBDevEndpointConfigGet
5753 #else
5754 #define MAP_USBDevEndpointConfigGet \
5755  USBDevEndpointConfigGet
5756 #endif
5757 #ifdef ROM_USBEndpointDMAEnable
5758 #define MAP_USBEndpointDMAEnable \
5759  ROM_USBEndpointDMAEnable
5760 #else
5761 #define MAP_USBEndpointDMAEnable \
5762  USBEndpointDMAEnable
5763 #endif
5764 #ifdef ROM_USBEndpointDMADisable
5765 #define MAP_USBEndpointDMADisable \
5766  ROM_USBEndpointDMADisable
5767 #else
5768 #define MAP_USBEndpointDMADisable \
5769  USBEndpointDMADisable
5770 #endif
5771 #ifdef ROM_USBEndpointDataAvail
5772 #define MAP_USBEndpointDataAvail \
5773  ROM_USBEndpointDataAvail
5774 #else
5775 #define MAP_USBEndpointDataAvail \
5776  USBEndpointDataAvail
5777 #endif
5778 #ifdef ROM_USBModeGet
5779 #define MAP_USBModeGet \
5780  ROM_USBModeGet
5781 #else
5782 #define MAP_USBModeGet \
5783  USBModeGet
5784 #endif
5785 #ifdef ROM_USBIntDisableControl
5786 #define MAP_USBIntDisableControl \
5787  ROM_USBIntDisableControl
5788 #else
5789 #define MAP_USBIntDisableControl \
5790  USBIntDisableControl
5791 #endif
5792 #ifdef ROM_USBIntEnableControl
5793 #define MAP_USBIntEnableControl \
5794  ROM_USBIntEnableControl
5795 #else
5796 #define MAP_USBIntEnableControl \
5797  USBIntEnableControl
5798 #endif
5799 #ifdef ROM_USBIntStatusControl
5800 #define MAP_USBIntStatusControl \
5801  ROM_USBIntStatusControl
5802 #else
5803 #define MAP_USBIntStatusControl \
5804  USBIntStatusControl
5805 #endif
5806 #ifdef ROM_USBIntDisableEndpoint
5807 #define MAP_USBIntDisableEndpoint \
5808  ROM_USBIntDisableEndpoint
5809 #else
5810 #define MAP_USBIntDisableEndpoint \
5811  USBIntDisableEndpoint
5812 #endif
5813 #ifdef ROM_USBIntEnableEndpoint
5814 #define MAP_USBIntEnableEndpoint \
5815  ROM_USBIntEnableEndpoint
5816 #else
5817 #define MAP_USBIntEnableEndpoint \
5818  USBIntEnableEndpoint
5819 #endif
5820 #ifdef ROM_USBIntStatusEndpoint
5821 #define MAP_USBIntStatusEndpoint \
5822  ROM_USBIntStatusEndpoint
5823 #else
5824 #define MAP_USBIntStatusEndpoint \
5825  USBIntStatusEndpoint
5826 #endif
5827 #ifdef ROM_USBHostMode
5828 #define MAP_USBHostMode \
5829  ROM_USBHostMode
5830 #else
5831 #define MAP_USBHostMode \
5832  USBHostMode
5833 #endif
5834 #ifdef ROM_USBDevMode
5835 #define MAP_USBDevMode \
5836  ROM_USBDevMode
5837 #else
5838 #define MAP_USBDevMode \
5839  USBDevMode
5840 #endif
5841 #ifdef ROM_USBPHYPowerOff
5842 #define MAP_USBPHYPowerOff \
5843  ROM_USBPHYPowerOff
5844 #else
5845 #define MAP_USBPHYPowerOff \
5846  USBPHYPowerOff
5847 #endif
5848 #ifdef ROM_USBPHYPowerOn
5849 #define MAP_USBPHYPowerOn \
5850  ROM_USBPHYPowerOn
5851 #else
5852 #define MAP_USBPHYPowerOn \
5853  USBPHYPowerOn
5854 #endif
5855 #ifdef ROM_USBOTGMode
5856 #define MAP_USBOTGMode \
5857  ROM_USBOTGMode
5858 #else
5859 #define MAP_USBOTGMode \
5860  USBOTGMode
5861 #endif
5862 #ifdef ROM_USBHostRequestINClear
5863 #define MAP_USBHostRequestINClear \
5864  ROM_USBHostRequestINClear
5865 #else
5866 #define MAP_USBHostRequestINClear \
5867  USBHostRequestINClear
5868 #endif
5869 #ifdef ROM_USBNumEndpointsGet
5870 #define MAP_USBNumEndpointsGet \
5871  ROM_USBNumEndpointsGet
5872 #else
5873 #define MAP_USBNumEndpointsGet \
5874  USBNumEndpointsGet
5875 #endif
5876 #ifdef ROM_USBClockDisable
5877 #define MAP_USBClockDisable \
5878  ROM_USBClockDisable
5879 #else
5880 #define MAP_USBClockDisable \
5881  USBClockDisable
5882 #endif
5883 #ifdef ROM_USBClockEnable
5884 #define MAP_USBClockEnable \
5885  ROM_USBClockEnable
5886 #else
5887 #define MAP_USBClockEnable \
5888  USBClockEnable
5889 #endif
5890 #ifdef ROM_USBDevLPMConfig
5891 #define MAP_USBDevLPMConfig \
5892  ROM_USBDevLPMConfig
5893 #else
5894 #define MAP_USBDevLPMConfig \
5895  USBDevLPMConfig
5896 #endif
5897 #ifdef ROM_USBDevLPMDisable
5898 #define MAP_USBDevLPMDisable \
5899  ROM_USBDevLPMDisable
5900 #else
5901 #define MAP_USBDevLPMDisable \
5902  USBDevLPMDisable
5903 #endif
5904 #ifdef ROM_USBDevLPMEnable
5905 #define MAP_USBDevLPMEnable \
5906  ROM_USBDevLPMEnable
5907 #else
5908 #define MAP_USBDevLPMEnable \
5909  USBDevLPMEnable
5910 #endif
5911 #ifdef ROM_USBDevLPMRemoteWake
5912 #define MAP_USBDevLPMRemoteWake \
5913  ROM_USBDevLPMRemoteWake
5914 #else
5915 #define MAP_USBDevLPMRemoteWake \
5916  USBDevLPMRemoteWake
5917 #endif
5918 #ifdef ROM_USBDevSpeedGet
5919 #define MAP_USBDevSpeedGet \
5920  ROM_USBDevSpeedGet
5921 #else
5922 #define MAP_USBDevSpeedGet \
5923  USBDevSpeedGet
5924 #endif
5925 #ifdef ROM_USBDMAChannelAddressGet
5926 #define MAP_USBDMAChannelAddressGet \
5927  ROM_USBDMAChannelAddressGet
5928 #else
5929 #define MAP_USBDMAChannelAddressGet \
5930  USBDMAChannelAddressGet
5931 #endif
5932 #ifdef ROM_USBDMAChannelAddressSet
5933 #define MAP_USBDMAChannelAddressSet \
5934  ROM_USBDMAChannelAddressSet
5935 #else
5936 #define MAP_USBDMAChannelAddressSet \
5937  USBDMAChannelAddressSet
5938 #endif
5939 #ifdef ROM_USBDMAChannelConfigSet
5940 #define MAP_USBDMAChannelConfigSet \
5941  ROM_USBDMAChannelConfigSet
5942 #else
5943 #define MAP_USBDMAChannelConfigSet \
5944  USBDMAChannelConfigSet
5945 #endif
5946 #ifdef ROM_USBDMAChannelDisable
5947 #define MAP_USBDMAChannelDisable \
5948  ROM_USBDMAChannelDisable
5949 #else
5950 #define MAP_USBDMAChannelDisable \
5951  USBDMAChannelDisable
5952 #endif
5953 #ifdef ROM_USBDMAChannelEnable
5954 #define MAP_USBDMAChannelEnable \
5955  ROM_USBDMAChannelEnable
5956 #else
5957 #define MAP_USBDMAChannelEnable \
5958  USBDMAChannelEnable
5959 #endif
5960 #ifdef ROM_USBDMAChannelIntDisable
5961 #define MAP_USBDMAChannelIntDisable \
5962  ROM_USBDMAChannelIntDisable
5963 #else
5964 #define MAP_USBDMAChannelIntDisable \
5965  USBDMAChannelIntDisable
5966 #endif
5967 #ifdef ROM_USBDMAChannelIntEnable
5968 #define MAP_USBDMAChannelIntEnable \
5969  ROM_USBDMAChannelIntEnable
5970 #else
5971 #define MAP_USBDMAChannelIntEnable \
5972  USBDMAChannelIntEnable
5973 #endif
5974 #ifdef ROM_USBDMAChannelCountGet
5975 #define MAP_USBDMAChannelCountGet \
5976  ROM_USBDMAChannelCountGet
5977 #else
5978 #define MAP_USBDMAChannelCountGet \
5979  USBDMAChannelCountGet
5980 #endif
5981 #ifdef ROM_USBDMAChannelCountSet
5982 #define MAP_USBDMAChannelCountSet \
5983  ROM_USBDMAChannelCountSet
5984 #else
5985 #define MAP_USBDMAChannelCountSet \
5986  USBDMAChannelCountSet
5987 #endif
5988 #ifdef ROM_USBDMAChannelIntStatus
5989 #define MAP_USBDMAChannelIntStatus \
5990  ROM_USBDMAChannelIntStatus
5991 #else
5992 #define MAP_USBDMAChannelIntStatus \
5993  USBDMAChannelIntStatus
5994 #endif
5995 #ifdef ROM_USBDMAChannelStatus
5996 #define MAP_USBDMAChannelStatus \
5997  ROM_USBDMAChannelStatus
5998 #else
5999 #define MAP_USBDMAChannelStatus \
6000  USBDMAChannelStatus
6001 #endif
6002 #ifdef ROM_USBDMAChannelStatusClear
6003 #define MAP_USBDMAChannelStatusClear \
6004  ROM_USBDMAChannelStatusClear
6005 #else
6006 #define MAP_USBDMAChannelStatusClear \
6007  USBDMAChannelStatusClear
6008 #endif
6009 #ifdef ROM_USBHighSpeed
6010 #define MAP_USBHighSpeed \
6011  ROM_USBHighSpeed
6012 #else
6013 #define MAP_USBHighSpeed \
6014  USBHighSpeed
6015 #endif
6016 #ifdef ROM_USBHostEndpointPing
6017 #define MAP_USBHostEndpointPing \
6018  ROM_USBHostEndpointPing
6019 #else
6020 #define MAP_USBHostEndpointPing \
6021  USBHostEndpointPing
6022 #endif
6023 #ifdef ROM_USBHostEndpointSpeed
6024 #define MAP_USBHostEndpointSpeed \
6025  ROM_USBHostEndpointSpeed
6026 #else
6027 #define MAP_USBHostEndpointSpeed \
6028  USBHostEndpointSpeed
6029 #endif
6030 #ifdef ROM_USBHostLPMConfig
6031 #define MAP_USBHostLPMConfig \
6032  ROM_USBHostLPMConfig
6033 #else
6034 #define MAP_USBHostLPMConfig \
6035  USBHostLPMConfig
6036 #endif
6037 #ifdef ROM_USBHostLPMResume
6038 #define MAP_USBHostLPMResume \
6039  ROM_USBHostLPMResume
6040 #else
6041 #define MAP_USBHostLPMResume \
6042  USBHostLPMResume
6043 #endif
6044 #ifdef ROM_USBHostLPMSend
6045 #define MAP_USBHostLPMSend \
6046  ROM_USBHostLPMSend
6047 #else
6048 #define MAP_USBHostLPMSend \
6049  USBHostLPMSend
6050 #endif
6051 #ifdef ROM_USBLPMIntDisable
6052 #define MAP_USBLPMIntDisable \
6053  ROM_USBLPMIntDisable
6054 #else
6055 #define MAP_USBLPMIntDisable \
6056  USBLPMIntDisable
6057 #endif
6058 #ifdef ROM_USBLPMIntEnable
6059 #define MAP_USBLPMIntEnable \
6060  ROM_USBLPMIntEnable
6061 #else
6062 #define MAP_USBLPMIntEnable \
6063  USBLPMIntEnable
6064 #endif
6065 #ifdef ROM_USBLPMIntStatus
6066 #define MAP_USBLPMIntStatus \
6067  ROM_USBLPMIntStatus
6068 #else
6069 #define MAP_USBLPMIntStatus \
6070  USBLPMIntStatus
6071 #endif
6072 #ifdef ROM_USBLPMLinkStateGet
6073 #define MAP_USBLPMLinkStateGet \
6074  ROM_USBLPMLinkStateGet
6075 #else
6076 #define MAP_USBLPMLinkStateGet \
6077  USBLPMLinkStateGet
6078 #endif
6079 #ifdef ROM_USBEndpointPacketCountSet
6080 #define MAP_USBEndpointPacketCountSet \
6081  ROM_USBEndpointPacketCountSet
6082 #else
6083 #define MAP_USBEndpointPacketCountSet \
6084  USBEndpointPacketCountSet
6085 #endif
6086 #ifdef ROM_USBULPIConfig
6087 #define MAP_USBULPIConfig \
6088  ROM_USBULPIConfig
6089 #else
6090 #define MAP_USBULPIConfig \
6091  USBULPIConfig
6092 #endif
6093 #ifdef ROM_USBULPIDisable
6094 #define MAP_USBULPIDisable \
6095  ROM_USBULPIDisable
6096 #else
6097 #define MAP_USBULPIDisable \
6098  USBULPIDisable
6099 #endif
6100 #ifdef ROM_USBULPIEnable
6101 #define MAP_USBULPIEnable \
6102  ROM_USBULPIEnable
6103 #else
6104 #define MAP_USBULPIEnable \
6105  USBULPIEnable
6106 #endif
6107 #ifdef ROM_USBULPIRegRead
6108 #define MAP_USBULPIRegRead \
6109  ROM_USBULPIRegRead
6110 #else
6111 #define MAP_USBULPIRegRead \
6112  USBULPIRegRead
6113 #endif
6114 #ifdef ROM_USBULPIRegWrite
6115 #define MAP_USBULPIRegWrite \
6116  ROM_USBULPIRegWrite
6117 #else
6118 #define MAP_USBULPIRegWrite \
6119  USBULPIRegWrite
6120 #endif
6121 #ifdef ROM_USBOTGSessionRequest
6122 #define MAP_USBOTGSessionRequest \
6123  ROM_USBOTGSessionRequest
6124 #else
6125 #define MAP_USBOTGSessionRequest \
6126  USBOTGSessionRequest
6127 #endif
6128 #ifdef ROM_USBDMANumChannels
6129 #define MAP_USBDMANumChannels \
6130  ROM_USBDMANumChannels
6131 #else
6132 #define MAP_USBDMANumChannels \
6133  USBDMANumChannels
6134 #endif
6135 #ifdef ROM_USBEndpointDMAConfigSet
6136 #define MAP_USBEndpointDMAConfigSet \
6137  ROM_USBEndpointDMAConfigSet
6138 #else
6139 #define MAP_USBEndpointDMAConfigSet \
6140  USBEndpointDMAConfigSet
6141 #endif
6142 #ifdef ROM_USBLPMRemoteWakeEnabled
6143 #define MAP_USBLPMRemoteWakeEnabled \
6144  ROM_USBLPMRemoteWakeEnabled
6145 #else
6146 #define MAP_USBLPMRemoteWakeEnabled \
6147  USBLPMRemoteWakeEnabled
6148 #endif
6149 #ifdef ROM_USBModeConfig
6150 #define MAP_USBModeConfig \
6151  ROM_USBModeConfig
6152 #else
6153 #define MAP_USBModeConfig \
6154  USBModeConfig
6155 #endif
6156 
6157 //*****************************************************************************
6158 //
6159 // Macros for the Watchdog API.
6160 //
6161 //*****************************************************************************
6162 #ifdef ROM_WatchdogIntClear
6163 #define MAP_WatchdogIntClear \
6164  ROM_WatchdogIntClear
6165 #else
6166 #define MAP_WatchdogIntClear \
6167  WatchdogIntClear
6168 #endif
6169 #ifdef ROM_WatchdogRunning
6170 #define MAP_WatchdogRunning \
6171  ROM_WatchdogRunning
6172 #else
6173 #define MAP_WatchdogRunning \
6174  WatchdogRunning
6175 #endif
6176 #ifdef ROM_WatchdogEnable
6177 #define MAP_WatchdogEnable \
6178  ROM_WatchdogEnable
6179 #else
6180 #define MAP_WatchdogEnable \
6181  WatchdogEnable
6182 #endif
6183 #ifdef ROM_WatchdogResetEnable
6184 #define MAP_WatchdogResetEnable \
6185  ROM_WatchdogResetEnable
6186 #else
6187 #define MAP_WatchdogResetEnable \
6188  WatchdogResetEnable
6189 #endif
6190 #ifdef ROM_WatchdogResetDisable
6191 #define MAP_WatchdogResetDisable \
6192  ROM_WatchdogResetDisable
6193 #else
6194 #define MAP_WatchdogResetDisable \
6195  WatchdogResetDisable
6196 #endif
6197 #ifdef ROM_WatchdogLock
6198 #define MAP_WatchdogLock \
6199  ROM_WatchdogLock
6200 #else
6201 #define MAP_WatchdogLock \
6202  WatchdogLock
6203 #endif
6204 #ifdef ROM_WatchdogUnlock
6205 #define MAP_WatchdogUnlock \
6206  ROM_WatchdogUnlock
6207 #else
6208 #define MAP_WatchdogUnlock \
6209  WatchdogUnlock
6210 #endif
6211 #ifdef ROM_WatchdogLockState
6212 #define MAP_WatchdogLockState \
6213  ROM_WatchdogLockState
6214 #else
6215 #define MAP_WatchdogLockState \
6216  WatchdogLockState
6217 #endif
6218 #ifdef ROM_WatchdogReloadSet
6219 #define MAP_WatchdogReloadSet \
6220  ROM_WatchdogReloadSet
6221 #else
6222 #define MAP_WatchdogReloadSet \
6223  WatchdogReloadSet
6224 #endif
6225 #ifdef ROM_WatchdogReloadGet
6226 #define MAP_WatchdogReloadGet \
6227  ROM_WatchdogReloadGet
6228 #else
6229 #define MAP_WatchdogReloadGet \
6230  WatchdogReloadGet
6231 #endif
6232 #ifdef ROM_WatchdogValueGet
6233 #define MAP_WatchdogValueGet \
6234  ROM_WatchdogValueGet
6235 #else
6236 #define MAP_WatchdogValueGet \
6237  WatchdogValueGet
6238 #endif
6239 #ifdef ROM_WatchdogIntEnable
6240 #define MAP_WatchdogIntEnable \
6241  ROM_WatchdogIntEnable
6242 #else
6243 #define MAP_WatchdogIntEnable \
6244  WatchdogIntEnable
6245 #endif
6246 #ifdef ROM_WatchdogIntStatus
6247 #define MAP_WatchdogIntStatus \
6248  ROM_WatchdogIntStatus
6249 #else
6250 #define MAP_WatchdogIntStatus \
6251  WatchdogIntStatus
6252 #endif
6253 #ifdef ROM_WatchdogStallEnable
6254 #define MAP_WatchdogStallEnable \
6255  ROM_WatchdogStallEnable
6256 #else
6257 #define MAP_WatchdogStallEnable \
6258  WatchdogStallEnable
6259 #endif
6260 #ifdef ROM_WatchdogStallDisable
6261 #define MAP_WatchdogStallDisable \
6262  ROM_WatchdogStallDisable
6263 #else
6264 #define MAP_WatchdogStallDisable \
6265  WatchdogStallDisable
6266 #endif
6267 #ifdef ROM_WatchdogIntTypeSet
6268 #define MAP_WatchdogIntTypeSet \
6269  ROM_WatchdogIntTypeSet
6270 #else
6271 #define MAP_WatchdogIntTypeSet \
6272  WatchdogIntTypeSet
6273 #endif
6274 
6275 //*****************************************************************************
6276 //
6277 // Macros for the Software API.
6278 //
6279 //*****************************************************************************
6280 #ifdef ROM_Crc16Array
6281 #define MAP_Crc16Array \
6282  ROM_Crc16Array
6283 #else
6284 #define MAP_Crc16Array \
6285  Crc16Array
6286 #endif
6287 #ifdef ROM_Crc16Array3
6288 #define MAP_Crc16Array3 \
6289  ROM_Crc16Array3
6290 #else
6291 #define MAP_Crc16Array3 \
6292  Crc16Array3
6293 #endif
6294 #ifdef ROM_Crc16
6295 #define MAP_Crc16 \
6296  ROM_Crc16
6297 #else
6298 #define MAP_Crc16 \
6299  Crc16
6300 #endif
6301 #ifdef ROM_Crc8CCITT
6302 #define MAP_Crc8CCITT \
6303  ROM_Crc8CCITT
6304 #else
6305 #define MAP_Crc8CCITT \
6306  Crc8CCITT
6307 #endif
6308 #ifdef ROM_Crc32
6309 #define MAP_Crc32 \
6310  ROM_Crc32
6311 #else
6312 #define MAP_Crc32 \
6313  Crc32
6314 #endif
6315 
6316 #endif // __DRIVERLIB_ROM_MAP_H__
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale