Tiva Driver Lib
rom_map.h
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-2013 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 // This is part of revision 1.1 of the Tiva Peripheral Driver Library.
38 //
39 //*****************************************************************************
40 
41 #ifndef __DRIVERLIB_ROM_MAP_H__
42 #define __DRIVERLIB_ROM_MAP_H__
43 
44 //*****************************************************************************
45 //
46 // Macros for the ADC API.
47 //
48 //*****************************************************************************
49 #ifdef ROM_ADCSequenceDataGet
50 #define MAP_ADCSequenceDataGet \
51  ROM_ADCSequenceDataGet
52 #else
53 #define MAP_ADCSequenceDataGet \
54  ADCSequenceDataGet
55 #endif
56 #ifdef ROM_ADCIntDisable
57 #define MAP_ADCIntDisable \
58  ROM_ADCIntDisable
59 #else
60 #define MAP_ADCIntDisable \
61  ADCIntDisable
62 #endif
63 #ifdef ROM_ADCIntEnable
64 #define MAP_ADCIntEnable \
65  ROM_ADCIntEnable
66 #else
67 #define MAP_ADCIntEnable \
68  ADCIntEnable
69 #endif
70 #ifdef ROM_ADCIntStatus
71 #define MAP_ADCIntStatus \
72  ROM_ADCIntStatus
73 #else
74 #define MAP_ADCIntStatus \
75  ADCIntStatus
76 #endif
77 #ifdef ROM_ADCIntClear
78 #define MAP_ADCIntClear \
79  ROM_ADCIntClear
80 #else
81 #define MAP_ADCIntClear \
82  ADCIntClear
83 #endif
84 #ifdef ROM_ADCSequenceEnable
85 #define MAP_ADCSequenceEnable \
86  ROM_ADCSequenceEnable
87 #else
88 #define MAP_ADCSequenceEnable \
89  ADCSequenceEnable
90 #endif
91 #ifdef ROM_ADCSequenceDisable
92 #define MAP_ADCSequenceDisable \
93  ROM_ADCSequenceDisable
94 #else
95 #define MAP_ADCSequenceDisable \
96  ADCSequenceDisable
97 #endif
98 #ifdef ROM_ADCSequenceConfigure
99 #define MAP_ADCSequenceConfigure \
100  ROM_ADCSequenceConfigure
101 #else
102 #define MAP_ADCSequenceConfigure \
103  ADCSequenceConfigure
104 #endif
105 #ifdef ROM_ADCSequenceStepConfigure
106 #define MAP_ADCSequenceStepConfigure \
107  ROM_ADCSequenceStepConfigure
108 #else
109 #define MAP_ADCSequenceStepConfigure \
110  ADCSequenceStepConfigure
111 #endif
112 #ifdef ROM_ADCSequenceOverflow
113 #define MAP_ADCSequenceOverflow \
114  ROM_ADCSequenceOverflow
115 #else
116 #define MAP_ADCSequenceOverflow \
117  ADCSequenceOverflow
118 #endif
119 #ifdef ROM_ADCSequenceOverflowClear
120 #define MAP_ADCSequenceOverflowClear \
121  ROM_ADCSequenceOverflowClear
122 #else
123 #define MAP_ADCSequenceOverflowClear \
124  ADCSequenceOverflowClear
125 #endif
126 #ifdef ROM_ADCSequenceUnderflow
127 #define MAP_ADCSequenceUnderflow \
128  ROM_ADCSequenceUnderflow
129 #else
130 #define MAP_ADCSequenceUnderflow \
131  ADCSequenceUnderflow
132 #endif
133 #ifdef ROM_ADCSequenceUnderflowClear
134 #define MAP_ADCSequenceUnderflowClear \
135  ROM_ADCSequenceUnderflowClear
136 #else
137 #define MAP_ADCSequenceUnderflowClear \
138  ADCSequenceUnderflowClear
139 #endif
140 #ifdef ROM_ADCProcessorTrigger
141 #define MAP_ADCProcessorTrigger \
142  ROM_ADCProcessorTrigger
143 #else
144 #define MAP_ADCProcessorTrigger \
145  ADCProcessorTrigger
146 #endif
147 #ifdef ROM_ADCHardwareOversampleConfigure
148 #define MAP_ADCHardwareOversampleConfigure \
149  ROM_ADCHardwareOversampleConfigure
150 #else
151 #define MAP_ADCHardwareOversampleConfigure \
152  ADCHardwareOversampleConfigure
153 #endif
154 #ifdef ROM_ADCComparatorConfigure
155 #define MAP_ADCComparatorConfigure \
156  ROM_ADCComparatorConfigure
157 #else
158 #define MAP_ADCComparatorConfigure \
159  ADCComparatorConfigure
160 #endif
161 #ifdef ROM_ADCComparatorRegionSet
162 #define MAP_ADCComparatorRegionSet \
163  ROM_ADCComparatorRegionSet
164 #else
165 #define MAP_ADCComparatorRegionSet \
166  ADCComparatorRegionSet
167 #endif
168 #ifdef ROM_ADCComparatorReset
169 #define MAP_ADCComparatorReset \
170  ROM_ADCComparatorReset
171 #else
172 #define MAP_ADCComparatorReset \
173  ADCComparatorReset
174 #endif
175 #ifdef ROM_ADCComparatorIntDisable
176 #define MAP_ADCComparatorIntDisable \
177  ROM_ADCComparatorIntDisable
178 #else
179 #define MAP_ADCComparatorIntDisable \
180  ADCComparatorIntDisable
181 #endif
182 #ifdef ROM_ADCComparatorIntEnable
183 #define MAP_ADCComparatorIntEnable \
184  ROM_ADCComparatorIntEnable
185 #else
186 #define MAP_ADCComparatorIntEnable \
187  ADCComparatorIntEnable
188 #endif
189 #ifdef ROM_ADCComparatorIntStatus
190 #define MAP_ADCComparatorIntStatus \
191  ROM_ADCComparatorIntStatus
192 #else
193 #define MAP_ADCComparatorIntStatus \
194  ADCComparatorIntStatus
195 #endif
196 #ifdef ROM_ADCComparatorIntClear
197 #define MAP_ADCComparatorIntClear \
198  ROM_ADCComparatorIntClear
199 #else
200 #define MAP_ADCComparatorIntClear \
201  ADCComparatorIntClear
202 #endif
203 #ifdef ROM_ADCReferenceSet
204 #define MAP_ADCReferenceSet \
205  ROM_ADCReferenceSet
206 #else
207 #define MAP_ADCReferenceSet \
208  ADCReferenceSet
209 #endif
210 #ifdef ROM_ADCReferenceGet
211 #define MAP_ADCReferenceGet \
212  ROM_ADCReferenceGet
213 #else
214 #define MAP_ADCReferenceGet \
215  ADCReferenceGet
216 #endif
217 #ifdef ROM_ADCPhaseDelaySet
218 #define MAP_ADCPhaseDelaySet \
219  ROM_ADCPhaseDelaySet
220 #else
221 #define MAP_ADCPhaseDelaySet \
222  ADCPhaseDelaySet
223 #endif
224 #ifdef ROM_ADCPhaseDelayGet
225 #define MAP_ADCPhaseDelayGet \
226  ROM_ADCPhaseDelayGet
227 #else
228 #define MAP_ADCPhaseDelayGet \
229  ADCPhaseDelayGet
230 #endif
231 
232 //*****************************************************************************
233 //
234 // Macros for the CAN API.
235 //
236 //*****************************************************************************
237 #ifdef ROM_CANIntClear
238 #define MAP_CANIntClear \
239  ROM_CANIntClear
240 #else
241 #define MAP_CANIntClear \
242  CANIntClear
243 #endif
244 #ifdef ROM_CANInit
245 #define MAP_CANInit \
246  ROM_CANInit
247 #else
248 #define MAP_CANInit \
249  CANInit
250 #endif
251 #ifdef ROM_CANEnable
252 #define MAP_CANEnable \
253  ROM_CANEnable
254 #else
255 #define MAP_CANEnable \
256  CANEnable
257 #endif
258 #ifdef ROM_CANDisable
259 #define MAP_CANDisable \
260  ROM_CANDisable
261 #else
262 #define MAP_CANDisable \
263  CANDisable
264 #endif
265 #ifdef ROM_CANBitTimingSet
266 #define MAP_CANBitTimingSet \
267  ROM_CANBitTimingSet
268 #else
269 #define MAP_CANBitTimingSet \
270  CANBitTimingSet
271 #endif
272 #ifdef ROM_CANBitTimingGet
273 #define MAP_CANBitTimingGet \
274  ROM_CANBitTimingGet
275 #else
276 #define MAP_CANBitTimingGet \
277  CANBitTimingGet
278 #endif
279 #ifdef ROM_CANMessageSet
280 #define MAP_CANMessageSet \
281  ROM_CANMessageSet
282 #else
283 #define MAP_CANMessageSet \
284  CANMessageSet
285 #endif
286 #ifdef ROM_CANMessageGet
287 #define MAP_CANMessageGet \
288  ROM_CANMessageGet
289 #else
290 #define MAP_CANMessageGet \
291  CANMessageGet
292 #endif
293 #ifdef ROM_CANStatusGet
294 #define MAP_CANStatusGet \
295  ROM_CANStatusGet
296 #else
297 #define MAP_CANStatusGet \
298  CANStatusGet
299 #endif
300 #ifdef ROM_CANMessageClear
301 #define MAP_CANMessageClear \
302  ROM_CANMessageClear
303 #else
304 #define MAP_CANMessageClear \
305  CANMessageClear
306 #endif
307 #ifdef ROM_CANIntEnable
308 #define MAP_CANIntEnable \
309  ROM_CANIntEnable
310 #else
311 #define MAP_CANIntEnable \
312  CANIntEnable
313 #endif
314 #ifdef ROM_CANIntDisable
315 #define MAP_CANIntDisable \
316  ROM_CANIntDisable
317 #else
318 #define MAP_CANIntDisable \
319  CANIntDisable
320 #endif
321 #ifdef ROM_CANIntStatus
322 #define MAP_CANIntStatus \
323  ROM_CANIntStatus
324 #else
325 #define MAP_CANIntStatus \
326  CANIntStatus
327 #endif
328 #ifdef ROM_CANRetryGet
329 #define MAP_CANRetryGet \
330  ROM_CANRetryGet
331 #else
332 #define MAP_CANRetryGet \
333  CANRetryGet
334 #endif
335 #ifdef ROM_CANRetrySet
336 #define MAP_CANRetrySet \
337  ROM_CANRetrySet
338 #else
339 #define MAP_CANRetrySet \
340  CANRetrySet
341 #endif
342 #ifdef ROM_CANErrCntrGet
343 #define MAP_CANErrCntrGet \
344  ROM_CANErrCntrGet
345 #else
346 #define MAP_CANErrCntrGet \
347  CANErrCntrGet
348 #endif
349 #ifdef ROM_CANBitRateSet
350 #define MAP_CANBitRateSet \
351  ROM_CANBitRateSet
352 #else
353 #define MAP_CANBitRateSet \
354  CANBitRateSet
355 #endif
356 
357 //*****************************************************************************
358 //
359 // Macros for the Comparator API.
360 //
361 //*****************************************************************************
362 #ifdef ROM_ComparatorIntClear
363 #define MAP_ComparatorIntClear \
364  ROM_ComparatorIntClear
365 #else
366 #define MAP_ComparatorIntClear \
367  ComparatorIntClear
368 #endif
369 #ifdef ROM_ComparatorConfigure
370 #define MAP_ComparatorConfigure \
371  ROM_ComparatorConfigure
372 #else
373 #define MAP_ComparatorConfigure \
374  ComparatorConfigure
375 #endif
376 #ifdef ROM_ComparatorRefSet
377 #define MAP_ComparatorRefSet \
378  ROM_ComparatorRefSet
379 #else
380 #define MAP_ComparatorRefSet \
381  ComparatorRefSet
382 #endif
383 #ifdef ROM_ComparatorValueGet
384 #define MAP_ComparatorValueGet \
385  ROM_ComparatorValueGet
386 #else
387 #define MAP_ComparatorValueGet \
388  ComparatorValueGet
389 #endif
390 #ifdef ROM_ComparatorIntEnable
391 #define MAP_ComparatorIntEnable \
392  ROM_ComparatorIntEnable
393 #else
394 #define MAP_ComparatorIntEnable \
395  ComparatorIntEnable
396 #endif
397 #ifdef ROM_ComparatorIntDisable
398 #define MAP_ComparatorIntDisable \
399  ROM_ComparatorIntDisable
400 #else
401 #define MAP_ComparatorIntDisable \
402  ComparatorIntDisable
403 #endif
404 #ifdef ROM_ComparatorIntStatus
405 #define MAP_ComparatorIntStatus \
406  ROM_ComparatorIntStatus
407 #else
408 #define MAP_ComparatorIntStatus \
409  ComparatorIntStatus
410 #endif
411 
412 //*****************************************************************************
413 //
414 // Macros for the EEPROM API.
415 //
416 //*****************************************************************************
417 #ifdef ROM_EEPROMRead
418 #define MAP_EEPROMRead \
419  ROM_EEPROMRead
420 #else
421 #define MAP_EEPROMRead \
422  EEPROMRead
423 #endif
424 #ifdef ROM_EEPROMBlockCountGet
425 #define MAP_EEPROMBlockCountGet \
426  ROM_EEPROMBlockCountGet
427 #else
428 #define MAP_EEPROMBlockCountGet \
429  EEPROMBlockCountGet
430 #endif
431 #ifdef ROM_EEPROMBlockHide
432 #define MAP_EEPROMBlockHide \
433  ROM_EEPROMBlockHide
434 #else
435 #define MAP_EEPROMBlockHide \
436  EEPROMBlockHide
437 #endif
438 #ifdef ROM_EEPROMBlockLock
439 #define MAP_EEPROMBlockLock \
440  ROM_EEPROMBlockLock
441 #else
442 #define MAP_EEPROMBlockLock \
443  EEPROMBlockLock
444 #endif
445 #ifdef ROM_EEPROMBlockPasswordSet
446 #define MAP_EEPROMBlockPasswordSet \
447  ROM_EEPROMBlockPasswordSet
448 #else
449 #define MAP_EEPROMBlockPasswordSet \
450  EEPROMBlockPasswordSet
451 #endif
452 #ifdef ROM_EEPROMBlockProtectGet
453 #define MAP_EEPROMBlockProtectGet \
454  ROM_EEPROMBlockProtectGet
455 #else
456 #define MAP_EEPROMBlockProtectGet \
457  EEPROMBlockProtectGet
458 #endif
459 #ifdef ROM_EEPROMBlockProtectSet
460 #define MAP_EEPROMBlockProtectSet \
461  ROM_EEPROMBlockProtectSet
462 #else
463 #define MAP_EEPROMBlockProtectSet \
464  EEPROMBlockProtectSet
465 #endif
466 #ifdef ROM_EEPROMBlockUnlock
467 #define MAP_EEPROMBlockUnlock \
468  ROM_EEPROMBlockUnlock
469 #else
470 #define MAP_EEPROMBlockUnlock \
471  EEPROMBlockUnlock
472 #endif
473 #ifdef ROM_EEPROMIntClear
474 #define MAP_EEPROMIntClear \
475  ROM_EEPROMIntClear
476 #else
477 #define MAP_EEPROMIntClear \
478  EEPROMIntClear
479 #endif
480 #ifdef ROM_EEPROMIntDisable
481 #define MAP_EEPROMIntDisable \
482  ROM_EEPROMIntDisable
483 #else
484 #define MAP_EEPROMIntDisable \
485  EEPROMIntDisable
486 #endif
487 #ifdef ROM_EEPROMIntEnable
488 #define MAP_EEPROMIntEnable \
489  ROM_EEPROMIntEnable
490 #else
491 #define MAP_EEPROMIntEnable \
492  EEPROMIntEnable
493 #endif
494 #ifdef ROM_EEPROMIntStatus
495 #define MAP_EEPROMIntStatus \
496  ROM_EEPROMIntStatus
497 #else
498 #define MAP_EEPROMIntStatus \
499  EEPROMIntStatus
500 #endif
501 #ifdef ROM_EEPROMMassErase
502 #define MAP_EEPROMMassErase \
503  ROM_EEPROMMassErase
504 #else
505 #define MAP_EEPROMMassErase \
506  EEPROMMassErase
507 #endif
508 #ifdef ROM_EEPROMProgram
509 #define MAP_EEPROMProgram \
510  ROM_EEPROMProgram
511 #else
512 #define MAP_EEPROMProgram \
513  EEPROMProgram
514 #endif
515 #ifdef ROM_EEPROMProgramNonBlocking
516 #define MAP_EEPROMProgramNonBlocking \
517  ROM_EEPROMProgramNonBlocking
518 #else
519 #define MAP_EEPROMProgramNonBlocking \
520  EEPROMProgramNonBlocking
521 #endif
522 #ifdef ROM_EEPROMSizeGet
523 #define MAP_EEPROMSizeGet \
524  ROM_EEPROMSizeGet
525 #else
526 #define MAP_EEPROMSizeGet \
527  EEPROMSizeGet
528 #endif
529 #ifdef ROM_EEPROMStatusGet
530 #define MAP_EEPROMStatusGet \
531  ROM_EEPROMStatusGet
532 #else
533 #define MAP_EEPROMStatusGet \
534  EEPROMStatusGet
535 #endif
536 #ifdef ROM_EEPROMInit
537 #define MAP_EEPROMInit \
538  ROM_EEPROMInit
539 #else
540 #define MAP_EEPROMInit \
541  EEPROMInit
542 #endif
543 
544 //*****************************************************************************
545 //
546 // Macros for the Fan API.
547 //
548 //*****************************************************************************
549 #ifdef ROM_FanIntClear
550 #define MAP_FanIntClear \
551  ROM_FanIntClear
552 #else
553 #define MAP_FanIntClear \
554  FanIntClear
555 #endif
556 #ifdef ROM_FanChannelConfigAuto
557 #define MAP_FanChannelConfigAuto \
558  ROM_FanChannelConfigAuto
559 #else
560 #define MAP_FanChannelConfigAuto \
561  FanChannelConfigAuto
562 #endif
563 #ifdef ROM_FanChannelConfigManual
564 #define MAP_FanChannelConfigManual \
565  ROM_FanChannelConfigManual
566 #else
567 #define MAP_FanChannelConfigManual \
568  FanChannelConfigManual
569 #endif
570 #ifdef ROM_FanChannelDisable
571 #define MAP_FanChannelDisable \
572  ROM_FanChannelDisable
573 #else
574 #define MAP_FanChannelDisable \
575  FanChannelDisable
576 #endif
577 #ifdef ROM_FanChannelDutyGet
578 #define MAP_FanChannelDutyGet \
579  ROM_FanChannelDutyGet
580 #else
581 #define MAP_FanChannelDutyGet \
582  FanChannelDutyGet
583 #endif
584 #ifdef ROM_FanChannelDutySet
585 #define MAP_FanChannelDutySet \
586  ROM_FanChannelDutySet
587 #else
588 #define MAP_FanChannelDutySet \
589  FanChannelDutySet
590 #endif
591 #ifdef ROM_FanChannelEnable
592 #define MAP_FanChannelEnable \
593  ROM_FanChannelEnable
594 #else
595 #define MAP_FanChannelEnable \
596  FanChannelEnable
597 #endif
598 #ifdef ROM_FanChannelRPMGet
599 #define MAP_FanChannelRPMGet \
600  ROM_FanChannelRPMGet
601 #else
602 #define MAP_FanChannelRPMGet \
603  FanChannelRPMGet
604 #endif
605 #ifdef ROM_FanChannelRPMSet
606 #define MAP_FanChannelRPMSet \
607  ROM_FanChannelRPMSet
608 #else
609 #define MAP_FanChannelRPMSet \
610  FanChannelRPMSet
611 #endif
612 #ifdef ROM_FanChannelStatus
613 #define MAP_FanChannelStatus \
614  ROM_FanChannelStatus
615 #else
616 #define MAP_FanChannelStatus \
617  FanChannelStatus
618 #endif
619 #ifdef ROM_FanChannelsGet
620 #define MAP_FanChannelsGet \
621  ROM_FanChannelsGet
622 #else
623 #define MAP_FanChannelsGet \
624  FanChannelsGet
625 #endif
626 #ifdef ROM_FanIntDisable
627 #define MAP_FanIntDisable \
628  ROM_FanIntDisable
629 #else
630 #define MAP_FanIntDisable \
631  FanIntDisable
632 #endif
633 #ifdef ROM_FanIntEnable
634 #define MAP_FanIntEnable \
635  ROM_FanIntEnable
636 #else
637 #define MAP_FanIntEnable \
638  FanIntEnable
639 #endif
640 #ifdef ROM_FanIntStatus
641 #define MAP_FanIntStatus \
642  ROM_FanIntStatus
643 #else
644 #define MAP_FanIntStatus \
645  FanIntStatus
646 #endif
647 
648 //*****************************************************************************
649 //
650 // Macros for the Flash API.
651 //
652 //*****************************************************************************
653 #ifdef ROM_FlashProgram
654 #define MAP_FlashProgram \
655  ROM_FlashProgram
656 #else
657 #define MAP_FlashProgram \
658  FlashProgram
659 #endif
660 #ifdef ROM_FlashErase
661 #define MAP_FlashErase \
662  ROM_FlashErase
663 #else
664 #define MAP_FlashErase \
665  FlashErase
666 #endif
667 #ifdef ROM_FlashProtectGet
668 #define MAP_FlashProtectGet \
669  ROM_FlashProtectGet
670 #else
671 #define MAP_FlashProtectGet \
672  FlashProtectGet
673 #endif
674 #ifdef ROM_FlashProtectSet
675 #define MAP_FlashProtectSet \
676  ROM_FlashProtectSet
677 #else
678 #define MAP_FlashProtectSet \
679  FlashProtectSet
680 #endif
681 #ifdef ROM_FlashProtectSave
682 #define MAP_FlashProtectSave \
683  ROM_FlashProtectSave
684 #else
685 #define MAP_FlashProtectSave \
686  FlashProtectSave
687 #endif
688 #ifdef ROM_FlashUserGet
689 #define MAP_FlashUserGet \
690  ROM_FlashUserGet
691 #else
692 #define MAP_FlashUserGet \
693  FlashUserGet
694 #endif
695 #ifdef ROM_FlashUserSet
696 #define MAP_FlashUserSet \
697  ROM_FlashUserSet
698 #else
699 #define MAP_FlashUserSet \
700  FlashUserSet
701 #endif
702 #ifdef ROM_FlashUserSave
703 #define MAP_FlashUserSave \
704  ROM_FlashUserSave
705 #else
706 #define MAP_FlashUserSave \
707  FlashUserSave
708 #endif
709 #ifdef ROM_FlashIntEnable
710 #define MAP_FlashIntEnable \
711  ROM_FlashIntEnable
712 #else
713 #define MAP_FlashIntEnable \
714  FlashIntEnable
715 #endif
716 #ifdef ROM_FlashIntDisable
717 #define MAP_FlashIntDisable \
718  ROM_FlashIntDisable
719 #else
720 #define MAP_FlashIntDisable \
721  FlashIntDisable
722 #endif
723 #ifdef ROM_FlashIntStatus
724 #define MAP_FlashIntStatus \
725  ROM_FlashIntStatus
726 #else
727 #define MAP_FlashIntStatus \
728  FlashIntStatus
729 #endif
730 #ifdef ROM_FlashIntClear
731 #define MAP_FlashIntClear \
732  ROM_FlashIntClear
733 #else
734 #define MAP_FlashIntClear \
735  FlashIntClear
736 #endif
737 
738 //*****************************************************************************
739 //
740 // Macros for the FPU API.
741 //
742 //*****************************************************************************
743 #ifdef ROM_FPUEnable
744 #define MAP_FPUEnable \
745  ROM_FPUEnable
746 #else
747 #define MAP_FPUEnable \
748  FPUEnable
749 #endif
750 #ifdef ROM_FPUDisable
751 #define MAP_FPUDisable \
752  ROM_FPUDisable
753 #else
754 #define MAP_FPUDisable \
755  FPUDisable
756 #endif
757 #ifdef ROM_FPUFlushToZeroModeSet
758 #define MAP_FPUFlushToZeroModeSet \
759  ROM_FPUFlushToZeroModeSet
760 #else
761 #define MAP_FPUFlushToZeroModeSet \
762  FPUFlushToZeroModeSet
763 #endif
764 #ifdef ROM_FPUHalfPrecisionModeSet
765 #define MAP_FPUHalfPrecisionModeSet \
766  ROM_FPUHalfPrecisionModeSet
767 #else
768 #define MAP_FPUHalfPrecisionModeSet \
769  FPUHalfPrecisionModeSet
770 #endif
771 #ifdef ROM_FPULazyStackingEnable
772 #define MAP_FPULazyStackingEnable \
773  ROM_FPULazyStackingEnable
774 #else
775 #define MAP_FPULazyStackingEnable \
776  FPULazyStackingEnable
777 #endif
778 #ifdef ROM_FPUNaNModeSet
779 #define MAP_FPUNaNModeSet \
780  ROM_FPUNaNModeSet
781 #else
782 #define MAP_FPUNaNModeSet \
783  FPUNaNModeSet
784 #endif
785 #ifdef ROM_FPURoundingModeSet
786 #define MAP_FPURoundingModeSet \
787  ROM_FPURoundingModeSet
788 #else
789 #define MAP_FPURoundingModeSet \
790  FPURoundingModeSet
791 #endif
792 #ifdef ROM_FPUStackingDisable
793 #define MAP_FPUStackingDisable \
794  ROM_FPUStackingDisable
795 #else
796 #define MAP_FPUStackingDisable \
797  FPUStackingDisable
798 #endif
799 #ifdef ROM_FPUStackingEnable
800 #define MAP_FPUStackingEnable \
801  ROM_FPUStackingEnable
802 #else
803 #define MAP_FPUStackingEnable \
804  FPUStackingEnable
805 #endif
806 
807 //*****************************************************************************
808 //
809 // Macros for the GPIO API.
810 //
811 //*****************************************************************************
812 #ifdef ROM_GPIOPinWrite
813 #define MAP_GPIOPinWrite \
814  ROM_GPIOPinWrite
815 #else
816 #define MAP_GPIOPinWrite \
817  GPIOPinWrite
818 #endif
819 #ifdef ROM_GPIODirModeSet
820 #define MAP_GPIODirModeSet \
821  ROM_GPIODirModeSet
822 #else
823 #define MAP_GPIODirModeSet \
824  GPIODirModeSet
825 #endif
826 #ifdef ROM_GPIODirModeGet
827 #define MAP_GPIODirModeGet \
828  ROM_GPIODirModeGet
829 #else
830 #define MAP_GPIODirModeGet \
831  GPIODirModeGet
832 #endif
833 #ifdef ROM_GPIOIntTypeSet
834 #define MAP_GPIOIntTypeSet \
835  ROM_GPIOIntTypeSet
836 #else
837 #define MAP_GPIOIntTypeSet \
838  GPIOIntTypeSet
839 #endif
840 #ifdef ROM_GPIOIntTypeGet
841 #define MAP_GPIOIntTypeGet \
842  ROM_GPIOIntTypeGet
843 #else
844 #define MAP_GPIOIntTypeGet \
845  GPIOIntTypeGet
846 #endif
847 #ifdef ROM_GPIOPadConfigSet
848 #define MAP_GPIOPadConfigSet \
849  ROM_GPIOPadConfigSet
850 #else
851 #define MAP_GPIOPadConfigSet \
852  GPIOPadConfigSet
853 #endif
854 #ifdef ROM_GPIOPadConfigGet
855 #define MAP_GPIOPadConfigGet \
856  ROM_GPIOPadConfigGet
857 #else
858 #define MAP_GPIOPadConfigGet \
859  GPIOPadConfigGet
860 #endif
861 #ifdef ROM_GPIOPinRead
862 #define MAP_GPIOPinRead \
863  ROM_GPIOPinRead
864 #else
865 #define MAP_GPIOPinRead \
866  GPIOPinRead
867 #endif
868 #ifdef ROM_GPIOPinTypeCAN
869 #define MAP_GPIOPinTypeCAN \
870  ROM_GPIOPinTypeCAN
871 #else
872 #define MAP_GPIOPinTypeCAN \
873  GPIOPinTypeCAN
874 #endif
875 #ifdef ROM_GPIOPinTypeComparator
876 #define MAP_GPIOPinTypeComparator \
877  ROM_GPIOPinTypeComparator
878 #else
879 #define MAP_GPIOPinTypeComparator \
880  GPIOPinTypeComparator
881 #endif
882 #ifdef ROM_GPIOPinTypeGPIOInput
883 #define MAP_GPIOPinTypeGPIOInput \
884  ROM_GPIOPinTypeGPIOInput
885 #else
886 #define MAP_GPIOPinTypeGPIOInput \
887  GPIOPinTypeGPIOInput
888 #endif
889 #ifdef ROM_GPIOPinTypeGPIOOutput
890 #define MAP_GPIOPinTypeGPIOOutput \
891  ROM_GPIOPinTypeGPIOOutput
892 #else
893 #define MAP_GPIOPinTypeGPIOOutput \
894  GPIOPinTypeGPIOOutput
895 #endif
896 #ifdef ROM_GPIOPinTypeI2C
897 #define MAP_GPIOPinTypeI2C \
898  ROM_GPIOPinTypeI2C
899 #else
900 #define MAP_GPIOPinTypeI2C \
901  GPIOPinTypeI2C
902 #endif
903 #ifdef ROM_GPIOPinTypePWM
904 #define MAP_GPIOPinTypePWM \
905  ROM_GPIOPinTypePWM
906 #else
907 #define MAP_GPIOPinTypePWM \
908  GPIOPinTypePWM
909 #endif
910 #ifdef ROM_GPIOPinTypeQEI
911 #define MAP_GPIOPinTypeQEI \
912  ROM_GPIOPinTypeQEI
913 #else
914 #define MAP_GPIOPinTypeQEI \
915  GPIOPinTypeQEI
916 #endif
917 #ifdef ROM_GPIOPinTypeSSI
918 #define MAP_GPIOPinTypeSSI \
919  ROM_GPIOPinTypeSSI
920 #else
921 #define MAP_GPIOPinTypeSSI \
922  GPIOPinTypeSSI
923 #endif
924 #ifdef ROM_GPIOPinTypeTimer
925 #define MAP_GPIOPinTypeTimer \
926  ROM_GPIOPinTypeTimer
927 #else
928 #define MAP_GPIOPinTypeTimer \
929  GPIOPinTypeTimer
930 #endif
931 #ifdef ROM_GPIOPinTypeUART
932 #define MAP_GPIOPinTypeUART \
933  ROM_GPIOPinTypeUART
934 #else
935 #define MAP_GPIOPinTypeUART \
936  GPIOPinTypeUART
937 #endif
938 #ifdef ROM_GPIOPinTypeGPIOOutputOD
939 #define MAP_GPIOPinTypeGPIOOutputOD \
940  ROM_GPIOPinTypeGPIOOutputOD
941 #else
942 #define MAP_GPIOPinTypeGPIOOutputOD \
943  GPIOPinTypeGPIOOutputOD
944 #endif
945 #ifdef ROM_GPIOPinTypeADC
946 #define MAP_GPIOPinTypeADC \
947  ROM_GPIOPinTypeADC
948 #else
949 #define MAP_GPIOPinTypeADC \
950  GPIOPinTypeADC
951 #endif
952 #ifdef ROM_GPIOPinTypeUSBDigital
953 #define MAP_GPIOPinTypeUSBDigital \
954  ROM_GPIOPinTypeUSBDigital
955 #else
956 #define MAP_GPIOPinTypeUSBDigital \
957  GPIOPinTypeUSBDigital
958 #endif
959 #ifdef ROM_GPIOPinConfigure
960 #define MAP_GPIOPinConfigure \
961  ROM_GPIOPinConfigure
962 #else
963 #define MAP_GPIOPinConfigure \
964  GPIOPinConfigure
965 #endif
966 #ifdef ROM_GPIOPinTypeUSBAnalog
967 #define MAP_GPIOPinTypeUSBAnalog \
968  ROM_GPIOPinTypeUSBAnalog
969 #else
970 #define MAP_GPIOPinTypeUSBAnalog \
971  GPIOPinTypeUSBAnalog
972 #endif
973 #ifdef ROM_GPIODMATriggerEnable
974 #define MAP_GPIODMATriggerEnable \
975  ROM_GPIODMATriggerEnable
976 #else
977 #define MAP_GPIODMATriggerEnable \
978  GPIODMATriggerEnable
979 #endif
980 #ifdef ROM_GPIODMATriggerDisable
981 #define MAP_GPIODMATriggerDisable \
982  ROM_GPIODMATriggerDisable
983 #else
984 #define MAP_GPIODMATriggerDisable \
985  GPIODMATriggerDisable
986 #endif
987 #ifdef ROM_GPIOADCTriggerEnable
988 #define MAP_GPIOADCTriggerEnable \
989  ROM_GPIOADCTriggerEnable
990 #else
991 #define MAP_GPIOADCTriggerEnable \
992  GPIOADCTriggerEnable
993 #endif
994 #ifdef ROM_GPIOADCTriggerDisable
995 #define MAP_GPIOADCTriggerDisable \
996  ROM_GPIOADCTriggerDisable
997 #else
998 #define MAP_GPIOADCTriggerDisable \
999  GPIOADCTriggerDisable
1000 #endif
1001 #ifdef ROM_GPIOPinTypeFan
1002 #define MAP_GPIOPinTypeFan \
1003  ROM_GPIOPinTypeFan
1004 #else
1005 #define MAP_GPIOPinTypeFan \
1006  GPIOPinTypeFan
1007 #endif
1008 #ifdef ROM_GPIOPinTypeLPC
1009 #define MAP_GPIOPinTypeLPC \
1010  ROM_GPIOPinTypeLPC
1011 #else
1012 #define MAP_GPIOPinTypeLPC \
1013  GPIOPinTypeLPC
1014 #endif
1015 #ifdef ROM_GPIOPinTypePECIRx
1016 #define MAP_GPIOPinTypePECIRx \
1017  ROM_GPIOPinTypePECIRx
1018 #else
1019 #define MAP_GPIOPinTypePECIRx \
1020  GPIOPinTypePECIRx
1021 #endif
1022 #ifdef ROM_GPIOPinTypePECITx
1023 #define MAP_GPIOPinTypePECITx \
1024  ROM_GPIOPinTypePECITx
1025 #else
1026 #define MAP_GPIOPinTypePECITx \
1027  GPIOPinTypePECITx
1028 #endif
1029 #ifdef ROM_GPIOPinTypeI2CSCL
1030 #define MAP_GPIOPinTypeI2CSCL \
1031  ROM_GPIOPinTypeI2CSCL
1032 #else
1033 #define MAP_GPIOPinTypeI2CSCL \
1034  GPIOPinTypeI2CSCL
1035 #endif
1036 
1037 //*****************************************************************************
1038 //
1039 // Macros for the Hibernate API.
1040 //
1041 //*****************************************************************************
1042 #ifdef ROM_HibernateIntClear
1043 #define MAP_HibernateIntClear \
1044  ROM_HibernateIntClear
1045 #else
1046 #define MAP_HibernateIntClear \
1047  HibernateIntClear
1048 #endif
1049 #ifdef ROM_HibernateEnableExpClk
1050 #define MAP_HibernateEnableExpClk \
1051  ROM_HibernateEnableExpClk
1052 #else
1053 #define MAP_HibernateEnableExpClk \
1054  HibernateEnableExpClk
1055 #endif
1056 #ifdef ROM_HibernateDisable
1057 #define MAP_HibernateDisable \
1058  ROM_HibernateDisable
1059 #else
1060 #define MAP_HibernateDisable \
1061  HibernateDisable
1062 #endif
1063 #ifdef ROM_HibernateRTCEnable
1064 #define MAP_HibernateRTCEnable \
1065  ROM_HibernateRTCEnable
1066 #else
1067 #define MAP_HibernateRTCEnable \
1068  HibernateRTCEnable
1069 #endif
1070 #ifdef ROM_HibernateRTCDisable
1071 #define MAP_HibernateRTCDisable \
1072  ROM_HibernateRTCDisable
1073 #else
1074 #define MAP_HibernateRTCDisable \
1075  HibernateRTCDisable
1076 #endif
1077 #ifdef ROM_HibernateWakeSet
1078 #define MAP_HibernateWakeSet \
1079  ROM_HibernateWakeSet
1080 #else
1081 #define MAP_HibernateWakeSet \
1082  HibernateWakeSet
1083 #endif
1084 #ifdef ROM_HibernateWakeGet
1085 #define MAP_HibernateWakeGet \
1086  ROM_HibernateWakeGet
1087 #else
1088 #define MAP_HibernateWakeGet \
1089  HibernateWakeGet
1090 #endif
1091 #ifdef ROM_HibernateLowBatSet
1092 #define MAP_HibernateLowBatSet \
1093  ROM_HibernateLowBatSet
1094 #else
1095 #define MAP_HibernateLowBatSet \
1096  HibernateLowBatSet
1097 #endif
1098 #ifdef ROM_HibernateLowBatGet
1099 #define MAP_HibernateLowBatGet \
1100  ROM_HibernateLowBatGet
1101 #else
1102 #define MAP_HibernateLowBatGet \
1103  HibernateLowBatGet
1104 #endif
1105 #ifdef ROM_HibernateRTCSet
1106 #define MAP_HibernateRTCSet \
1107  ROM_HibernateRTCSet
1108 #else
1109 #define MAP_HibernateRTCSet \
1110  HibernateRTCSet
1111 #endif
1112 #ifdef ROM_HibernateRTCGet
1113 #define MAP_HibernateRTCGet \
1114  ROM_HibernateRTCGet
1115 #else
1116 #define MAP_HibernateRTCGet \
1117  HibernateRTCGet
1118 #endif
1119 #ifdef ROM_HibernateRTCTrimSet
1120 #define MAP_HibernateRTCTrimSet \
1121  ROM_HibernateRTCTrimSet
1122 #else
1123 #define MAP_HibernateRTCTrimSet \
1124  HibernateRTCTrimSet
1125 #endif
1126 #ifdef ROM_HibernateRTCTrimGet
1127 #define MAP_HibernateRTCTrimGet \
1128  ROM_HibernateRTCTrimGet
1129 #else
1130 #define MAP_HibernateRTCTrimGet \
1131  HibernateRTCTrimGet
1132 #endif
1133 #ifdef ROM_HibernateDataSet
1134 #define MAP_HibernateDataSet \
1135  ROM_HibernateDataSet
1136 #else
1137 #define MAP_HibernateDataSet \
1138  HibernateDataSet
1139 #endif
1140 #ifdef ROM_HibernateDataGet
1141 #define MAP_HibernateDataGet \
1142  ROM_HibernateDataGet
1143 #else
1144 #define MAP_HibernateDataGet \
1145  HibernateDataGet
1146 #endif
1147 #ifdef ROM_HibernateRequest
1148 #define MAP_HibernateRequest \
1149  ROM_HibernateRequest
1150 #else
1151 #define MAP_HibernateRequest \
1152  HibernateRequest
1153 #endif
1154 #ifdef ROM_HibernateIntEnable
1155 #define MAP_HibernateIntEnable \
1156  ROM_HibernateIntEnable
1157 #else
1158 #define MAP_HibernateIntEnable \
1159  HibernateIntEnable
1160 #endif
1161 #ifdef ROM_HibernateIntDisable
1162 #define MAP_HibernateIntDisable \
1163  ROM_HibernateIntDisable
1164 #else
1165 #define MAP_HibernateIntDisable \
1166  HibernateIntDisable
1167 #endif
1168 #ifdef ROM_HibernateIntStatus
1169 #define MAP_HibernateIntStatus \
1170  ROM_HibernateIntStatus
1171 #else
1172 #define MAP_HibernateIntStatus \
1173  HibernateIntStatus
1174 #endif
1175 #ifdef ROM_HibernateIsActive
1176 #define MAP_HibernateIsActive \
1177  ROM_HibernateIsActive
1178 #else
1179 #define MAP_HibernateIsActive \
1180  HibernateIsActive
1181 #endif
1182 #ifdef ROM_HibernateRTCSSGet
1183 #define MAP_HibernateRTCSSGet \
1184  ROM_HibernateRTCSSGet
1185 #else
1186 #define MAP_HibernateRTCSSGet \
1187  HibernateRTCSSGet
1188 #endif
1189 #ifdef ROM_HibernateClockConfig
1190 #define MAP_HibernateClockConfig \
1191  ROM_HibernateClockConfig
1192 #else
1193 #define MAP_HibernateClockConfig \
1194  HibernateClockConfig
1195 #endif
1196 #ifdef ROM_HibernateBatCheckStart
1197 #define MAP_HibernateBatCheckStart \
1198  ROM_HibernateBatCheckStart
1199 #else
1200 #define MAP_HibernateBatCheckStart \
1201  HibernateBatCheckStart
1202 #endif
1203 #ifdef ROM_HibernateBatCheckDone
1204 #define MAP_HibernateBatCheckDone \
1205  ROM_HibernateBatCheckDone
1206 #else
1207 #define MAP_HibernateBatCheckDone \
1208  HibernateBatCheckDone
1209 #endif
1210 
1211 //*****************************************************************************
1212 //
1213 // Macros for the I2C API.
1214 //
1215 //*****************************************************************************
1216 #ifdef ROM_I2CMasterDataPut
1217 #define MAP_I2CMasterDataPut \
1218  ROM_I2CMasterDataPut
1219 #else
1220 #define MAP_I2CMasterDataPut \
1221  I2CMasterDataPut
1222 #endif
1223 #ifdef ROM_I2CMasterInitExpClk
1224 #define MAP_I2CMasterInitExpClk \
1225  ROM_I2CMasterInitExpClk
1226 #else
1227 #define MAP_I2CMasterInitExpClk \
1228  I2CMasterInitExpClk
1229 #endif
1230 #ifdef ROM_I2CMasterEnable
1231 #define MAP_I2CMasterEnable \
1232  ROM_I2CMasterEnable
1233 #else
1234 #define MAP_I2CMasterEnable \
1235  I2CMasterEnable
1236 #endif
1237 #ifdef ROM_I2CMasterDisable
1238 #define MAP_I2CMasterDisable \
1239  ROM_I2CMasterDisable
1240 #else
1241 #define MAP_I2CMasterDisable \
1242  I2CMasterDisable
1243 #endif
1244 #ifdef ROM_I2CMasterIntEnable
1245 #define MAP_I2CMasterIntEnable \
1246  ROM_I2CMasterIntEnable
1247 #else
1248 #define MAP_I2CMasterIntEnable \
1249  I2CMasterIntEnable
1250 #endif
1251 #ifdef ROM_I2CMasterIntDisable
1252 #define MAP_I2CMasterIntDisable \
1253  ROM_I2CMasterIntDisable
1254 #else
1255 #define MAP_I2CMasterIntDisable \
1256  I2CMasterIntDisable
1257 #endif
1258 #ifdef ROM_I2CMasterIntStatus
1259 #define MAP_I2CMasterIntStatus \
1260  ROM_I2CMasterIntStatus
1261 #else
1262 #define MAP_I2CMasterIntStatus \
1263  I2CMasterIntStatus
1264 #endif
1265 #ifdef ROM_I2CMasterIntClear
1266 #define MAP_I2CMasterIntClear \
1267  ROM_I2CMasterIntClear
1268 #else
1269 #define MAP_I2CMasterIntClear \
1270  I2CMasterIntClear
1271 #endif
1272 #ifdef ROM_I2CMasterSlaveAddrSet
1273 #define MAP_I2CMasterSlaveAddrSet \
1274  ROM_I2CMasterSlaveAddrSet
1275 #else
1276 #define MAP_I2CMasterSlaveAddrSet \
1277  I2CMasterSlaveAddrSet
1278 #endif
1279 #ifdef ROM_I2CMasterBusy
1280 #define MAP_I2CMasterBusy \
1281  ROM_I2CMasterBusy
1282 #else
1283 #define MAP_I2CMasterBusy \
1284  I2CMasterBusy
1285 #endif
1286 #ifdef ROM_I2CMasterBusBusy
1287 #define MAP_I2CMasterBusBusy \
1288  ROM_I2CMasterBusBusy
1289 #else
1290 #define MAP_I2CMasterBusBusy \
1291  I2CMasterBusBusy
1292 #endif
1293 #ifdef ROM_I2CMasterControl
1294 #define MAP_I2CMasterControl \
1295  ROM_I2CMasterControl
1296 #else
1297 #define MAP_I2CMasterControl \
1298  I2CMasterControl
1299 #endif
1300 #ifdef ROM_I2CMasterErr
1301 #define MAP_I2CMasterErr \
1302  ROM_I2CMasterErr
1303 #else
1304 #define MAP_I2CMasterErr \
1305  I2CMasterErr
1306 #endif
1307 #ifdef ROM_I2CMasterDataGet
1308 #define MAP_I2CMasterDataGet \
1309  ROM_I2CMasterDataGet
1310 #else
1311 #define MAP_I2CMasterDataGet \
1312  I2CMasterDataGet
1313 #endif
1314 #ifdef ROM_I2CMasterIntEnableEx
1315 #define MAP_I2CMasterIntEnableEx \
1316  ROM_I2CMasterIntEnableEx
1317 #else
1318 #define MAP_I2CMasterIntEnableEx \
1319  I2CMasterIntEnableEx
1320 #endif
1321 #ifdef ROM_I2CMasterIntDisableEx
1322 #define MAP_I2CMasterIntDisableEx \
1323  ROM_I2CMasterIntDisableEx
1324 #else
1325 #define MAP_I2CMasterIntDisableEx \
1326  I2CMasterIntDisableEx
1327 #endif
1328 #ifdef ROM_I2CMasterIntStatusEx
1329 #define MAP_I2CMasterIntStatusEx \
1330  ROM_I2CMasterIntStatusEx
1331 #else
1332 #define MAP_I2CMasterIntStatusEx \
1333  I2CMasterIntStatusEx
1334 #endif
1335 #ifdef ROM_I2CMasterIntClearEx
1336 #define MAP_I2CMasterIntClearEx \
1337  ROM_I2CMasterIntClearEx
1338 #else
1339 #define MAP_I2CMasterIntClearEx \
1340  I2CMasterIntClearEx
1341 #endif
1342 #ifdef ROM_I2CMasterTimeoutSet
1343 #define MAP_I2CMasterTimeoutSet \
1344  ROM_I2CMasterTimeoutSet
1345 #else
1346 #define MAP_I2CMasterTimeoutSet \
1347  I2CMasterTimeoutSet
1348 #endif
1349 #ifdef ROM_I2CMasterLineStateGet
1350 #define MAP_I2CMasterLineStateGet \
1351  ROM_I2CMasterLineStateGet
1352 #else
1353 #define MAP_I2CMasterLineStateGet \
1354  I2CMasterLineStateGet
1355 #endif
1356 
1357 //*****************************************************************************
1358 //
1359 // Macros for the Interrupt API.
1360 //
1361 //*****************************************************************************
1362 #ifdef ROM_IntEnable
1363 #define MAP_IntEnable \
1364  ROM_IntEnable
1365 #else
1366 #define MAP_IntEnable \
1367  IntEnable
1368 #endif
1369 #ifdef ROM_IntMasterEnable
1370 #define MAP_IntMasterEnable \
1371  ROM_IntMasterEnable
1372 #else
1373 #define MAP_IntMasterEnable \
1374  IntMasterEnable
1375 #endif
1376 #ifdef ROM_IntMasterDisable
1377 #define MAP_IntMasterDisable \
1378  ROM_IntMasterDisable
1379 #else
1380 #define MAP_IntMasterDisable \
1381  IntMasterDisable
1382 #endif
1383 #ifdef ROM_IntDisable
1384 #define MAP_IntDisable \
1385  ROM_IntDisable
1386 #else
1387 #define MAP_IntDisable \
1388  IntDisable
1389 #endif
1390 #ifdef ROM_IntPriorityGroupingSet
1391 #define MAP_IntPriorityGroupingSet \
1392  ROM_IntPriorityGroupingSet
1393 #else
1394 #define MAP_IntPriorityGroupingSet \
1395  IntPriorityGroupingSet
1396 #endif
1397 #ifdef ROM_IntPriorityGroupingGet
1398 #define MAP_IntPriorityGroupingGet \
1399  ROM_IntPriorityGroupingGet
1400 #else
1401 #define MAP_IntPriorityGroupingGet \
1402  IntPriorityGroupingGet
1403 #endif
1404 #ifdef ROM_IntPrioritySet
1405 #define MAP_IntPrioritySet \
1406  ROM_IntPrioritySet
1407 #else
1408 #define MAP_IntPrioritySet \
1409  IntPrioritySet
1410 #endif
1411 #ifdef ROM_IntPriorityGet
1412 #define MAP_IntPriorityGet \
1413  ROM_IntPriorityGet
1414 #else
1415 #define MAP_IntPriorityGet \
1416  IntPriorityGet
1417 #endif
1418 #ifdef ROM_IntPendSet
1419 #define MAP_IntPendSet \
1420  ROM_IntPendSet
1421 #else
1422 #define MAP_IntPendSet \
1423  IntPendSet
1424 #endif
1425 #ifdef ROM_IntPendClear
1426 #define MAP_IntPendClear \
1427  ROM_IntPendClear
1428 #else
1429 #define MAP_IntPendClear \
1430  IntPendClear
1431 #endif
1432 #ifdef ROM_IntPriorityMaskSet
1433 #define MAP_IntPriorityMaskSet \
1434  ROM_IntPriorityMaskSet
1435 #else
1436 #define MAP_IntPriorityMaskSet \
1437  IntPriorityMaskSet
1438 #endif
1439 #ifdef ROM_IntPriorityMaskGet
1440 #define MAP_IntPriorityMaskGet \
1441  ROM_IntPriorityMaskGet
1442 #else
1443 #define MAP_IntPriorityMaskGet \
1444  IntPriorityMaskGet
1445 #endif
1446 #ifdef ROM_IntIsEnabled
1447 #define MAP_IntIsEnabled \
1448  ROM_IntIsEnabled
1449 #else
1450 #define MAP_IntIsEnabled \
1451  IntIsEnabled
1452 #endif
1453 
1454 //*****************************************************************************
1455 //
1456 // Macros for the LPC API.
1457 //
1458 //*****************************************************************************
1459 #ifdef ROM_LPCIntClear
1460 #define MAP_LPCIntClear \
1461  ROM_LPCIntClear
1462 #else
1463 #define MAP_LPCIntClear \
1464  LPCIntClear
1465 #endif
1466 #ifdef ROM_LPCByteRead
1467 #define MAP_LPCByteRead \
1468  ROM_LPCByteRead
1469 #else
1470 #define MAP_LPCByteRead \
1471  LPCByteRead
1472 #endif
1473 #ifdef ROM_LPCByteWrite
1474 #define MAP_LPCByteWrite \
1475  ROM_LPCByteWrite
1476 #else
1477 #define MAP_LPCByteWrite \
1478  LPCByteWrite
1479 #endif
1480 #ifdef ROM_LPCChannelConfigCOMxSet
1481 #define MAP_LPCChannelConfigCOMxSet \
1482  ROM_LPCChannelConfigCOMxSet
1483 #else
1484 #define MAP_LPCChannelConfigCOMxSet \
1485  LPCChannelConfigCOMxSet
1486 #endif
1487 #ifdef ROM_LPCChannelConfigGet
1488 #define MAP_LPCChannelConfigGet \
1489  ROM_LPCChannelConfigGet
1490 #else
1491 #define MAP_LPCChannelConfigGet \
1492  LPCChannelConfigGet
1493 #endif
1494 #ifdef ROM_LPCChannelConfigEPSet
1495 #define MAP_LPCChannelConfigEPSet \
1496  ROM_LPCChannelConfigEPSet
1497 #else
1498 #define MAP_LPCChannelConfigEPSet \
1499  LPCChannelConfigEPSet
1500 #endif
1501 #ifdef ROM_LPCChannelConfigMBSet
1502 #define MAP_LPCChannelConfigMBSet \
1503  ROM_LPCChannelConfigMBSet
1504 #else
1505 #define MAP_LPCChannelConfigMBSet \
1506  LPCChannelConfigMBSet
1507 #endif
1508 #ifdef ROM_LPCChannelDMAConfigGet
1509 #define MAP_LPCChannelDMAConfigGet \
1510  ROM_LPCChannelDMAConfigGet
1511 #else
1512 #define MAP_LPCChannelDMAConfigGet \
1513  LPCChannelDMAConfigGet
1514 #endif
1515 #ifdef ROM_LPCChannelDMAConfigSet
1516 #define MAP_LPCChannelDMAConfigSet \
1517  ROM_LPCChannelDMAConfigSet
1518 #else
1519 #define MAP_LPCChannelDMAConfigSet \
1520  LPCChannelDMAConfigSet
1521 #endif
1522 #ifdef ROM_LPCChannelDisable
1523 #define MAP_LPCChannelDisable \
1524  ROM_LPCChannelDisable
1525 #else
1526 #define MAP_LPCChannelDisable \
1527  LPCChannelDisable
1528 #endif
1529 #ifdef ROM_LPCChannelEnable
1530 #define MAP_LPCChannelEnable \
1531  ROM_LPCChannelEnable
1532 #else
1533 #define MAP_LPCChannelEnable \
1534  LPCChannelEnable
1535 #endif
1536 #ifdef ROM_LPCChannelStatusClear
1537 #define MAP_LPCChannelStatusClear \
1538  ROM_LPCChannelStatusClear
1539 #else
1540 #define MAP_LPCChannelStatusClear \
1541  LPCChannelStatusClear
1542 #endif
1543 #ifdef ROM_LPCChannelStatusGet
1544 #define MAP_LPCChannelStatusGet \
1545  ROM_LPCChannelStatusGet
1546 #else
1547 #define MAP_LPCChannelStatusGet \
1548  LPCChannelStatusGet
1549 #endif
1550 #ifdef ROM_LPCChannelStatusSet
1551 #define MAP_LPCChannelStatusSet \
1552  ROM_LPCChannelStatusSet
1553 #else
1554 #define MAP_LPCChannelStatusSet \
1555  LPCChannelStatusSet
1556 #endif
1557 #ifdef ROM_LPCCOMxIntClear
1558 #define MAP_LPCCOMxIntClear \
1559  ROM_LPCCOMxIntClear
1560 #else
1561 #define MAP_LPCCOMxIntClear \
1562  LPCCOMxIntClear
1563 #endif
1564 #ifdef ROM_LPCCOMxIntDisable
1565 #define MAP_LPCCOMxIntDisable \
1566  ROM_LPCCOMxIntDisable
1567 #else
1568 #define MAP_LPCCOMxIntDisable \
1569  LPCCOMxIntDisable
1570 #endif
1571 #ifdef ROM_LPCCOMxIntEnable
1572 #define MAP_LPCCOMxIntEnable \
1573  ROM_LPCCOMxIntEnable
1574 #else
1575 #define MAP_LPCCOMxIntEnable \
1576  LPCCOMxIntEnable
1577 #endif
1578 #ifdef ROM_LPCCOMxIntStatus
1579 #define MAP_LPCCOMxIntStatus \
1580  ROM_LPCCOMxIntStatus
1581 #else
1582 #define MAP_LPCCOMxIntStatus \
1583  LPCCOMxIntStatus
1584 #endif
1585 #ifdef ROM_LPCConfigGet
1586 #define MAP_LPCConfigGet \
1587  ROM_LPCConfigGet
1588 #else
1589 #define MAP_LPCConfigGet \
1590  LPCConfigGet
1591 #endif
1592 #ifdef ROM_LPCConfigSet
1593 #define MAP_LPCConfigSet \
1594  ROM_LPCConfigSet
1595 #else
1596 #define MAP_LPCConfigSet \
1597  LPCConfigSet
1598 #endif
1599 #ifdef ROM_LPCHalfWordRead
1600 #define MAP_LPCHalfWordRead \
1601  ROM_LPCHalfWordRead
1602 #else
1603 #define MAP_LPCHalfWordRead \
1604  LPCHalfWordRead
1605 #endif
1606 #ifdef ROM_LPCHalfWordWrite
1607 #define MAP_LPCHalfWordWrite \
1608  ROM_LPCHalfWordWrite
1609 #else
1610 #define MAP_LPCHalfWordWrite \
1611  LPCHalfWordWrite
1612 #endif
1613 #ifdef ROM_LPCIRQClear
1614 #define MAP_LPCIRQClear \
1615  ROM_LPCIRQClear
1616 #else
1617 #define MAP_LPCIRQClear \
1618  LPCIRQClear
1619 #endif
1620 #ifdef ROM_LPCIRQConfig
1621 #define MAP_LPCIRQConfig \
1622  ROM_LPCIRQConfig
1623 #else
1624 #define MAP_LPCIRQConfig \
1625  LPCIRQConfig
1626 #endif
1627 #ifdef ROM_LPCIRQGet
1628 #define MAP_LPCIRQGet \
1629  ROM_LPCIRQGet
1630 #else
1631 #define MAP_LPCIRQGet \
1632  LPCIRQGet
1633 #endif
1634 #ifdef ROM_LPCIRQSend
1635 #define MAP_LPCIRQSend \
1636  ROM_LPCIRQSend
1637 #else
1638 #define MAP_LPCIRQSend \
1639  LPCIRQSend
1640 #endif
1641 #ifdef ROM_LPCIRQSet
1642 #define MAP_LPCIRQSet \
1643  ROM_LPCIRQSet
1644 #else
1645 #define MAP_LPCIRQSet \
1646  LPCIRQSet
1647 #endif
1648 #ifdef ROM_LPCIntDisable
1649 #define MAP_LPCIntDisable \
1650  ROM_LPCIntDisable
1651 #else
1652 #define MAP_LPCIntDisable \
1653  LPCIntDisable
1654 #endif
1655 #ifdef ROM_LPCIntEnable
1656 #define MAP_LPCIntEnable \
1657  ROM_LPCIntEnable
1658 #else
1659 #define MAP_LPCIntEnable \
1660  LPCIntEnable
1661 #endif
1662 #ifdef ROM_LPCIntStatus
1663 #define MAP_LPCIntStatus \
1664  ROM_LPCIntStatus
1665 #else
1666 #define MAP_LPCIntStatus \
1667  LPCIntStatus
1668 #endif
1669 #ifdef ROM_LPCSCIAssert
1670 #define MAP_LPCSCIAssert \
1671  ROM_LPCSCIAssert
1672 #else
1673 #define MAP_LPCSCIAssert \
1674  LPCSCIAssert
1675 #endif
1676 #ifdef ROM_LPCStatusGet
1677 #define MAP_LPCStatusGet \
1678  ROM_LPCStatusGet
1679 #else
1680 #define MAP_LPCStatusGet \
1681  LPCStatusGet
1682 #endif
1683 #ifdef ROM_LPCWordRead
1684 #define MAP_LPCWordRead \
1685  ROM_LPCWordRead
1686 #else
1687 #define MAP_LPCWordRead \
1688  LPCWordRead
1689 #endif
1690 #ifdef ROM_LPCWordWrite
1691 #define MAP_LPCWordWrite \
1692  ROM_LPCWordWrite
1693 #else
1694 #define MAP_LPCWordWrite \
1695  LPCWordWrite
1696 #endif
1697 #ifdef ROM_LPCChannelPoolAddressGet
1698 #define MAP_LPCChannelPoolAddressGet \
1699  ROM_LPCChannelPoolAddressGet
1700 #else
1701 #define MAP_LPCChannelPoolAddressGet \
1702  LPCChannelPoolAddressGet
1703 #endif
1704 #ifdef ROM_LPCStatusBlockAddressGet
1705 #define MAP_LPCStatusBlockAddressGet \
1706  ROM_LPCStatusBlockAddressGet
1707 #else
1708 #define MAP_LPCStatusBlockAddressGet \
1709  LPCStatusBlockAddressGet
1710 #endif
1711 #ifdef ROM_LPCStatusBlockAddressSet
1712 #define MAP_LPCStatusBlockAddressSet \
1713  ROM_LPCStatusBlockAddressSet
1714 #else
1715 #define MAP_LPCStatusBlockAddressSet \
1716  LPCStatusBlockAddressSet
1717 #endif
1718 
1719 //*****************************************************************************
1720 //
1721 // Macros for the MPU API.
1722 //
1723 //*****************************************************************************
1724 #ifdef ROM_MPUEnable
1725 #define MAP_MPUEnable \
1726  ROM_MPUEnable
1727 #else
1728 #define MAP_MPUEnable \
1729  MPUEnable
1730 #endif
1731 #ifdef ROM_MPUDisable
1732 #define MAP_MPUDisable \
1733  ROM_MPUDisable
1734 #else
1735 #define MAP_MPUDisable \
1736  MPUDisable
1737 #endif
1738 #ifdef ROM_MPURegionCountGet
1739 #define MAP_MPURegionCountGet \
1740  ROM_MPURegionCountGet
1741 #else
1742 #define MAP_MPURegionCountGet \
1743  MPURegionCountGet
1744 #endif
1745 #ifdef ROM_MPURegionEnable
1746 #define MAP_MPURegionEnable \
1747  ROM_MPURegionEnable
1748 #else
1749 #define MAP_MPURegionEnable \
1750  MPURegionEnable
1751 #endif
1752 #ifdef ROM_MPURegionDisable
1753 #define MAP_MPURegionDisable \
1754  ROM_MPURegionDisable
1755 #else
1756 #define MAP_MPURegionDisable \
1757  MPURegionDisable
1758 #endif
1759 #ifdef ROM_MPURegionSet
1760 #define MAP_MPURegionSet \
1761  ROM_MPURegionSet
1762 #else
1763 #define MAP_MPURegionSet \
1764  MPURegionSet
1765 #endif
1766 #ifdef ROM_MPURegionGet
1767 #define MAP_MPURegionGet \
1768  ROM_MPURegionGet
1769 #else
1770 #define MAP_MPURegionGet \
1771  MPURegionGet
1772 #endif
1773 
1774 //*****************************************************************************
1775 //
1776 // Macros for the PECI API.
1777 //
1778 //*****************************************************************************
1779 #ifdef ROM_PECIIntClear
1780 #define MAP_PECIIntClear \
1781  ROM_PECIIntClear
1782 #else
1783 #define MAP_PECIIntClear \
1784  PECIIntClear
1785 #endif
1786 #ifdef ROM_PECIAdvCmdSend
1787 #define MAP_PECIAdvCmdSend \
1788  ROM_PECIAdvCmdSend
1789 #else
1790 #define MAP_PECIAdvCmdSend \
1791  PECIAdvCmdSend
1792 #endif
1793 #ifdef ROM_PECIAdvCmdSendNonBlocking
1794 #define MAP_PECIAdvCmdSendNonBlocking \
1795  ROM_PECIAdvCmdSendNonBlocking
1796 #else
1797 #define MAP_PECIAdvCmdSendNonBlocking \
1798  PECIAdvCmdSendNonBlocking
1799 #endif
1800 #ifdef ROM_PECIAdvCmdStatusGet
1801 #define MAP_PECIAdvCmdStatusGet \
1802  ROM_PECIAdvCmdStatusGet
1803 #else
1804 #define MAP_PECIAdvCmdStatusGet \
1805  PECIAdvCmdStatusGet
1806 #endif
1807 #ifdef ROM_PECIConfigGet
1808 #define MAP_PECIConfigGet \
1809  ROM_PECIConfigGet
1810 #else
1811 #define MAP_PECIConfigGet \
1812  PECIConfigGet
1813 #endif
1814 #ifdef ROM_PECIConfigSet
1815 #define MAP_PECIConfigSet \
1816  ROM_PECIConfigSet
1817 #else
1818 #define MAP_PECIConfigSet \
1819  PECIConfigSet
1820 #endif
1821 #ifdef ROM_PECIDomainMaxReadClear
1822 #define MAP_PECIDomainMaxReadClear \
1823  ROM_PECIDomainMaxReadClear
1824 #else
1825 #define MAP_PECIDomainMaxReadClear \
1826  PECIDomainMaxReadClear
1827 #endif
1828 #ifdef ROM_PECIDomainValueClear
1829 #define MAP_PECIDomainValueClear \
1830  ROM_PECIDomainValueClear
1831 #else
1832 #define MAP_PECIDomainValueClear \
1833  PECIDomainValueClear
1834 #endif
1835 #ifdef ROM_PECIDomainConfigGet
1836 #define MAP_PECIDomainConfigGet \
1837  ROM_PECIDomainConfigGet
1838 #else
1839 #define MAP_PECIDomainConfigGet \
1840  PECIDomainConfigGet
1841 #endif
1842 #ifdef ROM_PECIDomainConfigSet
1843 #define MAP_PECIDomainConfigSet \
1844  ROM_PECIDomainConfigSet
1845 #else
1846 #define MAP_PECIDomainConfigSet \
1847  PECIDomainConfigSet
1848 #endif
1849 #ifdef ROM_PECIDomainDisable
1850 #define MAP_PECIDomainDisable \
1851  ROM_PECIDomainDisable
1852 #else
1853 #define MAP_PECIDomainDisable \
1854  PECIDomainDisable
1855 #endif
1856 #ifdef ROM_PECIDomainEnable
1857 #define MAP_PECIDomainEnable \
1858  ROM_PECIDomainEnable
1859 #else
1860 #define MAP_PECIDomainEnable \
1861  PECIDomainEnable
1862 #endif
1863 #ifdef ROM_PECIDomainMaxReadGet
1864 #define MAP_PECIDomainMaxReadGet \
1865  ROM_PECIDomainMaxReadGet
1866 #else
1867 #define MAP_PECIDomainMaxReadGet \
1868  PECIDomainMaxReadGet
1869 #endif
1870 #ifdef ROM_PECIDomainValueGet
1871 #define MAP_PECIDomainValueGet \
1872  ROM_PECIDomainValueGet
1873 #else
1874 #define MAP_PECIDomainValueGet \
1875  PECIDomainValueGet
1876 #endif
1877 #ifdef ROM_PECIIntDisable
1878 #define MAP_PECIIntDisable \
1879  ROM_PECIIntDisable
1880 #else
1881 #define MAP_PECIIntDisable \
1882  PECIIntDisable
1883 #endif
1884 #ifdef ROM_PECIIntEnable
1885 #define MAP_PECIIntEnable \
1886  ROM_PECIIntEnable
1887 #else
1888 #define MAP_PECIIntEnable \
1889  PECIIntEnable
1890 #endif
1891 #ifdef ROM_PECIIntStatus
1892 #define MAP_PECIIntStatus \
1893  ROM_PECIIntStatus
1894 #else
1895 #define MAP_PECIIntStatus \
1896  PECIIntStatus
1897 #endif
1898 #ifdef ROM_PECIBypassEnable
1899 #define MAP_PECIBypassEnable \
1900  ROM_PECIBypassEnable
1901 #else
1902 #define MAP_PECIBypassEnable \
1903  PECIBypassEnable
1904 #endif
1905 #ifdef ROM_PECIBypassDisable
1906 #define MAP_PECIBypassDisable \
1907  ROM_PECIBypassDisable
1908 #else
1909 #define MAP_PECIBypassDisable \
1910  PECIBypassDisable
1911 #endif
1912 
1913 //*****************************************************************************
1914 //
1915 // Macros for the PWM API.
1916 //
1917 //*****************************************************************************
1918 #ifdef ROM_PWMPulseWidthSet
1919 #define MAP_PWMPulseWidthSet \
1920  ROM_PWMPulseWidthSet
1921 #else
1922 #define MAP_PWMPulseWidthSet \
1923  PWMPulseWidthSet
1924 #endif
1925 #ifdef ROM_PWMGenConfigure
1926 #define MAP_PWMGenConfigure \
1927  ROM_PWMGenConfigure
1928 #else
1929 #define MAP_PWMGenConfigure \
1930  PWMGenConfigure
1931 #endif
1932 #ifdef ROM_PWMGenPeriodSet
1933 #define MAP_PWMGenPeriodSet \
1934  ROM_PWMGenPeriodSet
1935 #else
1936 #define MAP_PWMGenPeriodSet \
1937  PWMGenPeriodSet
1938 #endif
1939 #ifdef ROM_PWMGenPeriodGet
1940 #define MAP_PWMGenPeriodGet \
1941  ROM_PWMGenPeriodGet
1942 #else
1943 #define MAP_PWMGenPeriodGet \
1944  PWMGenPeriodGet
1945 #endif
1946 #ifdef ROM_PWMGenEnable
1947 #define MAP_PWMGenEnable \
1948  ROM_PWMGenEnable
1949 #else
1950 #define MAP_PWMGenEnable \
1951  PWMGenEnable
1952 #endif
1953 #ifdef ROM_PWMGenDisable
1954 #define MAP_PWMGenDisable \
1955  ROM_PWMGenDisable
1956 #else
1957 #define MAP_PWMGenDisable \
1958  PWMGenDisable
1959 #endif
1960 #ifdef ROM_PWMPulseWidthGet
1961 #define MAP_PWMPulseWidthGet \
1962  ROM_PWMPulseWidthGet
1963 #else
1964 #define MAP_PWMPulseWidthGet \
1965  PWMPulseWidthGet
1966 #endif
1967 #ifdef ROM_PWMDeadBandEnable
1968 #define MAP_PWMDeadBandEnable \
1969  ROM_PWMDeadBandEnable
1970 #else
1971 #define MAP_PWMDeadBandEnable \
1972  PWMDeadBandEnable
1973 #endif
1974 #ifdef ROM_PWMDeadBandDisable
1975 #define MAP_PWMDeadBandDisable \
1976  ROM_PWMDeadBandDisable
1977 #else
1978 #define MAP_PWMDeadBandDisable \
1979  PWMDeadBandDisable
1980 #endif
1981 #ifdef ROM_PWMSyncUpdate
1982 #define MAP_PWMSyncUpdate \
1983  ROM_PWMSyncUpdate
1984 #else
1985 #define MAP_PWMSyncUpdate \
1986  PWMSyncUpdate
1987 #endif
1988 #ifdef ROM_PWMSyncTimeBase
1989 #define MAP_PWMSyncTimeBase \
1990  ROM_PWMSyncTimeBase
1991 #else
1992 #define MAP_PWMSyncTimeBase \
1993  PWMSyncTimeBase
1994 #endif
1995 #ifdef ROM_PWMOutputState
1996 #define MAP_PWMOutputState \
1997  ROM_PWMOutputState
1998 #else
1999 #define MAP_PWMOutputState \
2000  PWMOutputState
2001 #endif
2002 #ifdef ROM_PWMOutputInvert
2003 #define MAP_PWMOutputInvert \
2004  ROM_PWMOutputInvert
2005 #else
2006 #define MAP_PWMOutputInvert \
2007  PWMOutputInvert
2008 #endif
2009 #ifdef ROM_PWMOutputFault
2010 #define MAP_PWMOutputFault \
2011  ROM_PWMOutputFault
2012 #else
2013 #define MAP_PWMOutputFault \
2014  PWMOutputFault
2015 #endif
2016 #ifdef ROM_PWMGenIntTrigEnable
2017 #define MAP_PWMGenIntTrigEnable \
2018  ROM_PWMGenIntTrigEnable
2019 #else
2020 #define MAP_PWMGenIntTrigEnable \
2021  PWMGenIntTrigEnable
2022 #endif
2023 #ifdef ROM_PWMGenIntTrigDisable
2024 #define MAP_PWMGenIntTrigDisable \
2025  ROM_PWMGenIntTrigDisable
2026 #else
2027 #define MAP_PWMGenIntTrigDisable \
2028  PWMGenIntTrigDisable
2029 #endif
2030 #ifdef ROM_PWMGenIntStatus
2031 #define MAP_PWMGenIntStatus \
2032  ROM_PWMGenIntStatus
2033 #else
2034 #define MAP_PWMGenIntStatus \
2035  PWMGenIntStatus
2036 #endif
2037 #ifdef ROM_PWMGenIntClear
2038 #define MAP_PWMGenIntClear \
2039  ROM_PWMGenIntClear
2040 #else
2041 #define MAP_PWMGenIntClear \
2042  PWMGenIntClear
2043 #endif
2044 #ifdef ROM_PWMIntEnable
2045 #define MAP_PWMIntEnable \
2046  ROM_PWMIntEnable
2047 #else
2048 #define MAP_PWMIntEnable \
2049  PWMIntEnable
2050 #endif
2051 #ifdef ROM_PWMIntDisable
2052 #define MAP_PWMIntDisable \
2053  ROM_PWMIntDisable
2054 #else
2055 #define MAP_PWMIntDisable \
2056  PWMIntDisable
2057 #endif
2058 #ifdef ROM_PWMFaultIntClear
2059 #define MAP_PWMFaultIntClear \
2060  ROM_PWMFaultIntClear
2061 #else
2062 #define MAP_PWMFaultIntClear \
2063  PWMFaultIntClear
2064 #endif
2065 #ifdef ROM_PWMIntStatus
2066 #define MAP_PWMIntStatus \
2067  ROM_PWMIntStatus
2068 #else
2069 #define MAP_PWMIntStatus \
2070  PWMIntStatus
2071 #endif
2072 #ifdef ROM_PWMOutputFaultLevel
2073 #define MAP_PWMOutputFaultLevel \
2074  ROM_PWMOutputFaultLevel
2075 #else
2076 #define MAP_PWMOutputFaultLevel \
2077  PWMOutputFaultLevel
2078 #endif
2079 #ifdef ROM_PWMFaultIntClearExt
2080 #define MAP_PWMFaultIntClearExt \
2081  ROM_PWMFaultIntClearExt
2082 #else
2083 #define MAP_PWMFaultIntClearExt \
2084  PWMFaultIntClearExt
2085 #endif
2086 #ifdef ROM_PWMGenFaultConfigure
2087 #define MAP_PWMGenFaultConfigure \
2088  ROM_PWMGenFaultConfigure
2089 #else
2090 #define MAP_PWMGenFaultConfigure \
2091  PWMGenFaultConfigure
2092 #endif
2093 #ifdef ROM_PWMGenFaultTriggerSet
2094 #define MAP_PWMGenFaultTriggerSet \
2095  ROM_PWMGenFaultTriggerSet
2096 #else
2097 #define MAP_PWMGenFaultTriggerSet \
2098  PWMGenFaultTriggerSet
2099 #endif
2100 #ifdef ROM_PWMGenFaultTriggerGet
2101 #define MAP_PWMGenFaultTriggerGet \
2102  ROM_PWMGenFaultTriggerGet
2103 #else
2104 #define MAP_PWMGenFaultTriggerGet \
2105  PWMGenFaultTriggerGet
2106 #endif
2107 #ifdef ROM_PWMGenFaultStatus
2108 #define MAP_PWMGenFaultStatus \
2109  ROM_PWMGenFaultStatus
2110 #else
2111 #define MAP_PWMGenFaultStatus \
2112  PWMGenFaultStatus
2113 #endif
2114 #ifdef ROM_PWMGenFaultClear
2115 #define MAP_PWMGenFaultClear \
2116  ROM_PWMGenFaultClear
2117 #else
2118 #define MAP_PWMGenFaultClear \
2119  PWMGenFaultClear
2120 #endif
2121 
2122 //*****************************************************************************
2123 //
2124 // Macros for the QEI API.
2125 //
2126 //*****************************************************************************
2127 #ifdef ROM_QEIPositionGet
2128 #define MAP_QEIPositionGet \
2129  ROM_QEIPositionGet
2130 #else
2131 #define MAP_QEIPositionGet \
2132  QEIPositionGet
2133 #endif
2134 #ifdef ROM_QEIEnable
2135 #define MAP_QEIEnable \
2136  ROM_QEIEnable
2137 #else
2138 #define MAP_QEIEnable \
2139  QEIEnable
2140 #endif
2141 #ifdef ROM_QEIDisable
2142 #define MAP_QEIDisable \
2143  ROM_QEIDisable
2144 #else
2145 #define MAP_QEIDisable \
2146  QEIDisable
2147 #endif
2148 #ifdef ROM_QEIConfigure
2149 #define MAP_QEIConfigure \
2150  ROM_QEIConfigure
2151 #else
2152 #define MAP_QEIConfigure \
2153  QEIConfigure
2154 #endif
2155 #ifdef ROM_QEIPositionSet
2156 #define MAP_QEIPositionSet \
2157  ROM_QEIPositionSet
2158 #else
2159 #define MAP_QEIPositionSet \
2160  QEIPositionSet
2161 #endif
2162 #ifdef ROM_QEIDirectionGet
2163 #define MAP_QEIDirectionGet \
2164  ROM_QEIDirectionGet
2165 #else
2166 #define MAP_QEIDirectionGet \
2167  QEIDirectionGet
2168 #endif
2169 #ifdef ROM_QEIErrorGet
2170 #define MAP_QEIErrorGet \
2171  ROM_QEIErrorGet
2172 #else
2173 #define MAP_QEIErrorGet \
2174  QEIErrorGet
2175 #endif
2176 #ifdef ROM_QEIVelocityEnable
2177 #define MAP_QEIVelocityEnable \
2178  ROM_QEIVelocityEnable
2179 #else
2180 #define MAP_QEIVelocityEnable \
2181  QEIVelocityEnable
2182 #endif
2183 #ifdef ROM_QEIVelocityDisable
2184 #define MAP_QEIVelocityDisable \
2185  ROM_QEIVelocityDisable
2186 #else
2187 #define MAP_QEIVelocityDisable \
2188  QEIVelocityDisable
2189 #endif
2190 #ifdef ROM_QEIVelocityConfigure
2191 #define MAP_QEIVelocityConfigure \
2192  ROM_QEIVelocityConfigure
2193 #else
2194 #define MAP_QEIVelocityConfigure \
2195  QEIVelocityConfigure
2196 #endif
2197 #ifdef ROM_QEIVelocityGet
2198 #define MAP_QEIVelocityGet \
2199  ROM_QEIVelocityGet
2200 #else
2201 #define MAP_QEIVelocityGet \
2202  QEIVelocityGet
2203 #endif
2204 #ifdef ROM_QEIIntEnable
2205 #define MAP_QEIIntEnable \
2206  ROM_QEIIntEnable
2207 #else
2208 #define MAP_QEIIntEnable \
2209  QEIIntEnable
2210 #endif
2211 #ifdef ROM_QEIIntDisable
2212 #define MAP_QEIIntDisable \
2213  ROM_QEIIntDisable
2214 #else
2215 #define MAP_QEIIntDisable \
2216  QEIIntDisable
2217 #endif
2218 #ifdef ROM_QEIIntStatus
2219 #define MAP_QEIIntStatus \
2220  ROM_QEIIntStatus
2221 #else
2222 #define MAP_QEIIntStatus \
2223  QEIIntStatus
2224 #endif
2225 #ifdef ROM_QEIIntClear
2226 #define MAP_QEIIntClear \
2227  ROM_QEIIntClear
2228 #else
2229 #define MAP_QEIIntClear \
2230  QEIIntClear
2231 #endif
2232 
2233 //*****************************************************************************
2234 //
2235 // Macros for the SMBus API.
2236 //
2237 //*****************************************************************************
2238 #ifdef ROM_SMBusMasterIntProcess
2239 #define MAP_SMBusMasterIntProcess \
2240  ROM_SMBusMasterIntProcess
2241 #else
2242 #define MAP_SMBusMasterIntProcess \
2243  SMBusMasterIntProcess
2244 #endif
2245 #ifdef ROM_SMBusARPDisable
2246 #define MAP_SMBusARPDisable \
2247  ROM_SMBusARPDisable
2248 #else
2249 #define MAP_SMBusARPDisable \
2250  SMBusARPDisable
2251 #endif
2252 #ifdef ROM_SMBusARPEnable
2253 #define MAP_SMBusARPEnable \
2254  ROM_SMBusARPEnable
2255 #else
2256 #define MAP_SMBusARPEnable \
2257  SMBusARPEnable
2258 #endif
2259 #ifdef ROM_SMBusARPUDIDPacketDecode
2260 #define MAP_SMBusARPUDIDPacketDecode \
2261  ROM_SMBusARPUDIDPacketDecode
2262 #else
2263 #define MAP_SMBusARPUDIDPacketDecode \
2264  SMBusARPUDIDPacketDecode
2265 #endif
2266 #ifdef ROM_SMBusARPUDIDPacketEncode
2267 #define MAP_SMBusARPUDIDPacketEncode \
2268  ROM_SMBusARPUDIDPacketEncode
2269 #else
2270 #define MAP_SMBusARPUDIDPacketEncode \
2271  SMBusARPUDIDPacketEncode
2272 #endif
2273 #ifdef ROM_SMBusMasterARPAssignAddress
2274 #define MAP_SMBusMasterARPAssignAddress \
2275  ROM_SMBusMasterARPAssignAddress
2276 #else
2277 #define MAP_SMBusMasterARPAssignAddress \
2278  SMBusMasterARPAssignAddress
2279 #endif
2280 #ifdef ROM_SMBusMasterARPGetUDIDDir
2281 #define MAP_SMBusMasterARPGetUDIDDir \
2282  ROM_SMBusMasterARPGetUDIDDir
2283 #else
2284 #define MAP_SMBusMasterARPGetUDIDDir \
2285  SMBusMasterARPGetUDIDDir
2286 #endif
2287 #ifdef ROM_SMBusMasterARPGetUDIDGen
2288 #define MAP_SMBusMasterARPGetUDIDGen \
2289  ROM_SMBusMasterARPGetUDIDGen
2290 #else
2291 #define MAP_SMBusMasterARPGetUDIDGen \
2292  SMBusMasterARPGetUDIDGen
2293 #endif
2294 #ifdef ROM_SMBusMasterARPNotifyMaster
2295 #define MAP_SMBusMasterARPNotifyMaster \
2296  ROM_SMBusMasterARPNotifyMaster
2297 #else
2298 #define MAP_SMBusMasterARPNotifyMaster \
2299  SMBusMasterARPNotifyMaster
2300 #endif
2301 #ifdef ROM_SMBusMasterARPPrepareToARP
2302 #define MAP_SMBusMasterARPPrepareToARP \
2303  ROM_SMBusMasterARPPrepareToARP
2304 #else
2305 #define MAP_SMBusMasterARPPrepareToARP \
2306  SMBusMasterARPPrepareToARP
2307 #endif
2308 #ifdef ROM_SMBusMasterARPResetDeviceDir
2309 #define MAP_SMBusMasterARPResetDeviceDir \
2310  ROM_SMBusMasterARPResetDeviceDir
2311 #else
2312 #define MAP_SMBusMasterARPResetDeviceDir \
2313  SMBusMasterARPResetDeviceDir
2314 #endif
2315 #ifdef ROM_SMBusMasterARPResetDeviceGen
2316 #define MAP_SMBusMasterARPResetDeviceGen \
2317  ROM_SMBusMasterARPResetDeviceGen
2318 #else
2319 #define MAP_SMBusMasterARPResetDeviceGen \
2320  SMBusMasterARPResetDeviceGen
2321 #endif
2322 #ifdef ROM_SMBusMasterBlockProcessCall
2323 #define MAP_SMBusMasterBlockProcessCall \
2324  ROM_SMBusMasterBlockProcessCall
2325 #else
2326 #define MAP_SMBusMasterBlockProcessCall \
2327  SMBusMasterBlockProcessCall
2328 #endif
2329 #ifdef ROM_SMBusMasterBlockRead
2330 #define MAP_SMBusMasterBlockRead \
2331  ROM_SMBusMasterBlockRead
2332 #else
2333 #define MAP_SMBusMasterBlockRead \
2334  SMBusMasterBlockRead
2335 #endif
2336 #ifdef ROM_SMBusMasterBlockWrite
2337 #define MAP_SMBusMasterBlockWrite \
2338  ROM_SMBusMasterBlockWrite
2339 #else
2340 #define MAP_SMBusMasterBlockWrite \
2341  SMBusMasterBlockWrite
2342 #endif
2343 #ifdef ROM_SMBusMasterByteReceive
2344 #define MAP_SMBusMasterByteReceive \
2345  ROM_SMBusMasterByteReceive
2346 #else
2347 #define MAP_SMBusMasterByteReceive \
2348  SMBusMasterByteReceive
2349 #endif
2350 #ifdef ROM_SMBusMasterByteSend
2351 #define MAP_SMBusMasterByteSend \
2352  ROM_SMBusMasterByteSend
2353 #else
2354 #define MAP_SMBusMasterByteSend \
2355  SMBusMasterByteSend
2356 #endif
2357 #ifdef ROM_SMBusMasterByteWordRead
2358 #define MAP_SMBusMasterByteWordRead \
2359  ROM_SMBusMasterByteWordRead
2360 #else
2361 #define MAP_SMBusMasterByteWordRead \
2362  SMBusMasterByteWordRead
2363 #endif
2364 #ifdef ROM_SMBusMasterByteWordWrite
2365 #define MAP_SMBusMasterByteWordWrite \
2366  ROM_SMBusMasterByteWordWrite
2367 #else
2368 #define MAP_SMBusMasterByteWordWrite \
2369  SMBusMasterByteWordWrite
2370 #endif
2371 #ifdef ROM_SMBusMasterHostNotify
2372 #define MAP_SMBusMasterHostNotify \
2373  ROM_SMBusMasterHostNotify
2374 #else
2375 #define MAP_SMBusMasterHostNotify \
2376  SMBusMasterHostNotify
2377 #endif
2378 #ifdef ROM_SMBusMasterI2CRead
2379 #define MAP_SMBusMasterI2CRead \
2380  ROM_SMBusMasterI2CRead
2381 #else
2382 #define MAP_SMBusMasterI2CRead \
2383  SMBusMasterI2CRead
2384 #endif
2385 #ifdef ROM_SMBusMasterI2CWrite
2386 #define MAP_SMBusMasterI2CWrite \
2387  ROM_SMBusMasterI2CWrite
2388 #else
2389 #define MAP_SMBusMasterI2CWrite \
2390  SMBusMasterI2CWrite
2391 #endif
2392 #ifdef ROM_SMBusMasterI2CWriteRead
2393 #define MAP_SMBusMasterI2CWriteRead \
2394  ROM_SMBusMasterI2CWriteRead
2395 #else
2396 #define MAP_SMBusMasterI2CWriteRead \
2397  SMBusMasterI2CWriteRead
2398 #endif
2399 #ifdef ROM_SMBusMasterInit
2400 #define MAP_SMBusMasterInit \
2401  ROM_SMBusMasterInit
2402 #else
2403 #define MAP_SMBusMasterInit \
2404  SMBusMasterInit
2405 #endif
2406 #ifdef ROM_SMBusMasterIntEnable
2407 #define MAP_SMBusMasterIntEnable \
2408  ROM_SMBusMasterIntEnable
2409 #else
2410 #define MAP_SMBusMasterIntEnable \
2411  SMBusMasterIntEnable
2412 #endif
2413 #ifdef ROM_SMBusMasterProcessCall
2414 #define MAP_SMBusMasterProcessCall \
2415  ROM_SMBusMasterProcessCall
2416 #else
2417 #define MAP_SMBusMasterProcessCall \
2418  SMBusMasterProcessCall
2419 #endif
2420 #ifdef ROM_SMBusMasterQuickCommand
2421 #define MAP_SMBusMasterQuickCommand \
2422  ROM_SMBusMasterQuickCommand
2423 #else
2424 #define MAP_SMBusMasterQuickCommand \
2425  SMBusMasterQuickCommand
2426 #endif
2427 #ifdef ROM_SMBusPECDisable
2428 #define MAP_SMBusPECDisable \
2429  ROM_SMBusPECDisable
2430 #else
2431 #define MAP_SMBusPECDisable \
2432  SMBusPECDisable
2433 #endif
2434 #ifdef ROM_SMBusPECEnable
2435 #define MAP_SMBusPECEnable \
2436  ROM_SMBusPECEnable
2437 #else
2438 #define MAP_SMBusPECEnable \
2439  SMBusPECEnable
2440 #endif
2441 #ifdef ROM_SMBusRxPacketSizeGet
2442 #define MAP_SMBusRxPacketSizeGet \
2443  ROM_SMBusRxPacketSizeGet
2444 #else
2445 #define MAP_SMBusRxPacketSizeGet \
2446  SMBusRxPacketSizeGet
2447 #endif
2448 #ifdef ROM_SMBusSlaveACKSend
2449 #define MAP_SMBusSlaveACKSend \
2450  ROM_SMBusSlaveACKSend
2451 #else
2452 #define MAP_SMBusSlaveACKSend \
2453  SMBusSlaveACKSend
2454 #endif
2455 #ifdef ROM_SMBusSlaveAddressSet
2456 #define MAP_SMBusSlaveAddressSet \
2457  ROM_SMBusSlaveAddressSet
2458 #else
2459 #define MAP_SMBusSlaveAddressSet \
2460  SMBusSlaveAddressSet
2461 #endif
2462 #ifdef ROM_SMBusSlaveARPFlagARGet
2463 #define MAP_SMBusSlaveARPFlagARGet \
2464  ROM_SMBusSlaveARPFlagARGet
2465 #else
2466 #define MAP_SMBusSlaveARPFlagARGet \
2467  SMBusSlaveARPFlagARGet
2468 #endif
2469 #ifdef ROM_SMBusSlaveARPFlagARSet
2470 #define MAP_SMBusSlaveARPFlagARSet \
2471  ROM_SMBusSlaveARPFlagARSet
2472 #else
2473 #define MAP_SMBusSlaveARPFlagARSet \
2474  SMBusSlaveARPFlagARSet
2475 #endif
2476 #ifdef ROM_SMBusSlaveARPFlagAVGet
2477 #define MAP_SMBusSlaveARPFlagAVGet \
2478  ROM_SMBusSlaveARPFlagAVGet
2479 #else
2480 #define MAP_SMBusSlaveARPFlagAVGet \
2481  SMBusSlaveARPFlagAVGet
2482 #endif
2483 #ifdef ROM_SMBusSlaveARPFlagAVSet
2484 #define MAP_SMBusSlaveARPFlagAVSet \
2485  ROM_SMBusSlaveARPFlagAVSet
2486 #else
2487 #define MAP_SMBusSlaveARPFlagAVSet \
2488  SMBusSlaveARPFlagAVSet
2489 #endif
2490 #ifdef ROM_SMBusSlaveBlockTransferDisable
2491 #define MAP_SMBusSlaveBlockTransferDisable \
2492  ROM_SMBusSlaveBlockTransferDisable
2493 #else
2494 #define MAP_SMBusSlaveBlockTransferDisable \
2495  SMBusSlaveBlockTransferDisable
2496 #endif
2497 #ifdef ROM_SMBusSlaveBlockTransferEnable
2498 #define MAP_SMBusSlaveBlockTransferEnable \
2499  ROM_SMBusSlaveBlockTransferEnable
2500 #else
2501 #define MAP_SMBusSlaveBlockTransferEnable \
2502  SMBusSlaveBlockTransferEnable
2503 #endif
2504 #ifdef ROM_SMBusSlaveCommandGet
2505 #define MAP_SMBusSlaveCommandGet \
2506  ROM_SMBusSlaveCommandGet
2507 #else
2508 #define MAP_SMBusSlaveCommandGet \
2509  SMBusSlaveCommandGet
2510 #endif
2511 #ifdef ROM_SMBusSlaveI2CDisable
2512 #define MAP_SMBusSlaveI2CDisable \
2513  ROM_SMBusSlaveI2CDisable
2514 #else
2515 #define MAP_SMBusSlaveI2CDisable \
2516  SMBusSlaveI2CDisable
2517 #endif
2518 #ifdef ROM_SMBusSlaveI2CEnable
2519 #define MAP_SMBusSlaveI2CEnable \
2520  ROM_SMBusSlaveI2CEnable
2521 #else
2522 #define MAP_SMBusSlaveI2CEnable \
2523  SMBusSlaveI2CEnable
2524 #endif
2525 #ifdef ROM_SMBusSlaveInit
2526 #define MAP_SMBusSlaveInit \
2527  ROM_SMBusSlaveInit
2528 #else
2529 #define MAP_SMBusSlaveInit \
2530  SMBusSlaveInit
2531 #endif
2532 #ifdef ROM_SMBusSlaveIntAddressGet
2533 #define MAP_SMBusSlaveIntAddressGet \
2534  ROM_SMBusSlaveIntAddressGet
2535 #else
2536 #define MAP_SMBusSlaveIntAddressGet \
2537  SMBusSlaveIntAddressGet
2538 #endif
2539 #ifdef ROM_SMBusSlaveIntEnable
2540 #define MAP_SMBusSlaveIntEnable \
2541  ROM_SMBusSlaveIntEnable
2542 #else
2543 #define MAP_SMBusSlaveIntEnable \
2544  SMBusSlaveIntEnable
2545 #endif
2546 #ifdef ROM_SMBusSlaveIntProcess
2547 #define MAP_SMBusSlaveIntProcess \
2548  ROM_SMBusSlaveIntProcess
2549 #else
2550 #define MAP_SMBusSlaveIntProcess \
2551  SMBusSlaveIntProcess
2552 #endif
2553 #ifdef ROM_SMBusSlaveManualACKDisable
2554 #define MAP_SMBusSlaveManualACKDisable \
2555  ROM_SMBusSlaveManualACKDisable
2556 #else
2557 #define MAP_SMBusSlaveManualACKDisable \
2558  SMBusSlaveManualACKDisable
2559 #endif
2560 #ifdef ROM_SMBusSlaveManualACKEnable
2561 #define MAP_SMBusSlaveManualACKEnable \
2562  ROM_SMBusSlaveManualACKEnable
2563 #else
2564 #define MAP_SMBusSlaveManualACKEnable \
2565  SMBusSlaveManualACKEnable
2566 #endif
2567 #ifdef ROM_SMBusSlaveManualACKStatusGet
2568 #define MAP_SMBusSlaveManualACKStatusGet \
2569  ROM_SMBusSlaveManualACKStatusGet
2570 #else
2571 #define MAP_SMBusSlaveManualACKStatusGet \
2572  SMBusSlaveManualACKStatusGet
2573 #endif
2574 #ifdef ROM_SMBusSlaveProcessCallDisable
2575 #define MAP_SMBusSlaveProcessCallDisable \
2576  ROM_SMBusSlaveProcessCallDisable
2577 #else
2578 #define MAP_SMBusSlaveProcessCallDisable \
2579  SMBusSlaveProcessCallDisable
2580 #endif
2581 #ifdef ROM_SMBusSlaveProcessCallEnable
2582 #define MAP_SMBusSlaveProcessCallEnable \
2583  ROM_SMBusSlaveProcessCallEnable
2584 #else
2585 #define MAP_SMBusSlaveProcessCallEnable \
2586  SMBusSlaveProcessCallEnable
2587 #endif
2588 #ifdef ROM_SMBusSlaveRxBufferSet
2589 #define MAP_SMBusSlaveRxBufferSet \
2590  ROM_SMBusSlaveRxBufferSet
2591 #else
2592 #define MAP_SMBusSlaveRxBufferSet \
2593  SMBusSlaveRxBufferSet
2594 #endif
2595 #ifdef ROM_SMBusSlaveTransferInit
2596 #define MAP_SMBusSlaveTransferInit \
2597  ROM_SMBusSlaveTransferInit
2598 #else
2599 #define MAP_SMBusSlaveTransferInit \
2600  SMBusSlaveTransferInit
2601 #endif
2602 #ifdef ROM_SMBusSlaveTxBufferSet
2603 #define MAP_SMBusSlaveTxBufferSet \
2604  ROM_SMBusSlaveTxBufferSet
2605 #else
2606 #define MAP_SMBusSlaveTxBufferSet \
2607  SMBusSlaveTxBufferSet
2608 #endif
2609 #ifdef ROM_SMBusSlaveUDIDSet
2610 #define MAP_SMBusSlaveUDIDSet \
2611  ROM_SMBusSlaveUDIDSet
2612 #else
2613 #define MAP_SMBusSlaveUDIDSet \
2614  SMBusSlaveUDIDSet
2615 #endif
2616 #ifdef ROM_SMBusStatusGet
2617 #define MAP_SMBusStatusGet \
2618  ROM_SMBusStatusGet
2619 #else
2620 #define MAP_SMBusStatusGet \
2621  SMBusStatusGet
2622 #endif
2623 #ifdef ROM_SMBusSlaveDataSend
2624 #define MAP_SMBusSlaveDataSend \
2625  ROM_SMBusSlaveDataSend
2626 #else
2627 #define MAP_SMBusSlaveDataSend \
2628  SMBusSlaveDataSend
2629 #endif
2630 
2631 //*****************************************************************************
2632 //
2633 // Macros for the SSI API.
2634 //
2635 //*****************************************************************************
2636 #ifdef ROM_SSIDataPut
2637 #define MAP_SSIDataPut \
2638  ROM_SSIDataPut
2639 #else
2640 #define MAP_SSIDataPut \
2641  SSIDataPut
2642 #endif
2643 #ifdef ROM_SSIConfigSetExpClk
2644 #define MAP_SSIConfigSetExpClk \
2645  ROM_SSIConfigSetExpClk
2646 #else
2647 #define MAP_SSIConfigSetExpClk \
2648  SSIConfigSetExpClk
2649 #endif
2650 #ifdef ROM_SSIEnable
2651 #define MAP_SSIEnable \
2652  ROM_SSIEnable
2653 #else
2654 #define MAP_SSIEnable \
2655  SSIEnable
2656 #endif
2657 #ifdef ROM_SSIDisable
2658 #define MAP_SSIDisable \
2659  ROM_SSIDisable
2660 #else
2661 #define MAP_SSIDisable \
2662  SSIDisable
2663 #endif
2664 #ifdef ROM_SSIIntEnable
2665 #define MAP_SSIIntEnable \
2666  ROM_SSIIntEnable
2667 #else
2668 #define MAP_SSIIntEnable \
2669  SSIIntEnable
2670 #endif
2671 #ifdef ROM_SSIIntDisable
2672 #define MAP_SSIIntDisable \
2673  ROM_SSIIntDisable
2674 #else
2675 #define MAP_SSIIntDisable \
2676  SSIIntDisable
2677 #endif
2678 #ifdef ROM_SSIIntStatus
2679 #define MAP_SSIIntStatus \
2680  ROM_SSIIntStatus
2681 #else
2682 #define MAP_SSIIntStatus \
2683  SSIIntStatus
2684 #endif
2685 #ifdef ROM_SSIIntClear
2686 #define MAP_SSIIntClear \
2687  ROM_SSIIntClear
2688 #else
2689 #define MAP_SSIIntClear \
2690  SSIIntClear
2691 #endif
2692 #ifdef ROM_SSIDataPutNonBlocking
2693 #define MAP_SSIDataPutNonBlocking \
2694  ROM_SSIDataPutNonBlocking
2695 #else
2696 #define MAP_SSIDataPutNonBlocking \
2697  SSIDataPutNonBlocking
2698 #endif
2699 #ifdef ROM_SSIDataGet
2700 #define MAP_SSIDataGet \
2701  ROM_SSIDataGet
2702 #else
2703 #define MAP_SSIDataGet \
2704  SSIDataGet
2705 #endif
2706 #ifdef ROM_SSIDataGetNonBlocking
2707 #define MAP_SSIDataGetNonBlocking \
2708  ROM_SSIDataGetNonBlocking
2709 #else
2710 #define MAP_SSIDataGetNonBlocking \
2711  SSIDataGetNonBlocking
2712 #endif
2713 #ifdef ROM_SSIDMAEnable
2714 #define MAP_SSIDMAEnable \
2715  ROM_SSIDMAEnable
2716 #else
2717 #define MAP_SSIDMAEnable \
2718  SSIDMAEnable
2719 #endif
2720 #ifdef ROM_SSIDMADisable
2721 #define MAP_SSIDMADisable \
2722  ROM_SSIDMADisable
2723 #else
2724 #define MAP_SSIDMADisable \
2725  SSIDMADisable
2726 #endif
2727 #ifdef ROM_SSIBusy
2728 #define MAP_SSIBusy \
2729  ROM_SSIBusy
2730 #else
2731 #define MAP_SSIBusy \
2732  SSIBusy
2733 #endif
2734 #ifdef ROM_SSIClockSourceGet
2735 #define MAP_SSIClockSourceGet \
2736  ROM_SSIClockSourceGet
2737 #else
2738 #define MAP_SSIClockSourceGet \
2739  SSIClockSourceGet
2740 #endif
2741 #ifdef ROM_SSIClockSourceSet
2742 #define MAP_SSIClockSourceSet \
2743  ROM_SSIClockSourceSet
2744 #else
2745 #define MAP_SSIClockSourceSet \
2746  SSIClockSourceSet
2747 #endif
2748 
2749 //*****************************************************************************
2750 //
2751 // Macros for the SysCtl API.
2752 //
2753 //*****************************************************************************
2754 #ifdef ROM_SysCtlSleep
2755 #define MAP_SysCtlSleep \
2756  ROM_SysCtlSleep
2757 #else
2758 #define MAP_SysCtlSleep \
2759  SysCtlSleep
2760 #endif
2761 #ifdef ROM_SysCtlSRAMSizeGet
2762 #define MAP_SysCtlSRAMSizeGet \
2763  ROM_SysCtlSRAMSizeGet
2764 #else
2765 #define MAP_SysCtlSRAMSizeGet \
2766  SysCtlSRAMSizeGet
2767 #endif
2768 #ifdef ROM_SysCtlFlashSizeGet
2769 #define MAP_SysCtlFlashSizeGet \
2770  ROM_SysCtlFlashSizeGet
2771 #else
2772 #define MAP_SysCtlFlashSizeGet \
2773  SysCtlFlashSizeGet
2774 #endif
2775 #ifdef ROM_SysCtlPeripheralPresent
2776 #define MAP_SysCtlPeripheralPresent \
2777  ROM_SysCtlPeripheralPresent
2778 #else
2779 #define MAP_SysCtlPeripheralPresent \
2780  SysCtlPeripheralPresent
2781 #endif
2782 #ifdef ROM_SysCtlPeripheralReset
2783 #define MAP_SysCtlPeripheralReset \
2784  ROM_SysCtlPeripheralReset
2785 #else
2786 #define MAP_SysCtlPeripheralReset \
2787  SysCtlPeripheralReset
2788 #endif
2789 #ifdef ROM_SysCtlPeripheralEnable
2790 #define MAP_SysCtlPeripheralEnable \
2791  ROM_SysCtlPeripheralEnable
2792 #else
2793 #define MAP_SysCtlPeripheralEnable \
2794  SysCtlPeripheralEnable
2795 #endif
2796 #ifdef ROM_SysCtlPeripheralDisable
2797 #define MAP_SysCtlPeripheralDisable \
2798  ROM_SysCtlPeripheralDisable
2799 #else
2800 #define MAP_SysCtlPeripheralDisable \
2801  SysCtlPeripheralDisable
2802 #endif
2803 #ifdef ROM_SysCtlPeripheralSleepEnable
2804 #define MAP_SysCtlPeripheralSleepEnable \
2805  ROM_SysCtlPeripheralSleepEnable
2806 #else
2807 #define MAP_SysCtlPeripheralSleepEnable \
2808  SysCtlPeripheralSleepEnable
2809 #endif
2810 #ifdef ROM_SysCtlPeripheralSleepDisable
2811 #define MAP_SysCtlPeripheralSleepDisable \
2812  ROM_SysCtlPeripheralSleepDisable
2813 #else
2814 #define MAP_SysCtlPeripheralSleepDisable \
2815  SysCtlPeripheralSleepDisable
2816 #endif
2817 #ifdef ROM_SysCtlPeripheralDeepSleepEnable
2818 #define MAP_SysCtlPeripheralDeepSleepEnable \
2819  ROM_SysCtlPeripheralDeepSleepEnable
2820 #else
2821 #define MAP_SysCtlPeripheralDeepSleepEnable \
2822  SysCtlPeripheralDeepSleepEnable
2823 #endif
2824 #ifdef ROM_SysCtlPeripheralDeepSleepDisable
2825 #define MAP_SysCtlPeripheralDeepSleepDisable \
2826  ROM_SysCtlPeripheralDeepSleepDisable
2827 #else
2828 #define MAP_SysCtlPeripheralDeepSleepDisable \
2829  SysCtlPeripheralDeepSleepDisable
2830 #endif
2831 #ifdef ROM_SysCtlPeripheralClockGating
2832 #define MAP_SysCtlPeripheralClockGating \
2833  ROM_SysCtlPeripheralClockGating
2834 #else
2835 #define MAP_SysCtlPeripheralClockGating \
2836  SysCtlPeripheralClockGating
2837 #endif
2838 #ifdef ROM_SysCtlIntEnable
2839 #define MAP_SysCtlIntEnable \
2840  ROM_SysCtlIntEnable
2841 #else
2842 #define MAP_SysCtlIntEnable \
2843  SysCtlIntEnable
2844 #endif
2845 #ifdef ROM_SysCtlIntDisable
2846 #define MAP_SysCtlIntDisable \
2847  ROM_SysCtlIntDisable
2848 #else
2849 #define MAP_SysCtlIntDisable \
2850  SysCtlIntDisable
2851 #endif
2852 #ifdef ROM_SysCtlIntClear
2853 #define MAP_SysCtlIntClear \
2854  ROM_SysCtlIntClear
2855 #else
2856 #define MAP_SysCtlIntClear \
2857  SysCtlIntClear
2858 #endif
2859 #ifdef ROM_SysCtlIntStatus
2860 #define MAP_SysCtlIntStatus \
2861  ROM_SysCtlIntStatus
2862 #else
2863 #define MAP_SysCtlIntStatus \
2864  SysCtlIntStatus
2865 #endif
2866 #ifdef ROM_SysCtlReset
2867 #define MAP_SysCtlReset \
2868  ROM_SysCtlReset
2869 #else
2870 #define MAP_SysCtlReset \
2871  SysCtlReset
2872 #endif
2873 #ifdef ROM_SysCtlDeepSleep
2874 #define MAP_SysCtlDeepSleep \
2875  ROM_SysCtlDeepSleep
2876 #else
2877 #define MAP_SysCtlDeepSleep \
2878  SysCtlDeepSleep
2879 #endif
2880 #ifdef ROM_SysCtlResetCauseGet
2881 #define MAP_SysCtlResetCauseGet \
2882  ROM_SysCtlResetCauseGet
2883 #else
2884 #define MAP_SysCtlResetCauseGet \
2885  SysCtlResetCauseGet
2886 #endif
2887 #ifdef ROM_SysCtlResetCauseClear
2888 #define MAP_SysCtlResetCauseClear \
2889  ROM_SysCtlResetCauseClear
2890 #else
2891 #define MAP_SysCtlResetCauseClear \
2892  SysCtlResetCauseClear
2893 #endif
2894 #ifdef ROM_SysCtlClockSet
2895 #define MAP_SysCtlClockSet \
2896  ROM_SysCtlClockSet
2897 #else
2898 #define MAP_SysCtlClockSet \
2899  SysCtlClockSet
2900 #endif
2901 #ifdef ROM_SysCtlClockGet
2902 #define MAP_SysCtlClockGet \
2903  ROM_SysCtlClockGet
2904 #else
2905 #define MAP_SysCtlClockGet \
2906  SysCtlClockGet
2907 #endif
2908 #ifdef ROM_SysCtlPWMClockSet
2909 #define MAP_SysCtlPWMClockSet \
2910  ROM_SysCtlPWMClockSet
2911 #else
2912 #define MAP_SysCtlPWMClockSet \
2913  SysCtlPWMClockSet
2914 #endif
2915 #ifdef ROM_SysCtlPWMClockGet
2916 #define MAP_SysCtlPWMClockGet \
2917  ROM_SysCtlPWMClockGet
2918 #else
2919 #define MAP_SysCtlPWMClockGet \
2920  SysCtlPWMClockGet
2921 #endif
2922 #ifdef ROM_SysCtlADCSpeedSet
2923 #define MAP_SysCtlADCSpeedSet \
2924  ROM_SysCtlADCSpeedSet
2925 #else
2926 #define MAP_SysCtlADCSpeedSet \
2927  SysCtlADCSpeedSet
2928 #endif
2929 #ifdef ROM_SysCtlADCSpeedGet
2930 #define MAP_SysCtlADCSpeedGet \
2931  ROM_SysCtlADCSpeedGet
2932 #else
2933 #define MAP_SysCtlADCSpeedGet \
2934  SysCtlADCSpeedGet
2935 #endif
2936 #ifdef ROM_SysCtlUSBPLLEnable
2937 #define MAP_SysCtlUSBPLLEnable \
2938  ROM_SysCtlUSBPLLEnable
2939 #else
2940 #define MAP_SysCtlUSBPLLEnable \
2941  SysCtlUSBPLLEnable
2942 #endif
2943 #ifdef ROM_SysCtlUSBPLLDisable
2944 #define MAP_SysCtlUSBPLLDisable \
2945  ROM_SysCtlUSBPLLDisable
2946 #else
2947 #define MAP_SysCtlUSBPLLDisable \
2948  SysCtlUSBPLLDisable
2949 #endif
2950 #ifdef ROM_SysCtlDelay
2951 #define MAP_SysCtlDelay \
2952  ROM_SysCtlDelay
2953 #else
2954 #define MAP_SysCtlDelay \
2955  SysCtlDelay
2956 #endif
2957 #ifdef ROM_SysCtlPeripheralReady
2958 #define MAP_SysCtlPeripheralReady \
2959  ROM_SysCtlPeripheralReady
2960 #else
2961 #define MAP_SysCtlPeripheralReady \
2962  SysCtlPeripheralReady
2963 #endif
2964 #ifdef ROM_SysCtlPeripheralPowerOn
2965 #define MAP_SysCtlPeripheralPowerOn \
2966  ROM_SysCtlPeripheralPowerOn
2967 #else
2968 #define MAP_SysCtlPeripheralPowerOn \
2969  SysCtlPeripheralPowerOn
2970 #endif
2971 #ifdef ROM_SysCtlPeripheralPowerOff
2972 #define MAP_SysCtlPeripheralPowerOff \
2973  ROM_SysCtlPeripheralPowerOff
2974 #else
2975 #define MAP_SysCtlPeripheralPowerOff \
2976  SysCtlPeripheralPowerOff
2977 #endif
2978 #ifdef ROM_SysCtlMOSCConfigSet
2979 #define MAP_SysCtlMOSCConfigSet \
2980  ROM_SysCtlMOSCConfigSet
2981 #else
2982 #define MAP_SysCtlMOSCConfigSet \
2983  SysCtlMOSCConfigSet
2984 #endif
2985 #ifdef ROM_SysCtlPIOSCCalibrate
2986 #define MAP_SysCtlPIOSCCalibrate \
2987  ROM_SysCtlPIOSCCalibrate
2988 #else
2989 #define MAP_SysCtlPIOSCCalibrate \
2990  SysCtlPIOSCCalibrate
2991 #endif
2992 #ifdef ROM_SysCtlDeepSleepClockSet
2993 #define MAP_SysCtlDeepSleepClockSet \
2994  ROM_SysCtlDeepSleepClockSet
2995 #else
2996 #define MAP_SysCtlDeepSleepClockSet \
2997  SysCtlDeepSleepClockSet
2998 #endif
2999 
3000 //*****************************************************************************
3001 //
3002 // Macros for the SysExc API.
3003 //
3004 //*****************************************************************************
3005 #ifdef ROM_SysExcIntStatus
3006 #define MAP_SysExcIntStatus \
3007  ROM_SysExcIntStatus
3008 #else
3009 #define MAP_SysExcIntStatus \
3010  SysExcIntStatus
3011 #endif
3012 #ifdef ROM_SysExcIntClear
3013 #define MAP_SysExcIntClear \
3014  ROM_SysExcIntClear
3015 #else
3016 #define MAP_SysExcIntClear \
3017  SysExcIntClear
3018 #endif
3019 #ifdef ROM_SysExcIntDisable
3020 #define MAP_SysExcIntDisable \
3021  ROM_SysExcIntDisable
3022 #else
3023 #define MAP_SysExcIntDisable \
3024  SysExcIntDisable
3025 #endif
3026 #ifdef ROM_SysExcIntEnable
3027 #define MAP_SysExcIntEnable \
3028  ROM_SysExcIntEnable
3029 #else
3030 #define MAP_SysExcIntEnable \
3031  SysExcIntEnable
3032 #endif
3033 
3034 //*****************************************************************************
3035 //
3036 // Macros for the SysTick API.
3037 //
3038 //*****************************************************************************
3039 #ifdef ROM_SysTickValueGet
3040 #define MAP_SysTickValueGet \
3041  ROM_SysTickValueGet
3042 #else
3043 #define MAP_SysTickValueGet \
3044  SysTickValueGet
3045 #endif
3046 #ifdef ROM_SysTickEnable
3047 #define MAP_SysTickEnable \
3048  ROM_SysTickEnable
3049 #else
3050 #define MAP_SysTickEnable \
3051  SysTickEnable
3052 #endif
3053 #ifdef ROM_SysTickDisable
3054 #define MAP_SysTickDisable \
3055  ROM_SysTickDisable
3056 #else
3057 #define MAP_SysTickDisable \
3058  SysTickDisable
3059 #endif
3060 #ifdef ROM_SysTickIntEnable
3061 #define MAP_SysTickIntEnable \
3062  ROM_SysTickIntEnable
3063 #else
3064 #define MAP_SysTickIntEnable \
3065  SysTickIntEnable
3066 #endif
3067 #ifdef ROM_SysTickIntDisable
3068 #define MAP_SysTickIntDisable \
3069  ROM_SysTickIntDisable
3070 #else
3071 #define MAP_SysTickIntDisable \
3072  SysTickIntDisable
3073 #endif
3074 #ifdef ROM_SysTickPeriodSet
3075 #define MAP_SysTickPeriodSet \
3076  ROM_SysTickPeriodSet
3077 #else
3078 #define MAP_SysTickPeriodSet \
3079  SysTickPeriodSet
3080 #endif
3081 #ifdef ROM_SysTickPeriodGet
3082 #define MAP_SysTickPeriodGet \
3083  ROM_SysTickPeriodGet
3084 #else
3085 #define MAP_SysTickPeriodGet \
3086  SysTickPeriodGet
3087 #endif
3088 
3089 //*****************************************************************************
3090 //
3091 // Macros for the Timer API.
3092 //
3093 //*****************************************************************************
3094 #ifdef ROM_TimerIntClear
3095 #define MAP_TimerIntClear \
3096  ROM_TimerIntClear
3097 #else
3098 #define MAP_TimerIntClear \
3099  TimerIntClear
3100 #endif
3101 #ifdef ROM_TimerEnable
3102 #define MAP_TimerEnable \
3103  ROM_TimerEnable
3104 #else
3105 #define MAP_TimerEnable \
3106  TimerEnable
3107 #endif
3108 #ifdef ROM_TimerDisable
3109 #define MAP_TimerDisable \
3110  ROM_TimerDisable
3111 #else
3112 #define MAP_TimerDisable \
3113  TimerDisable
3114 #endif
3115 #ifdef ROM_TimerConfigure
3116 #define MAP_TimerConfigure \
3117  ROM_TimerConfigure
3118 #else
3119 #define MAP_TimerConfigure \
3120  TimerConfigure
3121 #endif
3122 #ifdef ROM_TimerControlLevel
3123 #define MAP_TimerControlLevel \
3124  ROM_TimerControlLevel
3125 #else
3126 #define MAP_TimerControlLevel \
3127  TimerControlLevel
3128 #endif
3129 #ifdef ROM_TimerControlTrigger
3130 #define MAP_TimerControlTrigger \
3131  ROM_TimerControlTrigger
3132 #else
3133 #define MAP_TimerControlTrigger \
3134  TimerControlTrigger
3135 #endif
3136 #ifdef ROM_TimerControlEvent
3137 #define MAP_TimerControlEvent \
3138  ROM_TimerControlEvent
3139 #else
3140 #define MAP_TimerControlEvent \
3141  TimerControlEvent
3142 #endif
3143 #ifdef ROM_TimerControlStall
3144 #define MAP_TimerControlStall \
3145  ROM_TimerControlStall
3146 #else
3147 #define MAP_TimerControlStall \
3148  TimerControlStall
3149 #endif
3150 #ifdef ROM_TimerRTCEnable
3151 #define MAP_TimerRTCEnable \
3152  ROM_TimerRTCEnable
3153 #else
3154 #define MAP_TimerRTCEnable \
3155  TimerRTCEnable
3156 #endif
3157 #ifdef ROM_TimerRTCDisable
3158 #define MAP_TimerRTCDisable \
3159  ROM_TimerRTCDisable
3160 #else
3161 #define MAP_TimerRTCDisable \
3162  TimerRTCDisable
3163 #endif
3164 #ifdef ROM_TimerPrescaleSet
3165 #define MAP_TimerPrescaleSet \
3166  ROM_TimerPrescaleSet
3167 #else
3168 #define MAP_TimerPrescaleSet \
3169  TimerPrescaleSet
3170 #endif
3171 #ifdef ROM_TimerPrescaleGet
3172 #define MAP_TimerPrescaleGet \
3173  ROM_TimerPrescaleGet
3174 #else
3175 #define MAP_TimerPrescaleGet \
3176  TimerPrescaleGet
3177 #endif
3178 #ifdef ROM_TimerPrescaleMatchSet
3179 #define MAP_TimerPrescaleMatchSet \
3180  ROM_TimerPrescaleMatchSet
3181 #else
3182 #define MAP_TimerPrescaleMatchSet \
3183  TimerPrescaleMatchSet
3184 #endif
3185 #ifdef ROM_TimerPrescaleMatchGet
3186 #define MAP_TimerPrescaleMatchGet \
3187  ROM_TimerPrescaleMatchGet
3188 #else
3189 #define MAP_TimerPrescaleMatchGet \
3190  TimerPrescaleMatchGet
3191 #endif
3192 #ifdef ROM_TimerLoadSet
3193 #define MAP_TimerLoadSet \
3194  ROM_TimerLoadSet
3195 #else
3196 #define MAP_TimerLoadSet \
3197  TimerLoadSet
3198 #endif
3199 #ifdef ROM_TimerLoadGet
3200 #define MAP_TimerLoadGet \
3201  ROM_TimerLoadGet
3202 #else
3203 #define MAP_TimerLoadGet \
3204  TimerLoadGet
3205 #endif
3206 #ifdef ROM_TimerValueGet
3207 #define MAP_TimerValueGet \
3208  ROM_TimerValueGet
3209 #else
3210 #define MAP_TimerValueGet \
3211  TimerValueGet
3212 #endif
3213 #ifdef ROM_TimerMatchSet
3214 #define MAP_TimerMatchSet \
3215  ROM_TimerMatchSet
3216 #else
3217 #define MAP_TimerMatchSet \
3218  TimerMatchSet
3219 #endif
3220 #ifdef ROM_TimerMatchGet
3221 #define MAP_TimerMatchGet \
3222  ROM_TimerMatchGet
3223 #else
3224 #define MAP_TimerMatchGet \
3225  TimerMatchGet
3226 #endif
3227 #ifdef ROM_TimerIntEnable
3228 #define MAP_TimerIntEnable \
3229  ROM_TimerIntEnable
3230 #else
3231 #define MAP_TimerIntEnable \
3232  TimerIntEnable
3233 #endif
3234 #ifdef ROM_TimerIntDisable
3235 #define MAP_TimerIntDisable \
3236  ROM_TimerIntDisable
3237 #else
3238 #define MAP_TimerIntDisable \
3239  TimerIntDisable
3240 #endif
3241 #ifdef ROM_TimerIntStatus
3242 #define MAP_TimerIntStatus \
3243  ROM_TimerIntStatus
3244 #else
3245 #define MAP_TimerIntStatus \
3246  TimerIntStatus
3247 #endif
3248 #ifdef ROM_TimerControlWaitOnTrigger
3249 #define MAP_TimerControlWaitOnTrigger \
3250  ROM_TimerControlWaitOnTrigger
3251 #else
3252 #define MAP_TimerControlWaitOnTrigger \
3253  TimerControlWaitOnTrigger
3254 #endif
3255 #ifdef ROM_TimerLoadSet64
3256 #define MAP_TimerLoadSet64 \
3257  ROM_TimerLoadSet64
3258 #else
3259 #define MAP_TimerLoadSet64 \
3260  TimerLoadSet64
3261 #endif
3262 #ifdef ROM_TimerLoadGet64
3263 #define MAP_TimerLoadGet64 \
3264  ROM_TimerLoadGet64
3265 #else
3266 #define MAP_TimerLoadGet64 \
3267  TimerLoadGet64
3268 #endif
3269 #ifdef ROM_TimerValueGet64
3270 #define MAP_TimerValueGet64 \
3271  ROM_TimerValueGet64
3272 #else
3273 #define MAP_TimerValueGet64 \
3274  TimerValueGet64
3275 #endif
3276 #ifdef ROM_TimerMatchSet64
3277 #define MAP_TimerMatchSet64 \
3278  ROM_TimerMatchSet64
3279 #else
3280 #define MAP_TimerMatchSet64 \
3281  TimerMatchSet64
3282 #endif
3283 #ifdef ROM_TimerMatchGet64
3284 #define MAP_TimerMatchGet64 \
3285  ROM_TimerMatchGet64
3286 #else
3287 #define MAP_TimerMatchGet64 \
3288  TimerMatchGet64
3289 #endif
3290 
3291 //*****************************************************************************
3292 //
3293 // Macros for the UART API.
3294 //
3295 //*****************************************************************************
3296 #ifdef ROM_UARTCharPut
3297 #define MAP_UARTCharPut \
3298  ROM_UARTCharPut
3299 #else
3300 #define MAP_UARTCharPut \
3301  UARTCharPut
3302 #endif
3303 #ifdef ROM_UARTParityModeSet
3304 #define MAP_UARTParityModeSet \
3305  ROM_UARTParityModeSet
3306 #else
3307 #define MAP_UARTParityModeSet \
3308  UARTParityModeSet
3309 #endif
3310 #ifdef ROM_UARTParityModeGet
3311 #define MAP_UARTParityModeGet \
3312  ROM_UARTParityModeGet
3313 #else
3314 #define MAP_UARTParityModeGet \
3315  UARTParityModeGet
3316 #endif
3317 #ifdef ROM_UARTFIFOLevelSet
3318 #define MAP_UARTFIFOLevelSet \
3319  ROM_UARTFIFOLevelSet
3320 #else
3321 #define MAP_UARTFIFOLevelSet \
3322  UARTFIFOLevelSet
3323 #endif
3324 #ifdef ROM_UARTFIFOLevelGet
3325 #define MAP_UARTFIFOLevelGet \
3326  ROM_UARTFIFOLevelGet
3327 #else
3328 #define MAP_UARTFIFOLevelGet \
3329  UARTFIFOLevelGet
3330 #endif
3331 #ifdef ROM_UARTConfigSetExpClk
3332 #define MAP_UARTConfigSetExpClk \
3333  ROM_UARTConfigSetExpClk
3334 #else
3335 #define MAP_UARTConfigSetExpClk \
3336  UARTConfigSetExpClk
3337 #endif
3338 #ifdef ROM_UARTConfigGetExpClk
3339 #define MAP_UARTConfigGetExpClk \
3340  ROM_UARTConfigGetExpClk
3341 #else
3342 #define MAP_UARTConfigGetExpClk \
3343  UARTConfigGetExpClk
3344 #endif
3345 #ifdef ROM_UARTEnable
3346 #define MAP_UARTEnable \
3347  ROM_UARTEnable
3348 #else
3349 #define MAP_UARTEnable \
3350  UARTEnable
3351 #endif
3352 #ifdef ROM_UARTDisable
3353 #define MAP_UARTDisable \
3354  ROM_UARTDisable
3355 #else
3356 #define MAP_UARTDisable \
3357  UARTDisable
3358 #endif
3359 #ifdef ROM_UARTEnableSIR
3360 #define MAP_UARTEnableSIR \
3361  ROM_UARTEnableSIR
3362 #else
3363 #define MAP_UARTEnableSIR \
3364  UARTEnableSIR
3365 #endif
3366 #ifdef ROM_UARTDisableSIR
3367 #define MAP_UARTDisableSIR \
3368  ROM_UARTDisableSIR
3369 #else
3370 #define MAP_UARTDisableSIR \
3371  UARTDisableSIR
3372 #endif
3373 #ifdef ROM_UARTCharsAvail
3374 #define MAP_UARTCharsAvail \
3375  ROM_UARTCharsAvail
3376 #else
3377 #define MAP_UARTCharsAvail \
3378  UARTCharsAvail
3379 #endif
3380 #ifdef ROM_UARTSpaceAvail
3381 #define MAP_UARTSpaceAvail \
3382  ROM_UARTSpaceAvail
3383 #else
3384 #define MAP_UARTSpaceAvail \
3385  UARTSpaceAvail
3386 #endif
3387 #ifdef ROM_UARTCharGetNonBlocking
3388 #define MAP_UARTCharGetNonBlocking \
3389  ROM_UARTCharGetNonBlocking
3390 #else
3391 #define MAP_UARTCharGetNonBlocking \
3392  UARTCharGetNonBlocking
3393 #endif
3394 #ifdef ROM_UARTCharGet
3395 #define MAP_UARTCharGet \
3396  ROM_UARTCharGet
3397 #else
3398 #define MAP_UARTCharGet \
3399  UARTCharGet
3400 #endif
3401 #ifdef ROM_UARTCharPutNonBlocking
3402 #define MAP_UARTCharPutNonBlocking \
3403  ROM_UARTCharPutNonBlocking
3404 #else
3405 #define MAP_UARTCharPutNonBlocking \
3406  UARTCharPutNonBlocking
3407 #endif
3408 #ifdef ROM_UARTBreakCtl
3409 #define MAP_UARTBreakCtl \
3410  ROM_UARTBreakCtl
3411 #else
3412 #define MAP_UARTBreakCtl \
3413  UARTBreakCtl
3414 #endif
3415 #ifdef ROM_UARTIntEnable
3416 #define MAP_UARTIntEnable \
3417  ROM_UARTIntEnable
3418 #else
3419 #define MAP_UARTIntEnable \
3420  UARTIntEnable
3421 #endif
3422 #ifdef ROM_UARTIntDisable
3423 #define MAP_UARTIntDisable \
3424  ROM_UARTIntDisable
3425 #else
3426 #define MAP_UARTIntDisable \
3427  UARTIntDisable
3428 #endif
3429 #ifdef ROM_UARTIntStatus
3430 #define MAP_UARTIntStatus \
3431  ROM_UARTIntStatus
3432 #else
3433 #define MAP_UARTIntStatus \
3434  UARTIntStatus
3435 #endif
3436 #ifdef ROM_UARTIntClear
3437 #define MAP_UARTIntClear \
3438  ROM_UARTIntClear
3439 #else
3440 #define MAP_UARTIntClear \
3441  UARTIntClear
3442 #endif
3443 #ifdef ROM_UARTDMAEnable
3444 #define MAP_UARTDMAEnable \
3445  ROM_UARTDMAEnable
3446 #else
3447 #define MAP_UARTDMAEnable \
3448  UARTDMAEnable
3449 #endif
3450 #ifdef ROM_UARTDMADisable
3451 #define MAP_UARTDMADisable \
3452  ROM_UARTDMADisable
3453 #else
3454 #define MAP_UARTDMADisable \
3455  UARTDMADisable
3456 #endif
3457 #ifdef ROM_UARTFIFOEnable
3458 #define MAP_UARTFIFOEnable \
3459  ROM_UARTFIFOEnable
3460 #else
3461 #define MAP_UARTFIFOEnable \
3462  UARTFIFOEnable
3463 #endif
3464 #ifdef ROM_UARTFIFODisable
3465 #define MAP_UARTFIFODisable \
3466  ROM_UARTFIFODisable
3467 #else
3468 #define MAP_UARTFIFODisable \
3469  UARTFIFODisable
3470 #endif
3471 #ifdef ROM_UARTBusy
3472 #define MAP_UARTBusy \
3473  ROM_UARTBusy
3474 #else
3475 #define MAP_UARTBusy \
3476  UARTBusy
3477 #endif
3478 #ifdef ROM_UARTTxIntModeSet
3479 #define MAP_UARTTxIntModeSet \
3480  ROM_UARTTxIntModeSet
3481 #else
3482 #define MAP_UARTTxIntModeSet \
3483  UARTTxIntModeSet
3484 #endif
3485 #ifdef ROM_UARTTxIntModeGet
3486 #define MAP_UARTTxIntModeGet \
3487  ROM_UARTTxIntModeGet
3488 #else
3489 #define MAP_UARTTxIntModeGet \
3490  UARTTxIntModeGet
3491 #endif
3492 #ifdef ROM_UARTRxErrorGet
3493 #define MAP_UARTRxErrorGet \
3494  ROM_UARTRxErrorGet
3495 #else
3496 #define MAP_UARTRxErrorGet \
3497  UARTRxErrorGet
3498 #endif
3499 #ifdef ROM_UARTRxErrorClear
3500 #define MAP_UARTRxErrorClear \
3501  ROM_UARTRxErrorClear
3502 #else
3503 #define MAP_UARTRxErrorClear \
3504  UARTRxErrorClear
3505 #endif
3506 #ifdef ROM_UARTClockSourceSet
3507 #define MAP_UARTClockSourceSet \
3508  ROM_UARTClockSourceSet
3509 #else
3510 #define MAP_UARTClockSourceSet \
3511  UARTClockSourceSet
3512 #endif
3513 #ifdef ROM_UARTClockSourceGet
3514 #define MAP_UARTClockSourceGet \
3515  ROM_UARTClockSourceGet
3516 #else
3517 #define MAP_UARTClockSourceGet \
3518  UARTClockSourceGet
3519 #endif
3520 #ifdef ROM_UART9BitEnable
3521 #define MAP_UART9BitEnable \
3522  ROM_UART9BitEnable
3523 #else
3524 #define MAP_UART9BitEnable \
3525  UART9BitEnable
3526 #endif
3527 #ifdef ROM_UART9BitDisable
3528 #define MAP_UART9BitDisable \
3529  ROM_UART9BitDisable
3530 #else
3531 #define MAP_UART9BitDisable \
3532  UART9BitDisable
3533 #endif
3534 #ifdef ROM_UART9BitAddrSet
3535 #define MAP_UART9BitAddrSet \
3536  ROM_UART9BitAddrSet
3537 #else
3538 #define MAP_UART9BitAddrSet \
3539  UART9BitAddrSet
3540 #endif
3541 #ifdef ROM_UART9BitAddrSend
3542 #define MAP_UART9BitAddrSend \
3543  ROM_UART9BitAddrSend
3544 #else
3545 #define MAP_UART9BitAddrSend \
3546  UART9BitAddrSend
3547 #endif
3548 
3549 //*****************************************************************************
3550 //
3551 // Macros for the uDMA API.
3552 //
3553 //*****************************************************************************
3554 #ifdef ROM_uDMAChannelTransferSet
3555 #define MAP_uDMAChannelTransferSet \
3556  ROM_uDMAChannelTransferSet
3557 #else
3558 #define MAP_uDMAChannelTransferSet \
3559  uDMAChannelTransferSet
3560 #endif
3561 #ifdef ROM_uDMAEnable
3562 #define MAP_uDMAEnable \
3563  ROM_uDMAEnable
3564 #else
3565 #define MAP_uDMAEnable \
3566  uDMAEnable
3567 #endif
3568 #ifdef ROM_uDMADisable
3569 #define MAP_uDMADisable \
3570  ROM_uDMADisable
3571 #else
3572 #define MAP_uDMADisable \
3573  uDMADisable
3574 #endif
3575 #ifdef ROM_uDMAErrorStatusGet
3576 #define MAP_uDMAErrorStatusGet \
3577  ROM_uDMAErrorStatusGet
3578 #else
3579 #define MAP_uDMAErrorStatusGet \
3580  uDMAErrorStatusGet
3581 #endif
3582 #ifdef ROM_uDMAErrorStatusClear
3583 #define MAP_uDMAErrorStatusClear \
3584  ROM_uDMAErrorStatusClear
3585 #else
3586 #define MAP_uDMAErrorStatusClear \
3587  uDMAErrorStatusClear
3588 #endif
3589 #ifdef ROM_uDMAChannelEnable
3590 #define MAP_uDMAChannelEnable \
3591  ROM_uDMAChannelEnable
3592 #else
3593 #define MAP_uDMAChannelEnable \
3594  uDMAChannelEnable
3595 #endif
3596 #ifdef ROM_uDMAChannelDisable
3597 #define MAP_uDMAChannelDisable \
3598  ROM_uDMAChannelDisable
3599 #else
3600 #define MAP_uDMAChannelDisable \
3601  uDMAChannelDisable
3602 #endif
3603 #ifdef ROM_uDMAChannelIsEnabled
3604 #define MAP_uDMAChannelIsEnabled \
3605  ROM_uDMAChannelIsEnabled
3606 #else
3607 #define MAP_uDMAChannelIsEnabled \
3608  uDMAChannelIsEnabled
3609 #endif
3610 #ifdef ROM_uDMAControlBaseSet
3611 #define MAP_uDMAControlBaseSet \
3612  ROM_uDMAControlBaseSet
3613 #else
3614 #define MAP_uDMAControlBaseSet \
3615  uDMAControlBaseSet
3616 #endif
3617 #ifdef ROM_uDMAControlBaseGet
3618 #define MAP_uDMAControlBaseGet \
3619  ROM_uDMAControlBaseGet
3620 #else
3621 #define MAP_uDMAControlBaseGet \
3622  uDMAControlBaseGet
3623 #endif
3624 #ifdef ROM_uDMAChannelRequest
3625 #define MAP_uDMAChannelRequest \
3626  ROM_uDMAChannelRequest
3627 #else
3628 #define MAP_uDMAChannelRequest \
3629  uDMAChannelRequest
3630 #endif
3631 #ifdef ROM_uDMAChannelAttributeEnable
3632 #define MAP_uDMAChannelAttributeEnable \
3633  ROM_uDMAChannelAttributeEnable
3634 #else
3635 #define MAP_uDMAChannelAttributeEnable \
3636  uDMAChannelAttributeEnable
3637 #endif
3638 #ifdef ROM_uDMAChannelAttributeDisable
3639 #define MAP_uDMAChannelAttributeDisable \
3640  ROM_uDMAChannelAttributeDisable
3641 #else
3642 #define MAP_uDMAChannelAttributeDisable \
3643  uDMAChannelAttributeDisable
3644 #endif
3645 #ifdef ROM_uDMAChannelAttributeGet
3646 #define MAP_uDMAChannelAttributeGet \
3647  ROM_uDMAChannelAttributeGet
3648 #else
3649 #define MAP_uDMAChannelAttributeGet \
3650  uDMAChannelAttributeGet
3651 #endif
3652 #ifdef ROM_uDMAChannelControlSet
3653 #define MAP_uDMAChannelControlSet \
3654  ROM_uDMAChannelControlSet
3655 #else
3656 #define MAP_uDMAChannelControlSet \
3657  uDMAChannelControlSet
3658 #endif
3659 #ifdef ROM_uDMAChannelSizeGet
3660 #define MAP_uDMAChannelSizeGet \
3661  ROM_uDMAChannelSizeGet
3662 #else
3663 #define MAP_uDMAChannelSizeGet \
3664  uDMAChannelSizeGet
3665 #endif
3666 #ifdef ROM_uDMAChannelModeGet
3667 #define MAP_uDMAChannelModeGet \
3668  ROM_uDMAChannelModeGet
3669 #else
3670 #define MAP_uDMAChannelModeGet \
3671  uDMAChannelModeGet
3672 #endif
3673 #ifdef ROM_uDMAChannelSelectSecondary
3674 #define MAP_uDMAChannelSelectSecondary \
3675  ROM_uDMAChannelSelectSecondary
3676 #else
3677 #define MAP_uDMAChannelSelectSecondary \
3678  uDMAChannelSelectSecondary
3679 #endif
3680 #ifdef ROM_uDMAChannelSelectDefault
3681 #define MAP_uDMAChannelSelectDefault \
3682  ROM_uDMAChannelSelectDefault
3683 #else
3684 #define MAP_uDMAChannelSelectDefault \
3685  uDMAChannelSelectDefault
3686 #endif
3687 #ifdef ROM_uDMAIntStatus
3688 #define MAP_uDMAIntStatus \
3689  ROM_uDMAIntStatus
3690 #else
3691 #define MAP_uDMAIntStatus \
3692  uDMAIntStatus
3693 #endif
3694 #ifdef ROM_uDMAIntClear
3695 #define MAP_uDMAIntClear \
3696  ROM_uDMAIntClear
3697 #else
3698 #define MAP_uDMAIntClear \
3699  uDMAIntClear
3700 #endif
3701 #ifdef ROM_uDMAControlAlternateBaseGet
3702 #define MAP_uDMAControlAlternateBaseGet \
3703  ROM_uDMAControlAlternateBaseGet
3704 #else
3705 #define MAP_uDMAControlAlternateBaseGet \
3706  uDMAControlAlternateBaseGet
3707 #endif
3708 #ifdef ROM_uDMAChannelScatterGatherSet
3709 #define MAP_uDMAChannelScatterGatherSet \
3710  ROM_uDMAChannelScatterGatherSet
3711 #else
3712 #define MAP_uDMAChannelScatterGatherSet \
3713  uDMAChannelScatterGatherSet
3714 #endif
3715 #ifdef ROM_uDMAChannelAssign
3716 #define MAP_uDMAChannelAssign \
3717  ROM_uDMAChannelAssign
3718 #else
3719 #define MAP_uDMAChannelAssign \
3720  uDMAChannelAssign
3721 #endif
3722 
3723 //*****************************************************************************
3724 //
3725 // Macros for the USB API.
3726 //
3727 //*****************************************************************************
3728 #ifdef ROM_USBDevAddrGet
3729 #define MAP_USBDevAddrGet \
3730  ROM_USBDevAddrGet
3731 #else
3732 #define MAP_USBDevAddrGet \
3733  USBDevAddrGet
3734 #endif
3735 #ifdef ROM_USBDevAddrSet
3736 #define MAP_USBDevAddrSet \
3737  ROM_USBDevAddrSet
3738 #else
3739 #define MAP_USBDevAddrSet \
3740  USBDevAddrSet
3741 #endif
3742 #ifdef ROM_USBDevConnect
3743 #define MAP_USBDevConnect \
3744  ROM_USBDevConnect
3745 #else
3746 #define MAP_USBDevConnect \
3747  USBDevConnect
3748 #endif
3749 #ifdef ROM_USBDevDisconnect
3750 #define MAP_USBDevDisconnect \
3751  ROM_USBDevDisconnect
3752 #else
3753 #define MAP_USBDevDisconnect \
3754  USBDevDisconnect
3755 #endif
3756 #ifdef ROM_USBDevEndpointConfigSet
3757 #define MAP_USBDevEndpointConfigSet \
3758  ROM_USBDevEndpointConfigSet
3759 #else
3760 #define MAP_USBDevEndpointConfigSet \
3761  USBDevEndpointConfigSet
3762 #endif
3763 #ifdef ROM_USBDevEndpointDataAck
3764 #define MAP_USBDevEndpointDataAck \
3765  ROM_USBDevEndpointDataAck
3766 #else
3767 #define MAP_USBDevEndpointDataAck \
3768  USBDevEndpointDataAck
3769 #endif
3770 #ifdef ROM_USBDevEndpointStall
3771 #define MAP_USBDevEndpointStall \
3772  ROM_USBDevEndpointStall
3773 #else
3774 #define MAP_USBDevEndpointStall \
3775  USBDevEndpointStall
3776 #endif
3777 #ifdef ROM_USBDevEndpointStallClear
3778 #define MAP_USBDevEndpointStallClear \
3779  ROM_USBDevEndpointStallClear
3780 #else
3781 #define MAP_USBDevEndpointStallClear \
3782  USBDevEndpointStallClear
3783 #endif
3784 #ifdef ROM_USBDevEndpointStatusClear
3785 #define MAP_USBDevEndpointStatusClear \
3786  ROM_USBDevEndpointStatusClear
3787 #else
3788 #define MAP_USBDevEndpointStatusClear \
3789  USBDevEndpointStatusClear
3790 #endif
3791 #ifdef ROM_USBEndpointDataGet
3792 #define MAP_USBEndpointDataGet \
3793  ROM_USBEndpointDataGet
3794 #else
3795 #define MAP_USBEndpointDataGet \
3796  USBEndpointDataGet
3797 #endif
3798 #ifdef ROM_USBEndpointDataPut
3799 #define MAP_USBEndpointDataPut \
3800  ROM_USBEndpointDataPut
3801 #else
3802 #define MAP_USBEndpointDataPut \
3803  USBEndpointDataPut
3804 #endif
3805 #ifdef ROM_USBEndpointDataSend
3806 #define MAP_USBEndpointDataSend \
3807  ROM_USBEndpointDataSend
3808 #else
3809 #define MAP_USBEndpointDataSend \
3810  USBEndpointDataSend
3811 #endif
3812 #ifdef ROM_USBEndpointDataToggleClear
3813 #define MAP_USBEndpointDataToggleClear \
3814  ROM_USBEndpointDataToggleClear
3815 #else
3816 #define MAP_USBEndpointDataToggleClear \
3817  USBEndpointDataToggleClear
3818 #endif
3819 #ifdef ROM_USBEndpointStatus
3820 #define MAP_USBEndpointStatus \
3821  ROM_USBEndpointStatus
3822 #else
3823 #define MAP_USBEndpointStatus \
3824  USBEndpointStatus
3825 #endif
3826 #ifdef ROM_USBFIFOAddrGet
3827 #define MAP_USBFIFOAddrGet \
3828  ROM_USBFIFOAddrGet
3829 #else
3830 #define MAP_USBFIFOAddrGet \
3831  USBFIFOAddrGet
3832 #endif
3833 #ifdef ROM_USBFIFOConfigGet
3834 #define MAP_USBFIFOConfigGet \
3835  ROM_USBFIFOConfigGet
3836 #else
3837 #define MAP_USBFIFOConfigGet \
3838  USBFIFOConfigGet
3839 #endif
3840 #ifdef ROM_USBFIFOConfigSet
3841 #define MAP_USBFIFOConfigSet \
3842  ROM_USBFIFOConfigSet
3843 #else
3844 #define MAP_USBFIFOConfigSet \
3845  USBFIFOConfigSet
3846 #endif
3847 #ifdef ROM_USBFIFOFlush
3848 #define MAP_USBFIFOFlush \
3849  ROM_USBFIFOFlush
3850 #else
3851 #define MAP_USBFIFOFlush \
3852  USBFIFOFlush
3853 #endif
3854 #ifdef ROM_USBFrameNumberGet
3855 #define MAP_USBFrameNumberGet \
3856  ROM_USBFrameNumberGet
3857 #else
3858 #define MAP_USBFrameNumberGet \
3859  USBFrameNumberGet
3860 #endif
3861 #ifdef ROM_USBHostAddrGet
3862 #define MAP_USBHostAddrGet \
3863  ROM_USBHostAddrGet
3864 #else
3865 #define MAP_USBHostAddrGet \
3866  USBHostAddrGet
3867 #endif
3868 #ifdef ROM_USBHostAddrSet
3869 #define MAP_USBHostAddrSet \
3870  ROM_USBHostAddrSet
3871 #else
3872 #define MAP_USBHostAddrSet \
3873  USBHostAddrSet
3874 #endif
3875 #ifdef ROM_USBHostEndpointConfig
3876 #define MAP_USBHostEndpointConfig \
3877  ROM_USBHostEndpointConfig
3878 #else
3879 #define MAP_USBHostEndpointConfig \
3880  USBHostEndpointConfig
3881 #endif
3882 #ifdef ROM_USBHostEndpointDataAck
3883 #define MAP_USBHostEndpointDataAck \
3884  ROM_USBHostEndpointDataAck
3885 #else
3886 #define MAP_USBHostEndpointDataAck \
3887  USBHostEndpointDataAck
3888 #endif
3889 #ifdef ROM_USBHostEndpointDataToggle
3890 #define MAP_USBHostEndpointDataToggle \
3891  ROM_USBHostEndpointDataToggle
3892 #else
3893 #define MAP_USBHostEndpointDataToggle \
3894  USBHostEndpointDataToggle
3895 #endif
3896 #ifdef ROM_USBHostEndpointStatusClear
3897 #define MAP_USBHostEndpointStatusClear \
3898  ROM_USBHostEndpointStatusClear
3899 #else
3900 #define MAP_USBHostEndpointStatusClear \
3901  USBHostEndpointStatusClear
3902 #endif
3903 #ifdef ROM_USBHostHubAddrGet
3904 #define MAP_USBHostHubAddrGet \
3905  ROM_USBHostHubAddrGet
3906 #else
3907 #define MAP_USBHostHubAddrGet \
3908  USBHostHubAddrGet
3909 #endif
3910 #ifdef ROM_USBHostHubAddrSet
3911 #define MAP_USBHostHubAddrSet \
3912  ROM_USBHostHubAddrSet
3913 #else
3914 #define MAP_USBHostHubAddrSet \
3915  USBHostHubAddrSet
3916 #endif
3917 #ifdef ROM_USBHostPwrDisable
3918 #define MAP_USBHostPwrDisable \
3919  ROM_USBHostPwrDisable
3920 #else
3921 #define MAP_USBHostPwrDisable \
3922  USBHostPwrDisable
3923 #endif
3924 #ifdef ROM_USBHostPwrEnable
3925 #define MAP_USBHostPwrEnable \
3926  ROM_USBHostPwrEnable
3927 #else
3928 #define MAP_USBHostPwrEnable \
3929  USBHostPwrEnable
3930 #endif
3931 #ifdef ROM_USBHostPwrConfig
3932 #define MAP_USBHostPwrConfig \
3933  ROM_USBHostPwrConfig
3934 #else
3935 #define MAP_USBHostPwrConfig \
3936  USBHostPwrConfig
3937 #endif
3938 #ifdef ROM_USBHostPwrFaultDisable
3939 #define MAP_USBHostPwrFaultDisable \
3940  ROM_USBHostPwrFaultDisable
3941 #else
3942 #define MAP_USBHostPwrFaultDisable \
3943  USBHostPwrFaultDisable
3944 #endif
3945 #ifdef ROM_USBHostPwrFaultEnable
3946 #define MAP_USBHostPwrFaultEnable \
3947  ROM_USBHostPwrFaultEnable
3948 #else
3949 #define MAP_USBHostPwrFaultEnable \
3950  USBHostPwrFaultEnable
3951 #endif
3952 #ifdef ROM_USBHostRequestIN
3953 #define MAP_USBHostRequestIN \
3954  ROM_USBHostRequestIN
3955 #else
3956 #define MAP_USBHostRequestIN \
3957  USBHostRequestIN
3958 #endif
3959 #ifdef ROM_USBHostRequestStatus
3960 #define MAP_USBHostRequestStatus \
3961  ROM_USBHostRequestStatus
3962 #else
3963 #define MAP_USBHostRequestStatus \
3964  USBHostRequestStatus
3965 #endif
3966 #ifdef ROM_USBHostReset
3967 #define MAP_USBHostReset \
3968  ROM_USBHostReset
3969 #else
3970 #define MAP_USBHostReset \
3971  USBHostReset
3972 #endif
3973 #ifdef ROM_USBHostResume
3974 #define MAP_USBHostResume \
3975  ROM_USBHostResume
3976 #else
3977 #define MAP_USBHostResume \
3978  USBHostResume
3979 #endif
3980 #ifdef ROM_USBHostSpeedGet
3981 #define MAP_USBHostSpeedGet \
3982  ROM_USBHostSpeedGet
3983 #else
3984 #define MAP_USBHostSpeedGet \
3985  USBHostSpeedGet
3986 #endif
3987 #ifdef ROM_USBHostSuspend
3988 #define MAP_USBHostSuspend \
3989  ROM_USBHostSuspend
3990 #else
3991 #define MAP_USBHostSuspend \
3992  USBHostSuspend
3993 #endif
3994 #ifdef ROM_USBDevEndpointConfigGet
3995 #define MAP_USBDevEndpointConfigGet \
3996  ROM_USBDevEndpointConfigGet
3997 #else
3998 #define MAP_USBDevEndpointConfigGet \
3999  USBDevEndpointConfigGet
4000 #endif
4001 #ifdef ROM_USBEndpointDMAEnable
4002 #define MAP_USBEndpointDMAEnable \
4003  ROM_USBEndpointDMAEnable
4004 #else
4005 #define MAP_USBEndpointDMAEnable \
4006  USBEndpointDMAEnable
4007 #endif
4008 #ifdef ROM_USBEndpointDMADisable
4009 #define MAP_USBEndpointDMADisable \
4010  ROM_USBEndpointDMADisable
4011 #else
4012 #define MAP_USBEndpointDMADisable \
4013  USBEndpointDMADisable
4014 #endif
4015 #ifdef ROM_USBEndpointDataAvail
4016 #define MAP_USBEndpointDataAvail \
4017  ROM_USBEndpointDataAvail
4018 #else
4019 #define MAP_USBEndpointDataAvail \
4020  USBEndpointDataAvail
4021 #endif
4022 #ifdef ROM_USBModeGet
4023 #define MAP_USBModeGet \
4024  ROM_USBModeGet
4025 #else
4026 #define MAP_USBModeGet \
4027  USBModeGet
4028 #endif
4029 #ifdef ROM_USBEndpointDMAChannel
4030 #define MAP_USBEndpointDMAChannel \
4031  ROM_USBEndpointDMAChannel
4032 #else
4033 #define MAP_USBEndpointDMAChannel \
4034  USBEndpointDMAChannel
4035 #endif
4036 #ifdef ROM_USBIntDisableControl
4037 #define MAP_USBIntDisableControl \
4038  ROM_USBIntDisableControl
4039 #else
4040 #define MAP_USBIntDisableControl \
4041  USBIntDisableControl
4042 #endif
4043 #ifdef ROM_USBIntEnableControl
4044 #define MAP_USBIntEnableControl \
4045  ROM_USBIntEnableControl
4046 #else
4047 #define MAP_USBIntEnableControl \
4048  USBIntEnableControl
4049 #endif
4050 #ifdef ROM_USBIntStatusControl
4051 #define MAP_USBIntStatusControl \
4052  ROM_USBIntStatusControl
4053 #else
4054 #define MAP_USBIntStatusControl \
4055  USBIntStatusControl
4056 #endif
4057 #ifdef ROM_USBIntDisableEndpoint
4058 #define MAP_USBIntDisableEndpoint \
4059  ROM_USBIntDisableEndpoint
4060 #else
4061 #define MAP_USBIntDisableEndpoint \
4062  USBIntDisableEndpoint
4063 #endif
4064 #ifdef ROM_USBIntEnableEndpoint
4065 #define MAP_USBIntEnableEndpoint \
4066  ROM_USBIntEnableEndpoint
4067 #else
4068 #define MAP_USBIntEnableEndpoint \
4069  USBIntEnableEndpoint
4070 #endif
4071 #ifdef ROM_USBIntStatusEndpoint
4072 #define MAP_USBIntStatusEndpoint \
4073  ROM_USBIntStatusEndpoint
4074 #else
4075 #define MAP_USBIntStatusEndpoint \
4076  USBIntStatusEndpoint
4077 #endif
4078 #ifdef ROM_USBHostMode
4079 #define MAP_USBHostMode \
4080  ROM_USBHostMode
4081 #else
4082 #define MAP_USBHostMode \
4083  USBHostMode
4084 #endif
4085 #ifdef ROM_USBDevMode
4086 #define MAP_USBDevMode \
4087  ROM_USBDevMode
4088 #else
4089 #define MAP_USBDevMode \
4090  USBDevMode
4091 #endif
4092 #ifdef ROM_USBPHYPowerOff
4093 #define MAP_USBPHYPowerOff \
4094  ROM_USBPHYPowerOff
4095 #else
4096 #define MAP_USBPHYPowerOff \
4097  USBPHYPowerOff
4098 #endif
4099 #ifdef ROM_USBPHYPowerOn
4100 #define MAP_USBPHYPowerOn \
4101  ROM_USBPHYPowerOn
4102 #else
4103 #define MAP_USBPHYPowerOn \
4104  USBPHYPowerOn
4105 #endif
4106 #ifdef ROM_USBOTGMode
4107 #define MAP_USBOTGMode \
4108  ROM_USBOTGMode
4109 #else
4110 #define MAP_USBOTGMode \
4111  USBOTGMode
4112 #endif
4113 #ifdef ROM_USBHostRequestINClear
4114 #define MAP_USBHostRequestINClear \
4115  ROM_USBHostRequestINClear
4116 #else
4117 #define MAP_USBHostRequestINClear \
4118  USBHostRequestINClear
4119 #endif
4120 #ifdef ROM_USBNumEndpointsGet
4121 #define MAP_USBNumEndpointsGet \
4122  ROM_USBNumEndpointsGet
4123 #else
4124 #define MAP_USBNumEndpointsGet \
4125  USBNumEndpointsGet
4126 #endif
4127 
4128 //*****************************************************************************
4129 //
4130 // Macros for the Watchdog API.
4131 //
4132 //*****************************************************************************
4133 #ifdef ROM_WatchdogIntClear
4134 #define MAP_WatchdogIntClear \
4135  ROM_WatchdogIntClear
4136 #else
4137 #define MAP_WatchdogIntClear \
4138  WatchdogIntClear
4139 #endif
4140 #ifdef ROM_WatchdogRunning
4141 #define MAP_WatchdogRunning \
4142  ROM_WatchdogRunning
4143 #else
4144 #define MAP_WatchdogRunning \
4145  WatchdogRunning
4146 #endif
4147 #ifdef ROM_WatchdogEnable
4148 #define MAP_WatchdogEnable \
4149  ROM_WatchdogEnable
4150 #else
4151 #define MAP_WatchdogEnable \
4152  WatchdogEnable
4153 #endif
4154 #ifdef ROM_WatchdogResetEnable
4155 #define MAP_WatchdogResetEnable \
4156  ROM_WatchdogResetEnable
4157 #else
4158 #define MAP_WatchdogResetEnable \
4159  WatchdogResetEnable
4160 #endif
4161 #ifdef ROM_WatchdogResetDisable
4162 #define MAP_WatchdogResetDisable \
4163  ROM_WatchdogResetDisable
4164 #else
4165 #define MAP_WatchdogResetDisable \
4166  WatchdogResetDisable
4167 #endif
4168 #ifdef ROM_WatchdogLock
4169 #define MAP_WatchdogLock \
4170  ROM_WatchdogLock
4171 #else
4172 #define MAP_WatchdogLock \
4173  WatchdogLock
4174 #endif
4175 #ifdef ROM_WatchdogUnlock
4176 #define MAP_WatchdogUnlock \
4177  ROM_WatchdogUnlock
4178 #else
4179 #define MAP_WatchdogUnlock \
4180  WatchdogUnlock
4181 #endif
4182 #ifdef ROM_WatchdogLockState
4183 #define MAP_WatchdogLockState \
4184  ROM_WatchdogLockState
4185 #else
4186 #define MAP_WatchdogLockState \
4187  WatchdogLockState
4188 #endif
4189 #ifdef ROM_WatchdogReloadSet
4190 #define MAP_WatchdogReloadSet \
4191  ROM_WatchdogReloadSet
4192 #else
4193 #define MAP_WatchdogReloadSet \
4194  WatchdogReloadSet
4195 #endif
4196 #ifdef ROM_WatchdogReloadGet
4197 #define MAP_WatchdogReloadGet \
4198  ROM_WatchdogReloadGet
4199 #else
4200 #define MAP_WatchdogReloadGet \
4201  WatchdogReloadGet
4202 #endif
4203 #ifdef ROM_WatchdogValueGet
4204 #define MAP_WatchdogValueGet \
4205  ROM_WatchdogValueGet
4206 #else
4207 #define MAP_WatchdogValueGet \
4208  WatchdogValueGet
4209 #endif
4210 #ifdef ROM_WatchdogIntEnable
4211 #define MAP_WatchdogIntEnable \
4212  ROM_WatchdogIntEnable
4213 #else
4214 #define MAP_WatchdogIntEnable \
4215  WatchdogIntEnable
4216 #endif
4217 #ifdef ROM_WatchdogIntStatus
4218 #define MAP_WatchdogIntStatus \
4219  ROM_WatchdogIntStatus
4220 #else
4221 #define MAP_WatchdogIntStatus \
4222  WatchdogIntStatus
4223 #endif
4224 #ifdef ROM_WatchdogStallEnable
4225 #define MAP_WatchdogStallEnable \
4226  ROM_WatchdogStallEnable
4227 #else
4228 #define MAP_WatchdogStallEnable \
4229  WatchdogStallEnable
4230 #endif
4231 #ifdef ROM_WatchdogStallDisable
4232 #define MAP_WatchdogStallDisable \
4233  ROM_WatchdogStallDisable
4234 #else
4235 #define MAP_WatchdogStallDisable \
4236  WatchdogStallDisable
4237 #endif
4238 #ifdef ROM_WatchdogIntTypeSet
4239 #define MAP_WatchdogIntTypeSet \
4240  ROM_WatchdogIntTypeSet
4241 #else
4242 #define MAP_WatchdogIntTypeSet \
4243  WatchdogIntTypeSet
4244 #endif
4245 
4246 //*****************************************************************************
4247 //
4248 // Macros for the Software API.
4249 //
4250 //*****************************************************************************
4251 #ifdef ROM_Crc16Array
4252 #define MAP_Crc16Array \
4253  ROM_Crc16Array
4254 #else
4255 #define MAP_Crc16Array \
4256  Crc16Array
4257 #endif
4258 #ifdef ROM_Crc16Array3
4259 #define MAP_Crc16Array3 \
4260  ROM_Crc16Array3
4261 #else
4262 #define MAP_Crc16Array3 \
4263  Crc16Array3
4264 #endif
4265 #ifdef ROM_Crc16
4266 #define MAP_Crc16 \
4267  ROM_Crc16
4268 #else
4269 #define MAP_Crc16 \
4270  Crc16
4271 #endif
4272 #ifdef ROM_Crc8CCITT
4273 #define MAP_Crc8CCITT \
4274  ROM_Crc8CCITT
4275 #else
4276 #define MAP_Crc8CCITT \
4277  Crc8CCITT
4278 #endif
4279 
4280 #endif // __DRIVERLIB_ROM_MAP_H__