CC3200 Peripheral Driver Library User's Guide
1.2.0
Main Page
Modules
Data Structures
Files
File List
rom_map.h
1
//*****************************************************************************
2
//
3
// rom_map.h
4
//
5
// Macros to facilitate calling functions in the ROM when they are
6
// available and in flash otherwise.
7
//
8
// Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
9
//
10
//
11
// Redistribution and use in source and binary forms, with or without
12
// modification, are permitted provided that the following conditions
13
// are met:
14
//
15
// Redistributions of source code must retain the above copyright
16
// notice, this list of conditions and the following disclaimer.
17
//
18
// Redistributions in binary form must reproduce the above copyright
19
// notice, this list of conditions and the following disclaimer in the
20
// documentation and/or other materials provided with the
21
// distribution.
22
//
23
// Neither the name of Texas Instruments Incorporated nor the names of
24
// its contributors may be used to endorse or promote products derived
25
// from this software without specific prior written permission.
26
//
27
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
//
39
//*****************************************************************************
40
41
//*****************************************************************************
42
//
43
// THIS IS AN AUTO-GENERATED FILE. DO NOT EDIT BY HAND.
44
//
45
//*****************************************************************************
46
47
#ifndef __ROM_MAP_H__
48
#define __ROM_MAP_H__
49
#include "rom_patch.h"
50
51
//*****************************************************************************
52
//
53
// Macros for the Interrupt API.
54
//
55
//*****************************************************************************
56
#ifdef ROM_IntEnable
57
#define MAP_IntEnable \
58
ROM_IntEnable
59
#else
60
#define MAP_IntEnable \
61
IntEnable
62
#endif
63
#ifdef ROM_IntMasterEnable
64
#define MAP_IntMasterEnable \
65
ROM_IntMasterEnable
66
#else
67
#define MAP_IntMasterEnable \
68
IntMasterEnable
69
#endif
70
#ifdef ROM_IntMasterDisable
71
#define MAP_IntMasterDisable \
72
ROM_IntMasterDisable
73
#else
74
#define MAP_IntMasterDisable \
75
IntMasterDisable
76
#endif
77
#ifdef ROM_IntDisable
78
#define MAP_IntDisable \
79
ROM_IntDisable
80
#else
81
#define MAP_IntDisable \
82
IntDisable
83
#endif
84
#ifdef ROM_IntPriorityGroupingSet
85
#define MAP_IntPriorityGroupingSet \
86
ROM_IntPriorityGroupingSet
87
#else
88
#define MAP_IntPriorityGroupingSet \
89
IntPriorityGroupingSet
90
#endif
91
#ifdef ROM_IntPriorityGroupingGet
92
#define MAP_IntPriorityGroupingGet \
93
ROM_IntPriorityGroupingGet
94
#else
95
#define MAP_IntPriorityGroupingGet \
96
IntPriorityGroupingGet
97
#endif
98
#ifdef ROM_IntPrioritySet
99
#define MAP_IntPrioritySet \
100
ROM_IntPrioritySet
101
#else
102
#define MAP_IntPrioritySet \
103
IntPrioritySet
104
#endif
105
#ifdef ROM_IntPriorityGet
106
#define MAP_IntPriorityGet \
107
ROM_IntPriorityGet
108
#else
109
#define MAP_IntPriorityGet \
110
IntPriorityGet
111
#endif
112
#ifdef ROM_IntPendSet
113
#define MAP_IntPendSet \
114
ROM_IntPendSet
115
#else
116
#define MAP_IntPendSet \
117
IntPendSet
118
#endif
119
#ifdef ROM_IntPendClear
120
#define MAP_IntPendClear \
121
ROM_IntPendClear
122
#else
123
#define MAP_IntPendClear \
124
IntPendClear
125
#endif
126
#ifdef ROM_IntPriorityMaskSet
127
#define MAP_IntPriorityMaskSet \
128
ROM_IntPriorityMaskSet
129
#else
130
#define MAP_IntPriorityMaskSet \
131
IntPriorityMaskSet
132
#endif
133
#ifdef ROM_IntPriorityMaskGet
134
#define MAP_IntPriorityMaskGet \
135
ROM_IntPriorityMaskGet
136
#else
137
#define MAP_IntPriorityMaskGet \
138
IntPriorityMaskGet
139
#endif
140
#ifdef ROM_IntRegister
141
#define MAP_IntRegister \
142
ROM_IntRegister
143
#else
144
#define MAP_IntRegister \
145
IntRegister
146
#endif
147
#ifdef ROM_IntUnregister
148
#define MAP_IntUnregister \
149
ROM_IntUnregister
150
#else
151
#define MAP_IntUnregister \
152
IntUnregister
153
#endif
154
#ifdef ROM_IntVTableBaseSet
155
#define MAP_IntVTableBaseSet \
156
ROM_IntVTableBaseSet
157
#else
158
#define MAP_IntVTableBaseSet \
159
IntVTableBaseSet
160
#endif
161
162
//*****************************************************************************
163
//
164
// Macros for the Timer API.
165
//
166
//*****************************************************************************
167
#ifdef ROM_TimerEnable
168
#define MAP_TimerEnable \
169
ROM_TimerEnable
170
#else
171
#define MAP_TimerEnable \
172
TimerEnable
173
#endif
174
#ifdef ROM_TimerDisable
175
#define MAP_TimerDisable \
176
ROM_TimerDisable
177
#else
178
#define MAP_TimerDisable \
179
TimerDisable
180
#endif
181
#ifdef ROM_TimerConfigure
182
#define MAP_TimerConfigure \
183
ROM_TimerConfigure
184
#else
185
#define MAP_TimerConfigure \
186
TimerConfigure
187
#endif
188
#ifdef ROM_TimerControlLevel
189
#define MAP_TimerControlLevel \
190
ROM_TimerControlLevel
191
#else
192
#define MAP_TimerControlLevel \
193
TimerControlLevel
194
#endif
195
#ifdef ROM_TimerControlEvent
196
#define MAP_TimerControlEvent \
197
ROM_TimerControlEvent
198
#else
199
#define MAP_TimerControlEvent \
200
TimerControlEvent
201
#endif
202
#ifdef ROM_TimerControlStall
203
#define MAP_TimerControlStall \
204
ROM_TimerControlStall
205
#else
206
#define MAP_TimerControlStall \
207
TimerControlStall
208
#endif
209
#ifdef ROM_TimerPrescaleSet
210
#define MAP_TimerPrescaleSet \
211
ROM_TimerPrescaleSet
212
#else
213
#define MAP_TimerPrescaleSet \
214
TimerPrescaleSet
215
#endif
216
#ifdef ROM_TimerPrescaleGet
217
#define MAP_TimerPrescaleGet \
218
ROM_TimerPrescaleGet
219
#else
220
#define MAP_TimerPrescaleGet \
221
TimerPrescaleGet
222
#endif
223
#ifdef ROM_TimerPrescaleMatchSet
224
#define MAP_TimerPrescaleMatchSet \
225
ROM_TimerPrescaleMatchSet
226
#else
227
#define MAP_TimerPrescaleMatchSet \
228
TimerPrescaleMatchSet
229
#endif
230
#ifdef ROM_TimerPrescaleMatchGet
231
#define MAP_TimerPrescaleMatchGet \
232
ROM_TimerPrescaleMatchGet
233
#else
234
#define MAP_TimerPrescaleMatchGet \
235
TimerPrescaleMatchGet
236
#endif
237
#ifdef ROM_TimerLoadSet
238
#define MAP_TimerLoadSet \
239
ROM_TimerLoadSet
240
#else
241
#define MAP_TimerLoadSet \
242
TimerLoadSet
243
#endif
244
#ifdef ROM_TimerLoadGet
245
#define MAP_TimerLoadGet \
246
ROM_TimerLoadGet
247
#else
248
#define MAP_TimerLoadGet \
249
TimerLoadGet
250
#endif
251
#ifdef ROM_TimerValueGet
252
#define MAP_TimerValueGet \
253
ROM_TimerValueGet
254
#else
255
#define MAP_TimerValueGet \
256
TimerValueGet
257
#endif
258
#ifdef ROM_TimerMatchSet
259
#define MAP_TimerMatchSet \
260
ROM_TimerMatchSet
261
#else
262
#define MAP_TimerMatchSet \
263
TimerMatchSet
264
#endif
265
#ifdef ROM_TimerMatchGet
266
#define MAP_TimerMatchGet \
267
ROM_TimerMatchGet
268
#else
269
#define MAP_TimerMatchGet \
270
TimerMatchGet
271
#endif
272
#ifdef ROM_TimerIntRegister
273
#define MAP_TimerIntRegister \
274
ROM_TimerIntRegister
275
#else
276
#define MAP_TimerIntRegister \
277
TimerIntRegister
278
#endif
279
#ifdef ROM_TimerIntUnregister
280
#define MAP_TimerIntUnregister \
281
ROM_TimerIntUnregister
282
#else
283
#define MAP_TimerIntUnregister \
284
TimerIntUnregister
285
#endif
286
#ifdef ROM_TimerIntEnable
287
#define MAP_TimerIntEnable \
288
ROM_TimerIntEnable
289
#else
290
#define MAP_TimerIntEnable \
291
TimerIntEnable
292
#endif
293
#ifdef ROM_TimerIntDisable
294
#define MAP_TimerIntDisable \
295
ROM_TimerIntDisable
296
#else
297
#define MAP_TimerIntDisable \
298
TimerIntDisable
299
#endif
300
#ifdef ROM_TimerIntStatus
301
#define MAP_TimerIntStatus \
302
ROM_TimerIntStatus
303
#else
304
#define MAP_TimerIntStatus \
305
TimerIntStatus
306
#endif
307
#ifdef ROM_TimerIntClear
308
#define MAP_TimerIntClear \
309
ROM_TimerIntClear
310
#else
311
#define MAP_TimerIntClear \
312
TimerIntClear
313
#endif
314
#ifdef ROM_TimerDMAEventSet
315
#define MAP_TimerDMAEventSet \
316
ROM_TimerDMAEventSet
317
#else
318
#define MAP_TimerDMAEventSet \
319
TimerDMAEventSet
320
#endif
321
#ifdef ROM_TimerDMAEventGet
322
#define MAP_TimerDMAEventGet \
323
ROM_TimerDMAEventGet
324
#else
325
#define MAP_TimerDMAEventGet \
326
TimerDMAEventGet
327
#endif
328
329
//*****************************************************************************
330
//
331
// Macros for the UART API.
332
//
333
//*****************************************************************************
334
#ifdef ROM_UARTParityModeSet
335
#define MAP_UARTParityModeSet \
336
ROM_UARTParityModeSet
337
#else
338
#define MAP_UARTParityModeSet \
339
UARTParityModeSet
340
#endif
341
#ifdef ROM_UARTParityModeGet
342
#define MAP_UARTParityModeGet \
343
ROM_UARTParityModeGet
344
#else
345
#define MAP_UARTParityModeGet \
346
UARTParityModeGet
347
#endif
348
#ifdef ROM_UARTFIFOLevelSet
349
#define MAP_UARTFIFOLevelSet \
350
ROM_UARTFIFOLevelSet
351
#else
352
#define MAP_UARTFIFOLevelSet \
353
UARTFIFOLevelSet
354
#endif
355
#ifdef ROM_UARTFIFOLevelGet
356
#define MAP_UARTFIFOLevelGet \
357
ROM_UARTFIFOLevelGet
358
#else
359
#define MAP_UARTFIFOLevelGet \
360
UARTFIFOLevelGet
361
#endif
362
#ifdef ROM_UARTConfigSetExpClk
363
#define MAP_UARTConfigSetExpClk \
364
ROM_UARTConfigSetExpClk
365
#else
366
#define MAP_UARTConfigSetExpClk \
367
UARTConfigSetExpClk
368
#endif
369
#ifdef ROM_UARTConfigGetExpClk
370
#define MAP_UARTConfigGetExpClk \
371
ROM_UARTConfigGetExpClk
372
#else
373
#define MAP_UARTConfigGetExpClk \
374
UARTConfigGetExpClk
375
#endif
376
#ifdef ROM_UARTEnable
377
#define MAP_UARTEnable \
378
ROM_UARTEnable
379
#else
380
#define MAP_UARTEnable \
381
UARTEnable
382
#endif
383
#ifdef ROM_UARTDisable
384
#define MAP_UARTDisable \
385
ROM_UARTDisable
386
#else
387
#define MAP_UARTDisable \
388
UARTDisable
389
#endif
390
#ifdef ROM_UARTFIFOEnable
391
#define MAP_UARTFIFOEnable \
392
ROM_UARTFIFOEnable
393
#else
394
#define MAP_UARTFIFOEnable \
395
UARTFIFOEnable
396
#endif
397
#ifdef ROM_UARTFIFODisable
398
#define MAP_UARTFIFODisable \
399
ROM_UARTFIFODisable
400
#else
401
#define MAP_UARTFIFODisable \
402
UARTFIFODisable
403
#endif
404
#ifdef ROM_UARTCharsAvail
405
#define MAP_UARTCharsAvail \
406
ROM_UARTCharsAvail
407
#else
408
#define MAP_UARTCharsAvail \
409
UARTCharsAvail
410
#endif
411
#ifdef ROM_UARTSpaceAvail
412
#define MAP_UARTSpaceAvail \
413
ROM_UARTSpaceAvail
414
#else
415
#define MAP_UARTSpaceAvail \
416
UARTSpaceAvail
417
#endif
418
#ifdef ROM_UARTCharGetNonBlocking
419
#define MAP_UARTCharGetNonBlocking \
420
ROM_UARTCharGetNonBlocking
421
#else
422
#define MAP_UARTCharGetNonBlocking \
423
UARTCharGetNonBlocking
424
#endif
425
#ifdef ROM_UARTCharGet
426
#define MAP_UARTCharGet \
427
ROM_UARTCharGet
428
#else
429
#define MAP_UARTCharGet \
430
UARTCharGet
431
#endif
432
#ifdef ROM_UARTCharPutNonBlocking
433
#define MAP_UARTCharPutNonBlocking \
434
ROM_UARTCharPutNonBlocking
435
#else
436
#define MAP_UARTCharPutNonBlocking \
437
UARTCharPutNonBlocking
438
#endif
439
#ifdef ROM_UARTCharPut
440
#define MAP_UARTCharPut \
441
ROM_UARTCharPut
442
#else
443
#define MAP_UARTCharPut \
444
UARTCharPut
445
#endif
446
#ifdef ROM_UARTBreakCtl
447
#define MAP_UARTBreakCtl \
448
ROM_UARTBreakCtl
449
#else
450
#define MAP_UARTBreakCtl \
451
UARTBreakCtl
452
#endif
453
#ifdef ROM_UARTBusy
454
#define MAP_UARTBusy \
455
ROM_UARTBusy
456
#else
457
#define MAP_UARTBusy \
458
UARTBusy
459
#endif
460
#ifdef ROM_UARTIntRegister
461
#define MAP_UARTIntRegister \
462
ROM_UARTIntRegister
463
#else
464
#define MAP_UARTIntRegister \
465
UARTIntRegister
466
#endif
467
#ifdef ROM_UARTIntUnregister
468
#define MAP_UARTIntUnregister \
469
ROM_UARTIntUnregister
470
#else
471
#define MAP_UARTIntUnregister \
472
UARTIntUnregister
473
#endif
474
#ifdef ROM_UARTIntEnable
475
#define MAP_UARTIntEnable \
476
ROM_UARTIntEnable
477
#else
478
#define MAP_UARTIntEnable \
479
UARTIntEnable
480
#endif
481
#ifdef ROM_UARTIntDisable
482
#define MAP_UARTIntDisable \
483
ROM_UARTIntDisable
484
#else
485
#define MAP_UARTIntDisable \
486
UARTIntDisable
487
#endif
488
#ifdef ROM_UARTIntStatus
489
#define MAP_UARTIntStatus \
490
ROM_UARTIntStatus
491
#else
492
#define MAP_UARTIntStatus \
493
UARTIntStatus
494
#endif
495
#ifdef ROM_UARTIntClear
496
#define MAP_UARTIntClear \
497
ROM_UARTIntClear
498
#else
499
#define MAP_UARTIntClear \
500
UARTIntClear
501
#endif
502
#ifdef ROM_UARTDMAEnable
503
#define MAP_UARTDMAEnable \
504
ROM_UARTDMAEnable
505
#else
506
#define MAP_UARTDMAEnable \
507
UARTDMAEnable
508
#endif
509
#ifdef ROM_UARTDMADisable
510
#define MAP_UARTDMADisable \
511
ROM_UARTDMADisable
512
#else
513
#define MAP_UARTDMADisable \
514
UARTDMADisable
515
#endif
516
#ifdef ROM_UARTRxErrorGet
517
#define MAP_UARTRxErrorGet \
518
ROM_UARTRxErrorGet
519
#else
520
#define MAP_UARTRxErrorGet \
521
UARTRxErrorGet
522
#endif
523
#ifdef ROM_UARTRxErrorClear
524
#define MAP_UARTRxErrorClear \
525
ROM_UARTRxErrorClear
526
#else
527
#define MAP_UARTRxErrorClear \
528
UARTRxErrorClear
529
#endif
530
#ifdef ROM_UARTModemControlSet
531
#define MAP_UARTModemControlSet \
532
ROM_UARTModemControlSet
533
#else
534
#define MAP_UARTModemControlSet \
535
UARTModemControlSet
536
#endif
537
#ifdef ROM_UARTModemControlClear
538
#define MAP_UARTModemControlClear \
539
ROM_UARTModemControlClear
540
#else
541
#define MAP_UARTModemControlClear \
542
UARTModemControlClear
543
#endif
544
#ifdef ROM_UARTModemControlGet
545
#define MAP_UARTModemControlGet \
546
ROM_UARTModemControlGet
547
#else
548
#define MAP_UARTModemControlGet \
549
UARTModemControlGet
550
#endif
551
#ifdef ROM_UARTModemStatusGet
552
#define MAP_UARTModemStatusGet \
553
ROM_UARTModemStatusGet
554
#else
555
#define MAP_UARTModemStatusGet \
556
UARTModemStatusGet
557
#endif
558
#ifdef ROM_UARTFlowControlSet
559
#define MAP_UARTFlowControlSet \
560
ROM_UARTFlowControlSet
561
#else
562
#define MAP_UARTFlowControlSet \
563
UARTFlowControlSet
564
#endif
565
#ifdef ROM_UARTFlowControlGet
566
#define MAP_UARTFlowControlGet \
567
ROM_UARTFlowControlGet
568
#else
569
#define MAP_UARTFlowControlGet \
570
UARTFlowControlGet
571
#endif
572
#ifdef ROM_UARTTxIntModeSet
573
#define MAP_UARTTxIntModeSet \
574
ROM_UARTTxIntModeSet
575
#else
576
#define MAP_UARTTxIntModeSet \
577
UARTTxIntModeSet
578
#endif
579
#ifdef ROM_UARTTxIntModeGet
580
#define MAP_UARTTxIntModeGet \
581
ROM_UARTTxIntModeGet
582
#else
583
#define MAP_UARTTxIntModeGet \
584
UARTTxIntModeGet
585
#endif
586
587
//*****************************************************************************
588
//
589
// Macros for the uDMA API.
590
//
591
//*****************************************************************************
592
#ifdef ROM_uDMAChannelTransferSet
593
#define MAP_uDMAChannelTransferSet \
594
ROM_uDMAChannelTransferSet
595
#else
596
#define MAP_uDMAChannelTransferSet \
597
uDMAChannelTransferSet
598
#endif
599
#ifdef ROM_uDMAEnable
600
#define MAP_uDMAEnable \
601
ROM_uDMAEnable
602
#else
603
#define MAP_uDMAEnable \
604
uDMAEnable
605
#endif
606
#ifdef ROM_uDMADisable
607
#define MAP_uDMADisable \
608
ROM_uDMADisable
609
#else
610
#define MAP_uDMADisable \
611
uDMADisable
612
#endif
613
#ifdef ROM_uDMAErrorStatusGet
614
#define MAP_uDMAErrorStatusGet \
615
ROM_uDMAErrorStatusGet
616
#else
617
#define MAP_uDMAErrorStatusGet \
618
uDMAErrorStatusGet
619
#endif
620
#ifdef ROM_uDMAErrorStatusClear
621
#define MAP_uDMAErrorStatusClear \
622
ROM_uDMAErrorStatusClear
623
#else
624
#define MAP_uDMAErrorStatusClear \
625
uDMAErrorStatusClear
626
#endif
627
#ifdef ROM_uDMAChannelEnable
628
#define MAP_uDMAChannelEnable \
629
ROM_uDMAChannelEnable
630
#else
631
#define MAP_uDMAChannelEnable \
632
uDMAChannelEnable
633
#endif
634
#ifdef ROM_uDMAChannelDisable
635
#define MAP_uDMAChannelDisable \
636
ROM_uDMAChannelDisable
637
#else
638
#define MAP_uDMAChannelDisable \
639
uDMAChannelDisable
640
#endif
641
#ifdef ROM_uDMAChannelIsEnabled
642
#define MAP_uDMAChannelIsEnabled \
643
ROM_uDMAChannelIsEnabled
644
#else
645
#define MAP_uDMAChannelIsEnabled \
646
uDMAChannelIsEnabled
647
#endif
648
#ifdef ROM_uDMAControlBaseSet
649
#define MAP_uDMAControlBaseSet \
650
ROM_uDMAControlBaseSet
651
#else
652
#define MAP_uDMAControlBaseSet \
653
uDMAControlBaseSet
654
#endif
655
#ifdef ROM_uDMAControlBaseGet
656
#define MAP_uDMAControlBaseGet \
657
ROM_uDMAControlBaseGet
658
#else
659
#define MAP_uDMAControlBaseGet \
660
uDMAControlBaseGet
661
#endif
662
#ifdef ROM_uDMAChannelRequest
663
#define MAP_uDMAChannelRequest \
664
ROM_uDMAChannelRequest
665
#else
666
#define MAP_uDMAChannelRequest \
667
uDMAChannelRequest
668
#endif
669
#ifdef ROM_uDMAChannelAttributeEnable
670
#define MAP_uDMAChannelAttributeEnable \
671
ROM_uDMAChannelAttributeEnable
672
#else
673
#define MAP_uDMAChannelAttributeEnable \
674
uDMAChannelAttributeEnable
675
#endif
676
#ifdef ROM_uDMAChannelAttributeDisable
677
#define MAP_uDMAChannelAttributeDisable \
678
ROM_uDMAChannelAttributeDisable
679
#else
680
#define MAP_uDMAChannelAttributeDisable \
681
uDMAChannelAttributeDisable
682
#endif
683
#ifdef ROM_uDMAChannelAttributeGet
684
#define MAP_uDMAChannelAttributeGet \
685
ROM_uDMAChannelAttributeGet
686
#else
687
#define MAP_uDMAChannelAttributeGet \
688
uDMAChannelAttributeGet
689
#endif
690
#ifdef ROM_uDMAChannelControlSet
691
#define MAP_uDMAChannelControlSet \
692
ROM_uDMAChannelControlSet
693
#else
694
#define MAP_uDMAChannelControlSet \
695
uDMAChannelControlSet
696
#endif
697
#ifdef ROM_uDMAChannelSizeGet
698
#define MAP_uDMAChannelSizeGet \
699
ROM_uDMAChannelSizeGet
700
#else
701
#define MAP_uDMAChannelSizeGet \
702
uDMAChannelSizeGet
703
#endif
704
#ifdef ROM_uDMAChannelModeGet
705
#define MAP_uDMAChannelModeGet \
706
ROM_uDMAChannelModeGet
707
#else
708
#define MAP_uDMAChannelModeGet \
709
uDMAChannelModeGet
710
#endif
711
#ifdef ROM_uDMAIntStatus
712
#define MAP_uDMAIntStatus \
713
ROM_uDMAIntStatus
714
#else
715
#define MAP_uDMAIntStatus \
716
uDMAIntStatus
717
#endif
718
#ifdef ROM_uDMAIntClear
719
#define MAP_uDMAIntClear \
720
ROM_uDMAIntClear
721
#else
722
#define MAP_uDMAIntClear \
723
uDMAIntClear
724
#endif
725
#ifdef ROM_uDMAControlAlternateBaseGet
726
#define MAP_uDMAControlAlternateBaseGet \
727
ROM_uDMAControlAlternateBaseGet
728
#else
729
#define MAP_uDMAControlAlternateBaseGet \
730
uDMAControlAlternateBaseGet
731
#endif
732
#ifdef ROM_uDMAChannelScatterGatherSet
733
#define MAP_uDMAChannelScatterGatherSet \
734
ROM_uDMAChannelScatterGatherSet
735
#else
736
#define MAP_uDMAChannelScatterGatherSet \
737
uDMAChannelScatterGatherSet
738
#endif
739
#ifdef ROM_uDMAChannelAssign
740
#define MAP_uDMAChannelAssign \
741
ROM_uDMAChannelAssign
742
#else
743
#define MAP_uDMAChannelAssign \
744
uDMAChannelAssign
745
#endif
746
#ifdef ROM_uDMAIntRegister
747
#define MAP_uDMAIntRegister \
748
ROM_uDMAIntRegister
749
#else
750
#define MAP_uDMAIntRegister \
751
uDMAIntRegister
752
#endif
753
#ifdef ROM_uDMAIntUnregister
754
#define MAP_uDMAIntUnregister \
755
ROM_uDMAIntUnregister
756
#else
757
#define MAP_uDMAIntUnregister \
758
uDMAIntUnregister
759
#endif
760
761
//*****************************************************************************
762
//
763
// Macros for the Watchdog API.
764
//
765
//*****************************************************************************
766
#ifdef ROM_WatchdogIntClear
767
#define MAP_WatchdogIntClear \
768
ROM_WatchdogIntClear
769
#else
770
#define MAP_WatchdogIntClear \
771
WatchdogIntClear
772
#endif
773
#ifdef ROM_WatchdogRunning
774
#define MAP_WatchdogRunning \
775
ROM_WatchdogRunning
776
#else
777
#define MAP_WatchdogRunning \
778
WatchdogRunning
779
#endif
780
#ifdef ROM_WatchdogEnable
781
#define MAP_WatchdogEnable \
782
ROM_WatchdogEnable
783
#else
784
#define MAP_WatchdogEnable \
785
WatchdogEnable
786
#endif
787
#ifdef ROM_WatchdogLock
788
#define MAP_WatchdogLock \
789
ROM_WatchdogLock
790
#else
791
#define MAP_WatchdogLock \
792
WatchdogLock
793
#endif
794
#ifdef ROM_WatchdogUnlock
795
#define MAP_WatchdogUnlock \
796
ROM_WatchdogUnlock
797
#else
798
#define MAP_WatchdogUnlock \
799
WatchdogUnlock
800
#endif
801
#ifdef ROM_WatchdogLockState
802
#define MAP_WatchdogLockState \
803
ROM_WatchdogLockState
804
#else
805
#define MAP_WatchdogLockState \
806
WatchdogLockState
807
#endif
808
#ifdef ROM_WatchdogReloadSet
809
#define MAP_WatchdogReloadSet \
810
ROM_WatchdogReloadSet
811
#else
812
#define MAP_WatchdogReloadSet \
813
WatchdogReloadSet
814
#endif
815
#ifdef ROM_WatchdogReloadGet
816
#define MAP_WatchdogReloadGet \
817
ROM_WatchdogReloadGet
818
#else
819
#define MAP_WatchdogReloadGet \
820
WatchdogReloadGet
821
#endif
822
#ifdef ROM_WatchdogValueGet
823
#define MAP_WatchdogValueGet \
824
ROM_WatchdogValueGet
825
#else
826
#define MAP_WatchdogValueGet \
827
WatchdogValueGet
828
#endif
829
#ifdef ROM_WatchdogIntStatus
830
#define MAP_WatchdogIntStatus \
831
ROM_WatchdogIntStatus
832
#else
833
#define MAP_WatchdogIntStatus \
834
WatchdogIntStatus
835
#endif
836
#ifdef ROM_WatchdogStallEnable
837
#define MAP_WatchdogStallEnable \
838
ROM_WatchdogStallEnable
839
#else
840
#define MAP_WatchdogStallEnable \
841
WatchdogStallEnable
842
#endif
843
#ifdef ROM_WatchdogStallDisable
844
#define MAP_WatchdogStallDisable \
845
ROM_WatchdogStallDisable
846
#else
847
#define MAP_WatchdogStallDisable \
848
WatchdogStallDisable
849
#endif
850
#ifdef ROM_WatchdogIntRegister
851
#define MAP_WatchdogIntRegister \
852
ROM_WatchdogIntRegister
853
#else
854
#define MAP_WatchdogIntRegister \
855
WatchdogIntRegister
856
#endif
857
#ifdef ROM_WatchdogIntUnregister
858
#define MAP_WatchdogIntUnregister \
859
ROM_WatchdogIntUnregister
860
#else
861
#define MAP_WatchdogIntUnregister \
862
WatchdogIntUnregister
863
#endif
864
865
//*****************************************************************************
866
//
867
// Macros for the I2C API.
868
//
869
//*****************************************************************************
870
#ifdef ROM_I2CIntRegister
871
#define MAP_I2CIntRegister \
872
ROM_I2CIntRegister
873
#else
874
#define MAP_I2CIntRegister \
875
I2CIntRegister
876
#endif
877
#ifdef ROM_I2CIntUnregister
878
#define MAP_I2CIntUnregister \
879
ROM_I2CIntUnregister
880
#else
881
#define MAP_I2CIntUnregister \
882
I2CIntUnregister
883
#endif
884
#ifdef ROM_I2CTxFIFOConfigSet
885
#define MAP_I2CTxFIFOConfigSet \
886
ROM_I2CTxFIFOConfigSet
887
#else
888
#define MAP_I2CTxFIFOConfigSet \
889
I2CTxFIFOConfigSet
890
#endif
891
#ifdef ROM_I2CTxFIFOFlush
892
#define MAP_I2CTxFIFOFlush \
893
ROM_I2CTxFIFOFlush
894
#else
895
#define MAP_I2CTxFIFOFlush \
896
I2CTxFIFOFlush
897
#endif
898
#ifdef ROM_I2CRxFIFOConfigSet
899
#define MAP_I2CRxFIFOConfigSet \
900
ROM_I2CRxFIFOConfigSet
901
#else
902
#define MAP_I2CRxFIFOConfigSet \
903
I2CRxFIFOConfigSet
904
#endif
905
#ifdef ROM_I2CRxFIFOFlush
906
#define MAP_I2CRxFIFOFlush \
907
ROM_I2CRxFIFOFlush
908
#else
909
#define MAP_I2CRxFIFOFlush \
910
I2CRxFIFOFlush
911
#endif
912
#ifdef ROM_I2CFIFOStatus
913
#define MAP_I2CFIFOStatus \
914
ROM_I2CFIFOStatus
915
#else
916
#define MAP_I2CFIFOStatus \
917
I2CFIFOStatus
918
#endif
919
#ifdef ROM_I2CFIFODataPut
920
#define MAP_I2CFIFODataPut \
921
ROM_I2CFIFODataPut
922
#else
923
#define MAP_I2CFIFODataPut \
924
I2CFIFODataPut
925
#endif
926
#ifdef ROM_I2CFIFODataPutNonBlocking
927
#define MAP_I2CFIFODataPutNonBlocking \
928
ROM_I2CFIFODataPutNonBlocking
929
#else
930
#define MAP_I2CFIFODataPutNonBlocking \
931
I2CFIFODataPutNonBlocking
932
#endif
933
#ifdef ROM_I2CFIFODataGet
934
#define MAP_I2CFIFODataGet \
935
ROM_I2CFIFODataGet
936
#else
937
#define MAP_I2CFIFODataGet \
938
I2CFIFODataGet
939
#endif
940
#ifdef ROM_I2CFIFODataGetNonBlocking
941
#define MAP_I2CFIFODataGetNonBlocking \
942
ROM_I2CFIFODataGetNonBlocking
943
#else
944
#define MAP_I2CFIFODataGetNonBlocking \
945
I2CFIFODataGetNonBlocking
946
#endif
947
#ifdef ROM_I2CMasterBurstLengthSet
948
#define MAP_I2CMasterBurstLengthSet \
949
ROM_I2CMasterBurstLengthSet
950
#else
951
#define MAP_I2CMasterBurstLengthSet \
952
I2CMasterBurstLengthSet
953
#endif
954
#ifdef ROM_I2CMasterBurstCountGet
955
#define MAP_I2CMasterBurstCountGet \
956
ROM_I2CMasterBurstCountGet
957
#else
958
#define MAP_I2CMasterBurstCountGet \
959
I2CMasterBurstCountGet
960
#endif
961
#ifdef ROM_I2CMasterGlitchFilterConfigSet
962
#define MAP_I2CMasterGlitchFilterConfigSet \
963
ROM_I2CMasterGlitchFilterConfigSet
964
#else
965
#define MAP_I2CMasterGlitchFilterConfigSet \
966
I2CMasterGlitchFilterConfigSet
967
#endif
968
#ifdef ROM_I2CSlaveFIFOEnable
969
#define MAP_I2CSlaveFIFOEnable \
970
ROM_I2CSlaveFIFOEnable
971
#else
972
#define MAP_I2CSlaveFIFOEnable \
973
I2CSlaveFIFOEnable
974
#endif
975
#ifdef ROM_I2CSlaveFIFODisable
976
#define MAP_I2CSlaveFIFODisable \
977
ROM_I2CSlaveFIFODisable
978
#else
979
#define MAP_I2CSlaveFIFODisable \
980
I2CSlaveFIFODisable
981
#endif
982
#ifdef ROM_I2CMasterBusBusy
983
#define MAP_I2CMasterBusBusy \
984
ROM_I2CMasterBusBusy
985
#else
986
#define MAP_I2CMasterBusBusy \
987
I2CMasterBusBusy
988
#endif
989
#ifdef ROM_I2CMasterBusy
990
#define MAP_I2CMasterBusy \
991
ROM_I2CMasterBusy
992
#else
993
#define MAP_I2CMasterBusy \
994
I2CMasterBusy
995
#endif
996
#ifdef ROM_I2CMasterControl
997
#define MAP_I2CMasterControl \
998
ROM_I2CMasterControl
999
#else
1000
#define MAP_I2CMasterControl \
1001
I2CMasterControl
1002
#endif
1003
#ifdef ROM_I2CMasterDataGet
1004
#define MAP_I2CMasterDataGet \
1005
ROM_I2CMasterDataGet
1006
#else
1007
#define MAP_I2CMasterDataGet \
1008
I2CMasterDataGet
1009
#endif
1010
#ifdef ROM_I2CMasterDataPut
1011
#define MAP_I2CMasterDataPut \
1012
ROM_I2CMasterDataPut
1013
#else
1014
#define MAP_I2CMasterDataPut \
1015
I2CMasterDataPut
1016
#endif
1017
#ifdef ROM_I2CMasterDisable
1018
#define MAP_I2CMasterDisable \
1019
ROM_I2CMasterDisable
1020
#else
1021
#define MAP_I2CMasterDisable \
1022
I2CMasterDisable
1023
#endif
1024
#ifdef ROM_I2CMasterEnable
1025
#define MAP_I2CMasterEnable \
1026
ROM_I2CMasterEnable
1027
#else
1028
#define MAP_I2CMasterEnable \
1029
I2CMasterEnable
1030
#endif
1031
#ifdef ROM_I2CMasterErr
1032
#define MAP_I2CMasterErr \
1033
ROM_I2CMasterErr
1034
#else
1035
#define MAP_I2CMasterErr \
1036
I2CMasterErr
1037
#endif
1038
#ifdef ROM_I2CMasterIntClear
1039
#define MAP_I2CMasterIntClear \
1040
ROM_I2CMasterIntClear
1041
#else
1042
#define MAP_I2CMasterIntClear \
1043
I2CMasterIntClear
1044
#endif
1045
#ifdef ROM_I2CMasterIntDisable
1046
#define MAP_I2CMasterIntDisable \
1047
ROM_I2CMasterIntDisable
1048
#else
1049
#define MAP_I2CMasterIntDisable \
1050
I2CMasterIntDisable
1051
#endif
1052
#ifdef ROM_I2CMasterIntEnable
1053
#define MAP_I2CMasterIntEnable \
1054
ROM_I2CMasterIntEnable
1055
#else
1056
#define MAP_I2CMasterIntEnable \
1057
I2CMasterIntEnable
1058
#endif
1059
#ifdef ROM_I2CMasterIntStatus
1060
#define MAP_I2CMasterIntStatus \
1061
ROM_I2CMasterIntStatus
1062
#else
1063
#define MAP_I2CMasterIntStatus \
1064
I2CMasterIntStatus
1065
#endif
1066
#ifdef ROM_I2CMasterIntEnableEx
1067
#define MAP_I2CMasterIntEnableEx \
1068
ROM_I2CMasterIntEnableEx
1069
#else
1070
#define MAP_I2CMasterIntEnableEx \
1071
I2CMasterIntEnableEx
1072
#endif
1073
#ifdef ROM_I2CMasterIntDisableEx
1074
#define MAP_I2CMasterIntDisableEx \
1075
ROM_I2CMasterIntDisableEx
1076
#else
1077
#define MAP_I2CMasterIntDisableEx \
1078
I2CMasterIntDisableEx
1079
#endif
1080
#ifdef ROM_I2CMasterIntStatusEx
1081
#define MAP_I2CMasterIntStatusEx \
1082
ROM_I2CMasterIntStatusEx
1083
#else
1084
#define MAP_I2CMasterIntStatusEx \
1085
I2CMasterIntStatusEx
1086
#endif
1087
#ifdef ROM_I2CMasterIntClearEx
1088
#define MAP_I2CMasterIntClearEx \
1089
ROM_I2CMasterIntClearEx
1090
#else
1091
#define MAP_I2CMasterIntClearEx \
1092
I2CMasterIntClearEx
1093
#endif
1094
#ifdef ROM_I2CMasterTimeoutSet
1095
#define MAP_I2CMasterTimeoutSet \
1096
ROM_I2CMasterTimeoutSet
1097
#else
1098
#define MAP_I2CMasterTimeoutSet \
1099
I2CMasterTimeoutSet
1100
#endif
1101
#ifdef ROM_I2CSlaveACKOverride
1102
#define MAP_I2CSlaveACKOverride \
1103
ROM_I2CSlaveACKOverride
1104
#else
1105
#define MAP_I2CSlaveACKOverride \
1106
I2CSlaveACKOverride
1107
#endif
1108
#ifdef ROM_I2CSlaveACKValueSet
1109
#define MAP_I2CSlaveACKValueSet \
1110
ROM_I2CSlaveACKValueSet
1111
#else
1112
#define MAP_I2CSlaveACKValueSet \
1113
I2CSlaveACKValueSet
1114
#endif
1115
#ifdef ROM_I2CMasterLineStateGet
1116
#define MAP_I2CMasterLineStateGet \
1117
ROM_I2CMasterLineStateGet
1118
#else
1119
#define MAP_I2CMasterLineStateGet \
1120
I2CMasterLineStateGet
1121
#endif
1122
#ifdef ROM_I2CMasterSlaveAddrSet
1123
#define MAP_I2CMasterSlaveAddrSet \
1124
ROM_I2CMasterSlaveAddrSet
1125
#else
1126
#define MAP_I2CMasterSlaveAddrSet \
1127
I2CMasterSlaveAddrSet
1128
#endif
1129
#ifdef ROM_I2CSlaveDataGet
1130
#define MAP_I2CSlaveDataGet \
1131
ROM_I2CSlaveDataGet
1132
#else
1133
#define MAP_I2CSlaveDataGet \
1134
I2CSlaveDataGet
1135
#endif
1136
#ifdef ROM_I2CSlaveDataPut
1137
#define MAP_I2CSlaveDataPut \
1138
ROM_I2CSlaveDataPut
1139
#else
1140
#define MAP_I2CSlaveDataPut \
1141
I2CSlaveDataPut
1142
#endif
1143
#ifdef ROM_I2CSlaveDisable
1144
#define MAP_I2CSlaveDisable \
1145
ROM_I2CSlaveDisable
1146
#else
1147
#define MAP_I2CSlaveDisable \
1148
I2CSlaveDisable
1149
#endif
1150
#ifdef ROM_I2CSlaveEnable
1151
#define MAP_I2CSlaveEnable \
1152
ROM_I2CSlaveEnable
1153
#else
1154
#define MAP_I2CSlaveEnable \
1155
I2CSlaveEnable
1156
#endif
1157
#ifdef ROM_I2CSlaveInit
1158
#define MAP_I2CSlaveInit \
1159
ROM_I2CSlaveInit
1160
#else
1161
#define MAP_I2CSlaveInit \
1162
I2CSlaveInit
1163
#endif
1164
#ifdef ROM_I2CSlaveAddressSet
1165
#define MAP_I2CSlaveAddressSet \
1166
ROM_I2CSlaveAddressSet
1167
#else
1168
#define MAP_I2CSlaveAddressSet \
1169
I2CSlaveAddressSet
1170
#endif
1171
#ifdef ROM_I2CSlaveIntClear
1172
#define MAP_I2CSlaveIntClear \
1173
ROM_I2CSlaveIntClear
1174
#else
1175
#define MAP_I2CSlaveIntClear \
1176
I2CSlaveIntClear
1177
#endif
1178
#ifdef ROM_I2CSlaveIntDisable
1179
#define MAP_I2CSlaveIntDisable \
1180
ROM_I2CSlaveIntDisable
1181
#else
1182
#define MAP_I2CSlaveIntDisable \
1183
I2CSlaveIntDisable
1184
#endif
1185
#ifdef ROM_I2CSlaveIntEnable
1186
#define MAP_I2CSlaveIntEnable \
1187
ROM_I2CSlaveIntEnable
1188
#else
1189
#define MAP_I2CSlaveIntEnable \
1190
I2CSlaveIntEnable
1191
#endif
1192
#ifdef ROM_I2CSlaveIntClearEx
1193
#define MAP_I2CSlaveIntClearEx \
1194
ROM_I2CSlaveIntClearEx
1195
#else
1196
#define MAP_I2CSlaveIntClearEx \
1197
I2CSlaveIntClearEx
1198
#endif
1199
#ifdef ROM_I2CSlaveIntDisableEx
1200
#define MAP_I2CSlaveIntDisableEx \
1201
ROM_I2CSlaveIntDisableEx
1202
#else
1203
#define MAP_I2CSlaveIntDisableEx \
1204
I2CSlaveIntDisableEx
1205
#endif
1206
#ifdef ROM_I2CSlaveIntEnableEx
1207
#define MAP_I2CSlaveIntEnableEx \
1208
ROM_I2CSlaveIntEnableEx
1209
#else
1210
#define MAP_I2CSlaveIntEnableEx \
1211
I2CSlaveIntEnableEx
1212
#endif
1213
#ifdef ROM_I2CSlaveIntStatus
1214
#define MAP_I2CSlaveIntStatus \
1215
ROM_I2CSlaveIntStatus
1216
#else
1217
#define MAP_I2CSlaveIntStatus \
1218
I2CSlaveIntStatus
1219
#endif
1220
#ifdef ROM_I2CSlaveIntStatusEx
1221
#define MAP_I2CSlaveIntStatusEx \
1222
ROM_I2CSlaveIntStatusEx
1223
#else
1224
#define MAP_I2CSlaveIntStatusEx \
1225
I2CSlaveIntStatusEx
1226
#endif
1227
#ifdef ROM_I2CSlaveStatus
1228
#define MAP_I2CSlaveStatus \
1229
ROM_I2CSlaveStatus
1230
#else
1231
#define MAP_I2CSlaveStatus \
1232
I2CSlaveStatus
1233
#endif
1234
#ifdef ROM_I2CMasterInitExpClk
1235
#define MAP_I2CMasterInitExpClk \
1236
ROM_I2CMasterInitExpClk
1237
#else
1238
#define MAP_I2CMasterInitExpClk \
1239
I2CMasterInitExpClk
1240
#endif
1241
1242
//*****************************************************************************
1243
//
1244
// Macros for the SPI API.
1245
//
1246
//*****************************************************************************
1247
#ifdef ROM_SPIEnable
1248
#define MAP_SPIEnable \
1249
ROM_SPIEnable
1250
#else
1251
#define MAP_SPIEnable \
1252
SPIEnable
1253
#endif
1254
#ifdef ROM_SPIDisable
1255
#define MAP_SPIDisable \
1256
ROM_SPIDisable
1257
#else
1258
#define MAP_SPIDisable \
1259
SPIDisable
1260
#endif
1261
#ifdef ROM_SPIReset
1262
#define MAP_SPIReset \
1263
ROM_SPIReset
1264
#else
1265
#define MAP_SPIReset \
1266
SPIReset
1267
#endif
1268
#ifdef ROM_SPIConfigSetExpClk
1269
#define MAP_SPIConfigSetExpClk \
1270
ROM_SPIConfigSetExpClk
1271
#else
1272
#define MAP_SPIConfigSetExpClk \
1273
SPIConfigSetExpClk
1274
#endif
1275
#ifdef ROM_SPIDataGetNonBlocking
1276
#define MAP_SPIDataGetNonBlocking \
1277
ROM_SPIDataGetNonBlocking
1278
#else
1279
#define MAP_SPIDataGetNonBlocking \
1280
SPIDataGetNonBlocking
1281
#endif
1282
#ifdef ROM_SPIDataGet
1283
#define MAP_SPIDataGet \
1284
ROM_SPIDataGet
1285
#else
1286
#define MAP_SPIDataGet \
1287
SPIDataGet
1288
#endif
1289
#ifdef ROM_SPIDataPutNonBlocking
1290
#define MAP_SPIDataPutNonBlocking \
1291
ROM_SPIDataPutNonBlocking
1292
#else
1293
#define MAP_SPIDataPutNonBlocking \
1294
SPIDataPutNonBlocking
1295
#endif
1296
#ifdef ROM_SPIDataPut
1297
#define MAP_SPIDataPut \
1298
ROM_SPIDataPut
1299
#else
1300
#define MAP_SPIDataPut \
1301
SPIDataPut
1302
#endif
1303
#ifdef ROM_SPIFIFOEnable
1304
#define MAP_SPIFIFOEnable \
1305
ROM_SPIFIFOEnable
1306
#else
1307
#define MAP_SPIFIFOEnable \
1308
SPIFIFOEnable
1309
#endif
1310
#ifdef ROM_SPIFIFODisable
1311
#define MAP_SPIFIFODisable \
1312
ROM_SPIFIFODisable
1313
#else
1314
#define MAP_SPIFIFODisable \
1315
SPIFIFODisable
1316
#endif
1317
#ifdef ROM_SPIFIFOLevelSet
1318
#define MAP_SPIFIFOLevelSet \
1319
ROM_SPIFIFOLevelSet
1320
#else
1321
#define MAP_SPIFIFOLevelSet \
1322
SPIFIFOLevelSet
1323
#endif
1324
#ifdef ROM_SPIFIFOLevelGet
1325
#define MAP_SPIFIFOLevelGet \
1326
ROM_SPIFIFOLevelGet
1327
#else
1328
#define MAP_SPIFIFOLevelGet \
1329
SPIFIFOLevelGet
1330
#endif
1331
#ifdef ROM_SPIWordCountSet
1332
#define MAP_SPIWordCountSet \
1333
ROM_SPIWordCountSet
1334
#else
1335
#define MAP_SPIWordCountSet \
1336
SPIWordCountSet
1337
#endif
1338
#ifdef ROM_SPIIntRegister
1339
#define MAP_SPIIntRegister \
1340
ROM_SPIIntRegister
1341
#else
1342
#define MAP_SPIIntRegister \
1343
SPIIntRegister
1344
#endif
1345
#ifdef ROM_SPIIntUnregister
1346
#define MAP_SPIIntUnregister \
1347
ROM_SPIIntUnregister
1348
#else
1349
#define MAP_SPIIntUnregister \
1350
SPIIntUnregister
1351
#endif
1352
#ifdef ROM_SPIIntEnable
1353
#define MAP_SPIIntEnable \
1354
ROM_SPIIntEnable
1355
#else
1356
#define MAP_SPIIntEnable \
1357
SPIIntEnable
1358
#endif
1359
#ifdef ROM_SPIIntDisable
1360
#define MAP_SPIIntDisable \
1361
ROM_SPIIntDisable
1362
#else
1363
#define MAP_SPIIntDisable \
1364
SPIIntDisable
1365
#endif
1366
#ifdef ROM_SPIIntStatus
1367
#define MAP_SPIIntStatus \
1368
ROM_SPIIntStatus
1369
#else
1370
#define MAP_SPIIntStatus \
1371
SPIIntStatus
1372
#endif
1373
#ifdef ROM_SPIIntClear
1374
#define MAP_SPIIntClear \
1375
ROM_SPIIntClear
1376
#else
1377
#define MAP_SPIIntClear \
1378
SPIIntClear
1379
#endif
1380
#ifdef ROM_SPIDmaEnable
1381
#define MAP_SPIDmaEnable \
1382
ROM_SPIDmaEnable
1383
#else
1384
#define MAP_SPIDmaEnable \
1385
SPIDmaEnable
1386
#endif
1387
#ifdef ROM_SPIDmaDisable
1388
#define MAP_SPIDmaDisable \
1389
ROM_SPIDmaDisable
1390
#else
1391
#define MAP_SPIDmaDisable \
1392
SPIDmaDisable
1393
#endif
1394
#ifdef ROM_SPICSEnable
1395
#define MAP_SPICSEnable \
1396
ROM_SPICSEnable
1397
#else
1398
#define MAP_SPICSEnable \
1399
SPICSEnable
1400
#endif
1401
#ifdef ROM_SPICSDisable
1402
#define MAP_SPICSDisable \
1403
ROM_SPICSDisable
1404
#else
1405
#define MAP_SPICSDisable \
1406
SPICSDisable
1407
#endif
1408
#ifdef ROM_SPITransfer
1409
#define MAP_SPITransfer \
1410
ROM_SPITransfer
1411
#else
1412
#define MAP_SPITransfer \
1413
SPITransfer
1414
#endif
1415
1416
//*****************************************************************************
1417
//
1418
// Macros for the CAM API.
1419
//
1420
//*****************************************************************************
1421
#ifdef ROM_CameraReset
1422
#define MAP_CameraReset \
1423
ROM_CameraReset
1424
#else
1425
#define MAP_CameraReset \
1426
CameraReset
1427
#endif
1428
#ifdef ROM_CameraParamsConfig
1429
#define MAP_CameraParamsConfig \
1430
ROM_CameraParamsConfig
1431
#else
1432
#define MAP_CameraParamsConfig \
1433
CameraParamsConfig
1434
#endif
1435
#ifdef ROM_CameraXClkConfig
1436
#define MAP_CameraXClkConfig \
1437
ROM_CameraXClkConfig
1438
#else
1439
#define MAP_CameraXClkConfig \
1440
CameraXClkConfig
1441
#endif
1442
#ifdef ROM_CameraXClkSet
1443
#define MAP_CameraXClkSet \
1444
ROM_CameraXClkSet
1445
#else
1446
#define MAP_CameraXClkSet \
1447
CameraXClkSet
1448
#endif
1449
#ifdef ROM_CameraDMAEnable
1450
#define MAP_CameraDMAEnable \
1451
ROM_CameraDMAEnable
1452
#else
1453
#define MAP_CameraDMAEnable \
1454
CameraDMAEnable
1455
#endif
1456
#ifdef ROM_CameraDMADisable
1457
#define MAP_CameraDMADisable \
1458
ROM_CameraDMADisable
1459
#else
1460
#define MAP_CameraDMADisable \
1461
CameraDMADisable
1462
#endif
1463
#ifdef ROM_CameraThresholdSet
1464
#define MAP_CameraThresholdSet \
1465
ROM_CameraThresholdSet
1466
#else
1467
#define MAP_CameraThresholdSet \
1468
CameraThresholdSet
1469
#endif
1470
#ifdef ROM_CameraIntRegister
1471
#define MAP_CameraIntRegister \
1472
ROM_CameraIntRegister
1473
#else
1474
#define MAP_CameraIntRegister \
1475
CameraIntRegister
1476
#endif
1477
#ifdef ROM_CameraIntUnregister
1478
#define MAP_CameraIntUnregister \
1479
ROM_CameraIntUnregister
1480
#else
1481
#define MAP_CameraIntUnregister \
1482
CameraIntUnregister
1483
#endif
1484
#ifdef ROM_CameraIntEnable
1485
#define MAP_CameraIntEnable \
1486
ROM_CameraIntEnable
1487
#else
1488
#define MAP_CameraIntEnable \
1489
CameraIntEnable
1490
#endif
1491
#ifdef ROM_CameraIntDisable
1492
#define MAP_CameraIntDisable \
1493
ROM_CameraIntDisable
1494
#else
1495
#define MAP_CameraIntDisable \
1496
CameraIntDisable
1497
#endif
1498
#ifdef ROM_CameraIntStatus
1499
#define MAP_CameraIntStatus \
1500
ROM_CameraIntStatus
1501
#else
1502
#define MAP_CameraIntStatus \
1503
CameraIntStatus
1504
#endif
1505
#ifdef ROM_CameraIntClear
1506
#define MAP_CameraIntClear \
1507
ROM_CameraIntClear
1508
#else
1509
#define MAP_CameraIntClear \
1510
CameraIntClear
1511
#endif
1512
#ifdef ROM_CameraCaptureStop
1513
#define MAP_CameraCaptureStop \
1514
ROM_CameraCaptureStop
1515
#else
1516
#define MAP_CameraCaptureStop \
1517
CameraCaptureStop
1518
#endif
1519
#ifdef ROM_CameraCaptureStart
1520
#define MAP_CameraCaptureStart \
1521
ROM_CameraCaptureStart
1522
#else
1523
#define MAP_CameraCaptureStart \
1524
CameraCaptureStart
1525
#endif
1526
#ifdef ROM_CameraBufferRead
1527
#define MAP_CameraBufferRead \
1528
ROM_CameraBufferRead
1529
#else
1530
#define MAP_CameraBufferRead \
1531
CameraBufferRead
1532
#endif
1533
1534
//*****************************************************************************
1535
//
1536
// Macros for the FLASH API.
1537
//
1538
//*****************************************************************************
1539
#ifdef ROM_FlashDisable
1540
#define MAP_FlashDisable \
1541
ROM_FlashDisable
1542
#else
1543
#define MAP_FlashDisable \
1544
FlashDisable
1545
#endif
1546
#ifdef ROM_FlashErase
1547
#define MAP_FlashErase \
1548
ROM_FlashErase
1549
#else
1550
#define MAP_FlashErase \
1551
FlashErase
1552
#endif
1553
#ifdef ROM_FlashMassErase
1554
#define MAP_FlashMassErase \
1555
ROM_FlashMassErase
1556
#else
1557
#define MAP_FlashMassErase \
1558
FlashMassErase
1559
#endif
1560
#ifdef ROM_FlashMassEraseNonBlocking
1561
#define MAP_FlashMassEraseNonBlocking \
1562
ROM_FlashMassEraseNonBlocking
1563
#else
1564
#define MAP_FlashMassEraseNonBlocking \
1565
FlashMassEraseNonBlocking
1566
#endif
1567
#ifdef ROM_FlashEraseNonBlocking
1568
#define MAP_FlashEraseNonBlocking \
1569
ROM_FlashEraseNonBlocking
1570
#else
1571
#define MAP_FlashEraseNonBlocking \
1572
FlashEraseNonBlocking
1573
#endif
1574
#ifdef ROM_FlashProgram
1575
#define MAP_FlashProgram \
1576
ROM_FlashProgram
1577
#else
1578
#define MAP_FlashProgram \
1579
FlashProgram
1580
#endif
1581
#ifdef ROM_FlashProgramNonBlocking
1582
#define MAP_FlashProgramNonBlocking \
1583
ROM_FlashProgramNonBlocking
1584
#else
1585
#define MAP_FlashProgramNonBlocking \
1586
FlashProgramNonBlocking
1587
#endif
1588
#ifdef ROM_FlashIntRegister
1589
#define MAP_FlashIntRegister \
1590
ROM_FlashIntRegister
1591
#else
1592
#define MAP_FlashIntRegister \
1593
FlashIntRegister
1594
#endif
1595
#ifdef ROM_FlashIntUnregister
1596
#define MAP_FlashIntUnregister \
1597
ROM_FlashIntUnregister
1598
#else
1599
#define MAP_FlashIntUnregister \
1600
FlashIntUnregister
1601
#endif
1602
#ifdef ROM_FlashIntEnable
1603
#define MAP_FlashIntEnable \
1604
ROM_FlashIntEnable
1605
#else
1606
#define MAP_FlashIntEnable \
1607
FlashIntEnable
1608
#endif
1609
#ifdef ROM_FlashIntDisable
1610
#define MAP_FlashIntDisable \
1611
ROM_FlashIntDisable
1612
#else
1613
#define MAP_FlashIntDisable \
1614
FlashIntDisable
1615
#endif
1616
#ifdef ROM_FlashIntStatus
1617
#define MAP_FlashIntStatus \
1618
ROM_FlashIntStatus
1619
#else
1620
#define MAP_FlashIntStatus \
1621
FlashIntStatus
1622
#endif
1623
#ifdef ROM_FlashIntClear
1624
#define MAP_FlashIntClear \
1625
ROM_FlashIntClear
1626
#else
1627
#define MAP_FlashIntClear \
1628
FlashIntClear
1629
#endif
1630
#ifdef ROM_FlashProtectGet
1631
#define MAP_FlashProtectGet \
1632
ROM_FlashProtectGet
1633
#else
1634
#define MAP_FlashProtectGet \
1635
FlashProtectGet
1636
#endif
1637
1638
//*****************************************************************************
1639
//
1640
// Macros for the Pin API.
1641
//
1642
//*****************************************************************************
1643
#ifdef ROM_PinModeSet
1644
#define MAP_PinModeSet \
1645
ROM_PinModeSet
1646
#else
1647
#define MAP_PinModeSet \
1648
PinModeSet
1649
#endif
1650
#ifdef ROM_PinDirModeSet
1651
#define MAP_PinDirModeSet \
1652
ROM_PinDirModeSet
1653
#else
1654
#define MAP_PinDirModeSet \
1655
PinDirModeSet
1656
#endif
1657
#ifdef ROM_PinDirModeGet
1658
#define MAP_PinDirModeGet \
1659
ROM_PinDirModeGet
1660
#else
1661
#define MAP_PinDirModeGet \
1662
PinDirModeGet
1663
#endif
1664
#ifdef ROM_PinModeGet
1665
#define MAP_PinModeGet \
1666
ROM_PinModeGet
1667
#else
1668
#define MAP_PinModeGet \
1669
PinModeGet
1670
#endif
1671
#ifdef ROM_PinConfigGet
1672
#define MAP_PinConfigGet \
1673
ROM_PinConfigGet
1674
#else
1675
#define MAP_PinConfigGet \
1676
PinConfigGet
1677
#endif
1678
#ifdef ROM_PinConfigSet
1679
#define MAP_PinConfigSet \
1680
ROM_PinConfigSet
1681
#else
1682
#define MAP_PinConfigSet \
1683
PinConfigSet
1684
#endif
1685
#ifdef ROM_PinTypeUART
1686
#define MAP_PinTypeUART \
1687
ROM_PinTypeUART
1688
#else
1689
#define MAP_PinTypeUART \
1690
PinTypeUART
1691
#endif
1692
#ifdef ROM_PinTypeI2C
1693
#define MAP_PinTypeI2C \
1694
ROM_PinTypeI2C
1695
#else
1696
#define MAP_PinTypeI2C \
1697
PinTypeI2C
1698
#endif
1699
#ifdef ROM_PinTypeSPI
1700
#define MAP_PinTypeSPI \
1701
ROM_PinTypeSPI
1702
#else
1703
#define MAP_PinTypeSPI \
1704
PinTypeSPI
1705
#endif
1706
#ifdef ROM_PinTypeI2S
1707
#define MAP_PinTypeI2S \
1708
ROM_PinTypeI2S
1709
#else
1710
#define MAP_PinTypeI2S \
1711
PinTypeI2S
1712
#endif
1713
#ifdef ROM_PinTypeTimer
1714
#define MAP_PinTypeTimer \
1715
ROM_PinTypeTimer
1716
#else
1717
#define MAP_PinTypeTimer \
1718
PinTypeTimer
1719
#endif
1720
#ifdef ROM_PinTypeCamera
1721
#define MAP_PinTypeCamera \
1722
ROM_PinTypeCamera
1723
#else
1724
#define MAP_PinTypeCamera \
1725
PinTypeCamera
1726
#endif
1727
#ifdef ROM_PinTypeGPIO
1728
#define MAP_PinTypeGPIO \
1729
ROM_PinTypeGPIO
1730
#else
1731
#define MAP_PinTypeGPIO \
1732
PinTypeGPIO
1733
#endif
1734
#ifdef ROM_PinTypeADC
1735
#define MAP_PinTypeADC \
1736
ROM_PinTypeADC
1737
#else
1738
#define MAP_PinTypeADC \
1739
PinTypeADC
1740
#endif
1741
#ifdef ROM_PinTypeSDHost
1742
#define MAP_PinTypeSDHost \
1743
ROM_PinTypeSDHost
1744
#else
1745
#define MAP_PinTypeSDHost \
1746
PinTypeSDHost
1747
#endif
1748
1749
//*****************************************************************************
1750
//
1751
// Macros for the SYSTICK API.
1752
//
1753
//*****************************************************************************
1754
#ifdef ROM_SysTickEnable
1755
#define MAP_SysTickEnable \
1756
ROM_SysTickEnable
1757
#else
1758
#define MAP_SysTickEnable \
1759
SysTickEnable
1760
#endif
1761
#ifdef ROM_SysTickDisable
1762
#define MAP_SysTickDisable \
1763
ROM_SysTickDisable
1764
#else
1765
#define MAP_SysTickDisable \
1766
SysTickDisable
1767
#endif
1768
#ifdef ROM_SysTickIntRegister
1769
#define MAP_SysTickIntRegister \
1770
ROM_SysTickIntRegister
1771
#else
1772
#define MAP_SysTickIntRegister \
1773
SysTickIntRegister
1774
#endif
1775
#ifdef ROM_SysTickIntUnregister
1776
#define MAP_SysTickIntUnregister \
1777
ROM_SysTickIntUnregister
1778
#else
1779
#define MAP_SysTickIntUnregister \
1780
SysTickIntUnregister
1781
#endif
1782
#ifdef ROM_SysTickIntEnable
1783
#define MAP_SysTickIntEnable \
1784
ROM_SysTickIntEnable
1785
#else
1786
#define MAP_SysTickIntEnable \
1787
SysTickIntEnable
1788
#endif
1789
#ifdef ROM_SysTickIntDisable
1790
#define MAP_SysTickIntDisable \
1791
ROM_SysTickIntDisable
1792
#else
1793
#define MAP_SysTickIntDisable \
1794
SysTickIntDisable
1795
#endif
1796
#ifdef ROM_SysTickPeriodSet
1797
#define MAP_SysTickPeriodSet \
1798
ROM_SysTickPeriodSet
1799
#else
1800
#define MAP_SysTickPeriodSet \
1801
SysTickPeriodSet
1802
#endif
1803
#ifdef ROM_SysTickPeriodGet
1804
#define MAP_SysTickPeriodGet \
1805
ROM_SysTickPeriodGet
1806
#else
1807
#define MAP_SysTickPeriodGet \
1808
SysTickPeriodGet
1809
#endif
1810
#ifdef ROM_SysTickValueGet
1811
#define MAP_SysTickValueGet \
1812
ROM_SysTickValueGet
1813
#else
1814
#define MAP_SysTickValueGet \
1815
SysTickValueGet
1816
#endif
1817
1818
//*****************************************************************************
1819
//
1820
// Macros for the UTILS API.
1821
//
1822
//*****************************************************************************
1823
#ifdef ROM_UtilsDelay
1824
#define MAP_UtilsDelay \
1825
ROM_UtilsDelay
1826
#else
1827
#define MAP_UtilsDelay \
1828
UtilsDelay
1829
#endif
1830
1831
//*****************************************************************************
1832
//
1833
// Macros for the I2S API.
1834
//
1835
//*****************************************************************************
1836
#ifdef ROM_I2SEnable
1837
#define MAP_I2SEnable \
1838
ROM_I2SEnable
1839
#else
1840
#define MAP_I2SEnable \
1841
I2SEnable
1842
#endif
1843
#ifdef ROM_I2SDisable
1844
#define MAP_I2SDisable \
1845
ROM_I2SDisable
1846
#else
1847
#define MAP_I2SDisable \
1848
I2SDisable
1849
#endif
1850
#ifdef ROM_I2SDataPut
1851
#define MAP_I2SDataPut \
1852
ROM_I2SDataPut
1853
#else
1854
#define MAP_I2SDataPut \
1855
I2SDataPut
1856
#endif
1857
#ifdef ROM_I2SDataPutNonBlocking
1858
#define MAP_I2SDataPutNonBlocking \
1859
ROM_I2SDataPutNonBlocking
1860
#else
1861
#define MAP_I2SDataPutNonBlocking \
1862
I2SDataPutNonBlocking
1863
#endif
1864
#ifdef ROM_I2SDataGet
1865
#define MAP_I2SDataGet \
1866
ROM_I2SDataGet
1867
#else
1868
#define MAP_I2SDataGet \
1869
I2SDataGet
1870
#endif
1871
#ifdef ROM_I2SDataGetNonBlocking
1872
#define MAP_I2SDataGetNonBlocking \
1873
ROM_I2SDataGetNonBlocking
1874
#else
1875
#define MAP_I2SDataGetNonBlocking \
1876
I2SDataGetNonBlocking
1877
#endif
1878
#ifdef ROM_I2SConfigSetExpClk
1879
#define MAP_I2SConfigSetExpClk \
1880
ROM_I2SConfigSetExpClk
1881
#else
1882
#define MAP_I2SConfigSetExpClk \
1883
I2SConfigSetExpClk
1884
#endif
1885
#ifdef ROM_I2STxFIFOEnable
1886
#define MAP_I2STxFIFOEnable \
1887
ROM_I2STxFIFOEnable
1888
#else
1889
#define MAP_I2STxFIFOEnable \
1890
I2STxFIFOEnable
1891
#endif
1892
#ifdef ROM_I2STxFIFODisable
1893
#define MAP_I2STxFIFODisable \
1894
ROM_I2STxFIFODisable
1895
#else
1896
#define MAP_I2STxFIFODisable \
1897
I2STxFIFODisable
1898
#endif
1899
#ifdef ROM_I2SRxFIFOEnable
1900
#define MAP_I2SRxFIFOEnable \
1901
ROM_I2SRxFIFOEnable
1902
#else
1903
#define MAP_I2SRxFIFOEnable \
1904
I2SRxFIFOEnable
1905
#endif
1906
#ifdef ROM_I2SRxFIFODisable
1907
#define MAP_I2SRxFIFODisable \
1908
ROM_I2SRxFIFODisable
1909
#else
1910
#define MAP_I2SRxFIFODisable \
1911
I2SRxFIFODisable
1912
#endif
1913
#ifdef ROM_I2STxFIFOStatusGet
1914
#define MAP_I2STxFIFOStatusGet \
1915
ROM_I2STxFIFOStatusGet
1916
#else
1917
#define MAP_I2STxFIFOStatusGet \
1918
I2STxFIFOStatusGet
1919
#endif
1920
#ifdef ROM_I2SRxFIFOStatusGet
1921
#define MAP_I2SRxFIFOStatusGet \
1922
ROM_I2SRxFIFOStatusGet
1923
#else
1924
#define MAP_I2SRxFIFOStatusGet \
1925
I2SRxFIFOStatusGet
1926
#endif
1927
#ifdef ROM_I2SSerializerConfig
1928
#define MAP_I2SSerializerConfig \
1929
ROM_I2SSerializerConfig
1930
#else
1931
#define MAP_I2SSerializerConfig \
1932
I2SSerializerConfig
1933
#endif
1934
#ifdef ROM_I2SIntEnable
1935
#define MAP_I2SIntEnable \
1936
ROM_I2SIntEnable
1937
#else
1938
#define MAP_I2SIntEnable \
1939
I2SIntEnable
1940
#endif
1941
#ifdef ROM_I2SIntDisable
1942
#define MAP_I2SIntDisable \
1943
ROM_I2SIntDisable
1944
#else
1945
#define MAP_I2SIntDisable \
1946
I2SIntDisable
1947
#endif
1948
#ifdef ROM_I2SIntStatus
1949
#define MAP_I2SIntStatus \
1950
ROM_I2SIntStatus
1951
#else
1952
#define MAP_I2SIntStatus \
1953
I2SIntStatus
1954
#endif
1955
#ifdef ROM_I2SIntClear
1956
#define MAP_I2SIntClear \
1957
ROM_I2SIntClear
1958
#else
1959
#define MAP_I2SIntClear \
1960
I2SIntClear
1961
#endif
1962
#ifdef ROM_I2SIntRegister
1963
#define MAP_I2SIntRegister \
1964
ROM_I2SIntRegister
1965
#else
1966
#define MAP_I2SIntRegister \
1967
I2SIntRegister
1968
#endif
1969
#ifdef ROM_I2SIntUnregister
1970
#define MAP_I2SIntUnregister \
1971
ROM_I2SIntUnregister
1972
#else
1973
#define MAP_I2SIntUnregister \
1974
I2SIntUnregister
1975
#endif
1976
1977
//*****************************************************************************
1978
//
1979
// Macros for the GPIO API.
1980
//
1981
//*****************************************************************************
1982
#ifdef ROM_GPIODirModeSet
1983
#define MAP_GPIODirModeSet \
1984
ROM_GPIODirModeSet
1985
#else
1986
#define MAP_GPIODirModeSet \
1987
GPIODirModeSet
1988
#endif
1989
#ifdef ROM_GPIODirModeGet
1990
#define MAP_GPIODirModeGet \
1991
ROM_GPIODirModeGet
1992
#else
1993
#define MAP_GPIODirModeGet \
1994
GPIODirModeGet
1995
#endif
1996
#ifdef ROM_GPIOIntTypeSet
1997
#define MAP_GPIOIntTypeSet \
1998
ROM_GPIOIntTypeSet
1999
#else
2000
#define MAP_GPIOIntTypeSet \
2001
GPIOIntTypeSet
2002
#endif
2003
#ifdef ROM_GPIODMATriggerEnable
2004
#define MAP_GPIODMATriggerEnable \
2005
ROM_GPIODMATriggerEnable
2006
#else
2007
#define MAP_GPIODMATriggerEnable \
2008
GPIODMATriggerEnable
2009
#endif
2010
#ifdef ROM_GPIODMATriggerDisable
2011
#define MAP_GPIODMATriggerDisable \
2012
ROM_GPIODMATriggerDisable
2013
#else
2014
#define MAP_GPIODMATriggerDisable \
2015
GPIODMATriggerDisable
2016
#endif
2017
#ifdef ROM_GPIOIntTypeGet
2018
#define MAP_GPIOIntTypeGet \
2019
ROM_GPIOIntTypeGet
2020
#else
2021
#define MAP_GPIOIntTypeGet \
2022
GPIOIntTypeGet
2023
#endif
2024
#ifdef ROM_GPIOIntEnable
2025
#define MAP_GPIOIntEnable \
2026
ROM_GPIOIntEnable
2027
#else
2028
#define MAP_GPIOIntEnable \
2029
GPIOIntEnable
2030
#endif
2031
#ifdef ROM_GPIOIntDisable
2032
#define MAP_GPIOIntDisable \
2033
ROM_GPIOIntDisable
2034
#else
2035
#define MAP_GPIOIntDisable \
2036
GPIOIntDisable
2037
#endif
2038
#ifdef ROM_GPIOIntStatus
2039
#define MAP_GPIOIntStatus \
2040
ROM_GPIOIntStatus
2041
#else
2042
#define MAP_GPIOIntStatus \
2043
GPIOIntStatus
2044
#endif
2045
#ifdef ROM_GPIOIntClear
2046
#define MAP_GPIOIntClear \
2047
ROM_GPIOIntClear
2048
#else
2049
#define MAP_GPIOIntClear \
2050
GPIOIntClear
2051
#endif
2052
#ifdef ROM_GPIOIntRegister
2053
#define MAP_GPIOIntRegister \
2054
ROM_GPIOIntRegister
2055
#else
2056
#define MAP_GPIOIntRegister \
2057
GPIOIntRegister
2058
#endif
2059
#ifdef ROM_GPIOIntUnregister
2060
#define MAP_GPIOIntUnregister \
2061
ROM_GPIOIntUnregister
2062
#else
2063
#define MAP_GPIOIntUnregister \
2064
GPIOIntUnregister
2065
#endif
2066
#ifdef ROM_GPIOPinRead
2067
#define MAP_GPIOPinRead \
2068
ROM_GPIOPinRead
2069
#else
2070
#define MAP_GPIOPinRead \
2071
GPIOPinRead
2072
#endif
2073
#ifdef ROM_GPIOPinWrite
2074
#define MAP_GPIOPinWrite \
2075
ROM_GPIOPinWrite
2076
#else
2077
#define MAP_GPIOPinWrite \
2078
GPIOPinWrite
2079
#endif
2080
2081
//*****************************************************************************
2082
//
2083
// Macros for the AES API.
2084
//
2085
//*****************************************************************************
2086
#ifdef ROM_AESConfigSet
2087
#define MAP_AESConfigSet \
2088
ROM_AESConfigSet
2089
#else
2090
#define MAP_AESConfigSet \
2091
AESConfigSet
2092
#endif
2093
#ifdef ROM_AESKey1Set
2094
#define MAP_AESKey1Set \
2095
ROM_AESKey1Set
2096
#else
2097
#define MAP_AESKey1Set \
2098
AESKey1Set
2099
#endif
2100
#ifdef ROM_AESKey2Set
2101
#define MAP_AESKey2Set \
2102
ROM_AESKey2Set
2103
#else
2104
#define MAP_AESKey2Set \
2105
AESKey2Set
2106
#endif
2107
#ifdef ROM_AESKey3Set
2108
#define MAP_AESKey3Set \
2109
ROM_AESKey3Set
2110
#else
2111
#define MAP_AESKey3Set \
2112
AESKey3Set
2113
#endif
2114
#ifdef ROM_AESIVSet
2115
#define MAP_AESIVSet \
2116
ROM_AESIVSet
2117
#else
2118
#define MAP_AESIVSet \
2119
AESIVSet
2120
#endif
2121
#ifdef ROM_AESTagRead
2122
#define MAP_AESTagRead \
2123
ROM_AESTagRead
2124
#else
2125
#define MAP_AESTagRead \
2126
AESTagRead
2127
#endif
2128
#ifdef ROM_AESDataLengthSet
2129
#define MAP_AESDataLengthSet \
2130
ROM_AESDataLengthSet
2131
#else
2132
#define MAP_AESDataLengthSet \
2133
AESDataLengthSet
2134
#endif
2135
#ifdef ROM_AESAuthDataLengthSet
2136
#define MAP_AESAuthDataLengthSet \
2137
ROM_AESAuthDataLengthSet
2138
#else
2139
#define MAP_AESAuthDataLengthSet \
2140
AESAuthDataLengthSet
2141
#endif
2142
#ifdef ROM_AESDataReadNonBlocking
2143
#define MAP_AESDataReadNonBlocking \
2144
ROM_AESDataReadNonBlocking
2145
#else
2146
#define MAP_AESDataReadNonBlocking \
2147
AESDataReadNonBlocking
2148
#endif
2149
#ifdef ROM_AESDataRead
2150
#define MAP_AESDataRead \
2151
ROM_AESDataRead
2152
#else
2153
#define MAP_AESDataRead \
2154
AESDataRead
2155
#endif
2156
#ifdef ROM_AESDataWriteNonBlocking
2157
#define MAP_AESDataWriteNonBlocking \
2158
ROM_AESDataWriteNonBlocking
2159
#else
2160
#define MAP_AESDataWriteNonBlocking \
2161
AESDataWriteNonBlocking
2162
#endif
2163
#ifdef ROM_AESDataWrite
2164
#define MAP_AESDataWrite \
2165
ROM_AESDataWrite
2166
#else
2167
#define MAP_AESDataWrite \
2168
AESDataWrite
2169
#endif
2170
#ifdef ROM_AESDataProcess
2171
#define MAP_AESDataProcess \
2172
ROM_AESDataProcess
2173
#else
2174
#define MAP_AESDataProcess \
2175
AESDataProcess
2176
#endif
2177
#ifdef ROM_AESDataMAC
2178
#define MAP_AESDataMAC \
2179
ROM_AESDataMAC
2180
#else
2181
#define MAP_AESDataMAC \
2182
AESDataMAC
2183
#endif
2184
#ifdef ROM_AESDataProcessAE
2185
#define MAP_AESDataProcessAE \
2186
ROM_AESDataProcessAE
2187
#else
2188
#define MAP_AESDataProcessAE \
2189
AESDataProcessAE
2190
#endif
2191
#ifdef ROM_AESIntStatus
2192
#define MAP_AESIntStatus \
2193
ROM_AESIntStatus
2194
#else
2195
#define MAP_AESIntStatus \
2196
AESIntStatus
2197
#endif
2198
#ifdef ROM_AESIntEnable
2199
#define MAP_AESIntEnable \
2200
ROM_AESIntEnable
2201
#else
2202
#define MAP_AESIntEnable \
2203
AESIntEnable
2204
#endif
2205
#ifdef ROM_AESIntDisable
2206
#define MAP_AESIntDisable \
2207
ROM_AESIntDisable
2208
#else
2209
#define MAP_AESIntDisable \
2210
AESIntDisable
2211
#endif
2212
#ifdef ROM_AESIntClear
2213
#define MAP_AESIntClear \
2214
ROM_AESIntClear
2215
#else
2216
#define MAP_AESIntClear \
2217
AESIntClear
2218
#endif
2219
#ifdef ROM_AESIntRegister
2220
#define MAP_AESIntRegister \
2221
ROM_AESIntRegister
2222
#else
2223
#define MAP_AESIntRegister \
2224
AESIntRegister
2225
#endif
2226
#ifdef ROM_AESIntUnregister
2227
#define MAP_AESIntUnregister \
2228
ROM_AESIntUnregister
2229
#else
2230
#define MAP_AESIntUnregister \
2231
AESIntUnregister
2232
#endif
2233
#ifdef ROM_AESDMAEnable
2234
#define MAP_AESDMAEnable \
2235
ROM_AESDMAEnable
2236
#else
2237
#define MAP_AESDMAEnable \
2238
AESDMAEnable
2239
#endif
2240
#ifdef ROM_AESDMADisable
2241
#define MAP_AESDMADisable \
2242
ROM_AESDMADisable
2243
#else
2244
#define MAP_AESDMADisable \
2245
AESDMADisable
2246
#endif
2247
2248
//*****************************************************************************
2249
//
2250
// Macros for the DES API.
2251
//
2252
//*****************************************************************************
2253
#ifdef ROM_DESConfigSet
2254
#define MAP_DESConfigSet \
2255
ROM_DESConfigSet
2256
#else
2257
#define MAP_DESConfigSet \
2258
DESConfigSet
2259
#endif
2260
#ifdef ROM_DESDataRead
2261
#define MAP_DESDataRead \
2262
ROM_DESDataRead
2263
#else
2264
#define MAP_DESDataRead \
2265
DESDataRead
2266
#endif
2267
#ifdef ROM_DESDataReadNonBlocking
2268
#define MAP_DESDataReadNonBlocking \
2269
ROM_DESDataReadNonBlocking
2270
#else
2271
#define MAP_DESDataReadNonBlocking \
2272
DESDataReadNonBlocking
2273
#endif
2274
#ifdef ROM_DESDataProcess
2275
#define MAP_DESDataProcess \
2276
ROM_DESDataProcess
2277
#else
2278
#define MAP_DESDataProcess \
2279
DESDataProcess
2280
#endif
2281
#ifdef ROM_DESDataWrite
2282
#define MAP_DESDataWrite \
2283
ROM_DESDataWrite
2284
#else
2285
#define MAP_DESDataWrite \
2286
DESDataWrite
2287
#endif
2288
#ifdef ROM_DESDataWriteNonBlocking
2289
#define MAP_DESDataWriteNonBlocking \
2290
ROM_DESDataWriteNonBlocking
2291
#else
2292
#define MAP_DESDataWriteNonBlocking \
2293
DESDataWriteNonBlocking
2294
#endif
2295
#ifdef ROM_DESDMADisable
2296
#define MAP_DESDMADisable \
2297
ROM_DESDMADisable
2298
#else
2299
#define MAP_DESDMADisable \
2300
DESDMADisable
2301
#endif
2302
#ifdef ROM_DESDMAEnable
2303
#define MAP_DESDMAEnable \
2304
ROM_DESDMAEnable
2305
#else
2306
#define MAP_DESDMAEnable \
2307
DESDMAEnable
2308
#endif
2309
#ifdef ROM_DESIntClear
2310
#define MAP_DESIntClear \
2311
ROM_DESIntClear
2312
#else
2313
#define MAP_DESIntClear \
2314
DESIntClear
2315
#endif
2316
#ifdef ROM_DESIntDisable
2317
#define MAP_DESIntDisable \
2318
ROM_DESIntDisable
2319
#else
2320
#define MAP_DESIntDisable \
2321
DESIntDisable
2322
#endif
2323
#ifdef ROM_DESIntEnable
2324
#define MAP_DESIntEnable \
2325
ROM_DESIntEnable
2326
#else
2327
#define MAP_DESIntEnable \
2328
DESIntEnable
2329
#endif
2330
#ifdef ROM_DESIntRegister
2331
#define MAP_DESIntRegister \
2332
ROM_DESIntRegister
2333
#else
2334
#define MAP_DESIntRegister \
2335
DESIntRegister
2336
#endif
2337
#ifdef ROM_DESIntStatus
2338
#define MAP_DESIntStatus \
2339
ROM_DESIntStatus
2340
#else
2341
#define MAP_DESIntStatus \
2342
DESIntStatus
2343
#endif
2344
#ifdef ROM_DESIntUnregister
2345
#define MAP_DESIntUnregister \
2346
ROM_DESIntUnregister
2347
#else
2348
#define MAP_DESIntUnregister \
2349
DESIntUnregister
2350
#endif
2351
#ifdef ROM_DESIVSet
2352
#define MAP_DESIVSet \
2353
ROM_DESIVSet
2354
#else
2355
#define MAP_DESIVSet \
2356
DESIVSet
2357
#endif
2358
#ifdef ROM_DESKeySet
2359
#define MAP_DESKeySet \
2360
ROM_DESKeySet
2361
#else
2362
#define MAP_DESKeySet \
2363
DESKeySet
2364
#endif
2365
#ifdef ROM_DESDataLengthSet
2366
#define MAP_DESDataLengthSet \
2367
ROM_DESDataLengthSet
2368
#else
2369
#define MAP_DESDataLengthSet \
2370
DESDataLengthSet
2371
#endif
2372
2373
//*****************************************************************************
2374
//
2375
// Macros for the SHAMD5 API.
2376
//
2377
//*****************************************************************************
2378
#ifdef ROM_SHAMD5ConfigSet
2379
#define MAP_SHAMD5ConfigSet \
2380
ROM_SHAMD5ConfigSet
2381
#else
2382
#define MAP_SHAMD5ConfigSet \
2383
SHAMD5ConfigSet
2384
#endif
2385
#ifdef ROM_SHAMD5DataProcess
2386
#define MAP_SHAMD5DataProcess \
2387
ROM_SHAMD5DataProcess
2388
#else
2389
#define MAP_SHAMD5DataProcess \
2390
SHAMD5DataProcess
2391
#endif
2392
#ifdef ROM_SHAMD5DataWrite
2393
#define MAP_SHAMD5DataWrite \
2394
ROM_SHAMD5DataWrite
2395
#else
2396
#define MAP_SHAMD5DataWrite \
2397
SHAMD5DataWrite
2398
#endif
2399
#ifdef ROM_SHAMD5DataWriteNonBlocking
2400
#define MAP_SHAMD5DataWriteNonBlocking \
2401
ROM_SHAMD5DataWriteNonBlocking
2402
#else
2403
#define MAP_SHAMD5DataWriteNonBlocking \
2404
SHAMD5DataWriteNonBlocking
2405
#endif
2406
#ifdef ROM_SHAMD5DMADisable
2407
#define MAP_SHAMD5DMADisable \
2408
ROM_SHAMD5DMADisable
2409
#else
2410
#define MAP_SHAMD5DMADisable \
2411
SHAMD5DMADisable
2412
#endif
2413
#ifdef ROM_SHAMD5DMAEnable
2414
#define MAP_SHAMD5DMAEnable \
2415
ROM_SHAMD5DMAEnable
2416
#else
2417
#define MAP_SHAMD5DMAEnable \
2418
SHAMD5DMAEnable
2419
#endif
2420
#ifdef ROM_SHAMD5DataLengthSet
2421
#define MAP_SHAMD5DataLengthSet \
2422
ROM_SHAMD5DataLengthSet
2423
#else
2424
#define MAP_SHAMD5DataLengthSet \
2425
SHAMD5DataLengthSet
2426
#endif
2427
#ifdef ROM_SHAMD5HMACKeySet
2428
#define MAP_SHAMD5HMACKeySet \
2429
ROM_SHAMD5HMACKeySet
2430
#else
2431
#define MAP_SHAMD5HMACKeySet \
2432
SHAMD5HMACKeySet
2433
#endif
2434
#ifdef ROM_SHAMD5HMACPPKeyGenerate
2435
#define MAP_SHAMD5HMACPPKeyGenerate \
2436
ROM_SHAMD5HMACPPKeyGenerate
2437
#else
2438
#define MAP_SHAMD5HMACPPKeyGenerate \
2439
SHAMD5HMACPPKeyGenerate
2440
#endif
2441
#ifdef ROM_SHAMD5HMACPPKeySet
2442
#define MAP_SHAMD5HMACPPKeySet \
2443
ROM_SHAMD5HMACPPKeySet
2444
#else
2445
#define MAP_SHAMD5HMACPPKeySet \
2446
SHAMD5HMACPPKeySet
2447
#endif
2448
#ifdef ROM_SHAMD5HMACProcess
2449
#define MAP_SHAMD5HMACProcess \
2450
ROM_SHAMD5HMACProcess
2451
#else
2452
#define MAP_SHAMD5HMACProcess \
2453
SHAMD5HMACProcess
2454
#endif
2455
#ifdef ROM_SHAMD5IntClear
2456
#define MAP_SHAMD5IntClear \
2457
ROM_SHAMD5IntClear
2458
#else
2459
#define MAP_SHAMD5IntClear \
2460
SHAMD5IntClear
2461
#endif
2462
#ifdef ROM_SHAMD5IntDisable
2463
#define MAP_SHAMD5IntDisable \
2464
ROM_SHAMD5IntDisable
2465
#else
2466
#define MAP_SHAMD5IntDisable \
2467
SHAMD5IntDisable
2468
#endif
2469
#ifdef ROM_SHAMD5IntEnable
2470
#define MAP_SHAMD5IntEnable \
2471
ROM_SHAMD5IntEnable
2472
#else
2473
#define MAP_SHAMD5IntEnable \
2474
SHAMD5IntEnable
2475
#endif
2476
#ifdef ROM_SHAMD5IntRegister
2477
#define MAP_SHAMD5IntRegister \
2478
ROM_SHAMD5IntRegister
2479
#else
2480
#define MAP_SHAMD5IntRegister \
2481
SHAMD5IntRegister
2482
#endif
2483
#ifdef ROM_SHAMD5IntStatus
2484
#define MAP_SHAMD5IntStatus \
2485
ROM_SHAMD5IntStatus
2486
#else
2487
#define MAP_SHAMD5IntStatus \
2488
SHAMD5IntStatus
2489
#endif
2490
#ifdef ROM_SHAMD5IntUnregister
2491
#define MAP_SHAMD5IntUnregister \
2492
ROM_SHAMD5IntUnregister
2493
#else
2494
#define MAP_SHAMD5IntUnregister \
2495
SHAMD5IntUnregister
2496
#endif
2497
#ifdef ROM_SHAMD5ResultRead
2498
#define MAP_SHAMD5ResultRead \
2499
ROM_SHAMD5ResultRead
2500
#else
2501
#define MAP_SHAMD5ResultRead \
2502
SHAMD5ResultRead
2503
#endif
2504
2505
//*****************************************************************************
2506
//
2507
// Macros for the CRC API.
2508
//
2509
//*****************************************************************************
2510
#ifdef ROM_CRCConfigSet
2511
#define MAP_CRCConfigSet \
2512
ROM_CRCConfigSet
2513
#else
2514
#define MAP_CRCConfigSet \
2515
CRCConfigSet
2516
#endif
2517
#ifdef ROM_CRCDataProcess
2518
#define MAP_CRCDataProcess \
2519
ROM_CRCDataProcess
2520
#else
2521
#define MAP_CRCDataProcess \
2522
CRCDataProcess
2523
#endif
2524
#ifdef ROM_CRCDataWrite
2525
#define MAP_CRCDataWrite \
2526
ROM_CRCDataWrite
2527
#else
2528
#define MAP_CRCDataWrite \
2529
CRCDataWrite
2530
#endif
2531
#ifdef ROM_CRCResultRead
2532
#define MAP_CRCResultRead \
2533
ROM_CRCResultRead
2534
#else
2535
#define MAP_CRCResultRead \
2536
CRCResultRead
2537
#endif
2538
#ifdef ROM_CRCSeedSet
2539
#define MAP_CRCSeedSet \
2540
ROM_CRCSeedSet
2541
#else
2542
#define MAP_CRCSeedSet \
2543
CRCSeedSet
2544
#endif
2545
2546
//*****************************************************************************
2547
//
2548
// Macros for the SDHOST API.
2549
//
2550
//*****************************************************************************
2551
#ifdef ROM_SDHostCmdReset
2552
#define MAP_SDHostCmdReset \
2553
ROM_SDHostCmdReset
2554
#else
2555
#define MAP_SDHostCmdReset \
2556
SDHostCmdReset
2557
#endif
2558
#ifdef ROM_SDHostInit
2559
#define MAP_SDHostInit \
2560
ROM_SDHostInit
2561
#else
2562
#define MAP_SDHostInit \
2563
SDHostInit
2564
#endif
2565
#ifdef ROM_SDHostCmdSend
2566
#define MAP_SDHostCmdSend \
2567
ROM_SDHostCmdSend
2568
#else
2569
#define MAP_SDHostCmdSend \
2570
SDHostCmdSend
2571
#endif
2572
#ifdef ROM_SDHostIntRegister
2573
#define MAP_SDHostIntRegister \
2574
ROM_SDHostIntRegister
2575
#else
2576
#define MAP_SDHostIntRegister \
2577
SDHostIntRegister
2578
#endif
2579
#ifdef ROM_SDHostIntUnregister
2580
#define MAP_SDHostIntUnregister \
2581
ROM_SDHostIntUnregister
2582
#else
2583
#define MAP_SDHostIntUnregister \
2584
SDHostIntUnregister
2585
#endif
2586
#ifdef ROM_SDHostIntEnable
2587
#define MAP_SDHostIntEnable \
2588
ROM_SDHostIntEnable
2589
#else
2590
#define MAP_SDHostIntEnable \
2591
SDHostIntEnable
2592
#endif
2593
#ifdef ROM_SDHostIntDisable
2594
#define MAP_SDHostIntDisable \
2595
ROM_SDHostIntDisable
2596
#else
2597
#define MAP_SDHostIntDisable \
2598
SDHostIntDisable
2599
#endif
2600
#ifdef ROM_SDHostIntStatus
2601
#define MAP_SDHostIntStatus \
2602
ROM_SDHostIntStatus
2603
#else
2604
#define MAP_SDHostIntStatus \
2605
SDHostIntStatus
2606
#endif
2607
#ifdef ROM_SDHostIntClear
2608
#define MAP_SDHostIntClear \
2609
ROM_SDHostIntClear
2610
#else
2611
#define MAP_SDHostIntClear \
2612
SDHostIntClear
2613
#endif
2614
#ifdef ROM_SDHostRespStatus
2615
#define MAP_SDHostRespStatus \
2616
ROM_SDHostRespStatus
2617
#else
2618
#define MAP_SDHostRespStatus \
2619
SDHostRespStatus
2620
#endif
2621
#ifdef ROM_SDHostRespGet
2622
#define MAP_SDHostRespGet \
2623
ROM_SDHostRespGet
2624
#else
2625
#define MAP_SDHostRespGet \
2626
SDHostRespGet
2627
#endif
2628
#ifdef ROM_SDHostBlockSizeSet
2629
#define MAP_SDHostBlockSizeSet \
2630
ROM_SDHostBlockSizeSet
2631
#else
2632
#define MAP_SDHostBlockSizeSet \
2633
SDHostBlockSizeSet
2634
#endif
2635
#ifdef ROM_SDHostBlockCountSet
2636
#define MAP_SDHostBlockCountSet \
2637
ROM_SDHostBlockCountSet
2638
#else
2639
#define MAP_SDHostBlockCountSet \
2640
SDHostBlockCountSet
2641
#endif
2642
#ifdef ROM_SDHostDataNonBlockingWrite
2643
#define MAP_SDHostDataNonBlockingWrite \
2644
ROM_SDHostDataNonBlockingWrite
2645
#else
2646
#define MAP_SDHostDataNonBlockingWrite \
2647
SDHostDataNonBlockingWrite
2648
#endif
2649
#ifdef ROM_SDHostDataNonBlockingRead
2650
#define MAP_SDHostDataNonBlockingRead \
2651
ROM_SDHostDataNonBlockingRead
2652
#else
2653
#define MAP_SDHostDataNonBlockingRead \
2654
SDHostDataNonBlockingRead
2655
#endif
2656
#ifdef ROM_SDHostDataWrite
2657
#define MAP_SDHostDataWrite \
2658
ROM_SDHostDataWrite
2659
#else
2660
#define MAP_SDHostDataWrite \
2661
SDHostDataWrite
2662
#endif
2663
#ifdef ROM_SDHostDataRead
2664
#define MAP_SDHostDataRead \
2665
ROM_SDHostDataRead
2666
#else
2667
#define MAP_SDHostDataRead \
2668
SDHostDataRead
2669
#endif
2670
#ifdef ROM_SDHostSetExpClk
2671
#define MAP_SDHostSetExpClk \
2672
ROM_SDHostSetExpClk
2673
#else
2674
#define MAP_SDHostSetExpClk \
2675
SDHostSetExpClk
2676
#endif
2677
2678
//*****************************************************************************
2679
//
2680
// Macros for the PRCM API.
2681
//
2682
//*****************************************************************************
2683
#ifdef ROM_PRCMMCUReset
2684
#define MAP_PRCMMCUReset \
2685
ROM_PRCMMCUReset
2686
#else
2687
#define MAP_PRCMMCUReset \
2688
PRCMMCUReset
2689
#endif
2690
#ifdef ROM_PRCMSysResetCauseGet
2691
#define MAP_PRCMSysResetCauseGet \
2692
ROM_PRCMSysResetCauseGet
2693
#else
2694
#define MAP_PRCMSysResetCauseGet \
2695
PRCMSysResetCauseGet
2696
#endif
2697
#ifdef ROM_PRCMPeripheralClkEnable
2698
#define MAP_PRCMPeripheralClkEnable \
2699
ROM_PRCMPeripheralClkEnable
2700
#else
2701
#define MAP_PRCMPeripheralClkEnable \
2702
PRCMPeripheralClkEnable
2703
#endif
2704
#ifdef ROM_PRCMPeripheralClkDisable
2705
#define MAP_PRCMPeripheralClkDisable \
2706
ROM_PRCMPeripheralClkDisable
2707
#else
2708
#define MAP_PRCMPeripheralClkDisable \
2709
PRCMPeripheralClkDisable
2710
#endif
2711
#ifdef ROM_PRCMPeripheralReset
2712
#define MAP_PRCMPeripheralReset \
2713
ROM_PRCMPeripheralReset
2714
#else
2715
#define MAP_PRCMPeripheralReset \
2716
PRCMPeripheralReset
2717
#endif
2718
#ifdef ROM_PRCMPeripheralStatusGet
2719
#define MAP_PRCMPeripheralStatusGet \
2720
ROM_PRCMPeripheralStatusGet
2721
#else
2722
#define MAP_PRCMPeripheralStatusGet \
2723
PRCMPeripheralStatusGet
2724
#endif
2725
#ifdef ROM_PRCMI2SClockFreqSet
2726
#define MAP_PRCMI2SClockFreqSet \
2727
ROM_PRCMI2SClockFreqSet
2728
#else
2729
#define MAP_PRCMI2SClockFreqSet \
2730
PRCMI2SClockFreqSet
2731
#endif
2732
#ifdef ROM_PRCMPeripheralClockGet
2733
#define MAP_PRCMPeripheralClockGet \
2734
ROM_PRCMPeripheralClockGet
2735
#else
2736
#define MAP_PRCMPeripheralClockGet \
2737
PRCMPeripheralClockGet
2738
#endif
2739
#ifdef ROM_PRCMSleepEnter
2740
#define MAP_PRCMSleepEnter \
2741
ROM_PRCMSleepEnter
2742
#else
2743
#define MAP_PRCMSleepEnter \
2744
PRCMSleepEnter
2745
#endif
2746
#ifdef ROM_PRCMDeepSleepEnter
2747
#define MAP_PRCMDeepSleepEnter \
2748
ROM_PRCMDeepSleepEnter
2749
#else
2750
#define MAP_PRCMDeepSleepEnter \
2751
PRCMDeepSleepEnter
2752
#endif
2753
#ifdef ROM_PRCMSRAMRetentionEnable
2754
#define MAP_PRCMSRAMRetentionEnable \
2755
ROM_PRCMSRAMRetentionEnable
2756
#else
2757
#define MAP_PRCMSRAMRetentionEnable \
2758
PRCMSRAMRetentionEnable
2759
#endif
2760
#ifdef ROM_PRCMSRAMRetentionDisable
2761
#define MAP_PRCMSRAMRetentionDisable \
2762
ROM_PRCMSRAMRetentionDisable
2763
#else
2764
#define MAP_PRCMSRAMRetentionDisable \
2765
PRCMSRAMRetentionDisable
2766
#endif
2767
#ifdef ROM_PRCMLPDSEnter
2768
#define MAP_PRCMLPDSEnter \
2769
ROM_PRCMLPDSEnter
2770
#else
2771
#define MAP_PRCMLPDSEnter \
2772
PRCMLPDSEnter
2773
#endif
2774
#ifdef ROM_PRCMLPDSIntervalSet
2775
#define MAP_PRCMLPDSIntervalSet \
2776
ROM_PRCMLPDSIntervalSet
2777
#else
2778
#define MAP_PRCMLPDSIntervalSet \
2779
PRCMLPDSIntervalSet
2780
#endif
2781
#ifdef ROM_PRCMLPDSWakeupSourceEnable
2782
#define MAP_PRCMLPDSWakeupSourceEnable \
2783
ROM_PRCMLPDSWakeupSourceEnable
2784
#else
2785
#define MAP_PRCMLPDSWakeupSourceEnable \
2786
PRCMLPDSWakeupSourceEnable
2787
#endif
2788
#ifdef ROM_PRCMLPDSWakeupCauseGet
2789
#define MAP_PRCMLPDSWakeupCauseGet \
2790
ROM_PRCMLPDSWakeupCauseGet
2791
#else
2792
#define MAP_PRCMLPDSWakeupCauseGet \
2793
PRCMLPDSWakeupCauseGet
2794
#endif
2795
#ifdef ROM_PRCMLPDSWakeUpGPIOSelect
2796
#define MAP_PRCMLPDSWakeUpGPIOSelect \
2797
ROM_PRCMLPDSWakeUpGPIOSelect
2798
#else
2799
#define MAP_PRCMLPDSWakeUpGPIOSelect \
2800
PRCMLPDSWakeUpGPIOSelect
2801
#endif
2802
#ifdef ROM_PRCMLPDSWakeupSourceDisable
2803
#define MAP_PRCMLPDSWakeupSourceDisable \
2804
ROM_PRCMLPDSWakeupSourceDisable
2805
#else
2806
#define MAP_PRCMLPDSWakeupSourceDisable \
2807
PRCMLPDSWakeupSourceDisable
2808
#endif
2809
#ifdef ROM_PRCMHibernateEnter
2810
#define MAP_PRCMHibernateEnter \
2811
ROM_PRCMHibernateEnter
2812
#else
2813
#define MAP_PRCMHibernateEnter \
2814
PRCMHibernateEnter
2815
#endif
2816
#ifdef ROM_PRCMHibernateWakeupSourceEnable
2817
#define MAP_PRCMHibernateWakeupSourceEnable \
2818
ROM_PRCMHibernateWakeupSourceEnable
2819
#else
2820
#define MAP_PRCMHibernateWakeupSourceEnable \
2821
PRCMHibernateWakeupSourceEnable
2822
#endif
2823
#ifdef ROM_PRCMHibernateWakeupCauseGet
2824
#define MAP_PRCMHibernateWakeupCauseGet \
2825
ROM_PRCMHibernateWakeupCauseGet
2826
#else
2827
#define MAP_PRCMHibernateWakeupCauseGet \
2828
PRCMHibernateWakeupCauseGet
2829
#endif
2830
#ifdef ROM_PRCMHibernateWakeUpGPIOSelect
2831
#define MAP_PRCMHibernateWakeUpGPIOSelect \
2832
ROM_PRCMHibernateWakeUpGPIOSelect
2833
#else
2834
#define MAP_PRCMHibernateWakeUpGPIOSelect \
2835
PRCMHibernateWakeUpGPIOSelect
2836
#endif
2837
#ifdef ROM_PRCMHibernateWakeupSourceDisable
2838
#define MAP_PRCMHibernateWakeupSourceDisable \
2839
ROM_PRCMHibernateWakeupSourceDisable
2840
#else
2841
#define MAP_PRCMHibernateWakeupSourceDisable \
2842
PRCMHibernateWakeupSourceDisable
2843
#endif
2844
#ifdef ROM_PRCMHibernateIntervalSet
2845
#define MAP_PRCMHibernateIntervalSet \
2846
ROM_PRCMHibernateIntervalSet
2847
#else
2848
#define MAP_PRCMHibernateIntervalSet \
2849
PRCMHibernateIntervalSet
2850
#endif
2851
#ifdef ROM_PRCMSlowClkCtrGet
2852
#define MAP_PRCMSlowClkCtrGet \
2853
ROM_PRCMSlowClkCtrGet
2854
#else
2855
#define MAP_PRCMSlowClkCtrGet \
2856
PRCMSlowClkCtrGet
2857
#endif
2858
#ifdef ROM_PRCMSlowClkCtrMatchSet
2859
#define MAP_PRCMSlowClkCtrMatchSet \
2860
ROM_PRCMSlowClkCtrMatchSet
2861
#else
2862
#define MAP_PRCMSlowClkCtrMatchSet \
2863
PRCMSlowClkCtrMatchSet
2864
#endif
2865
#ifdef ROM_PRCMSlowClkCtrMatchGet
2866
#define MAP_PRCMSlowClkCtrMatchGet \
2867
ROM_PRCMSlowClkCtrMatchGet
2868
#else
2869
#define MAP_PRCMSlowClkCtrMatchGet \
2870
PRCMSlowClkCtrMatchGet
2871
#endif
2872
#ifdef ROM_PRCMOCRRegisterWrite
2873
#define MAP_PRCMOCRRegisterWrite \
2874
ROM_PRCMOCRRegisterWrite
2875
#else
2876
#define MAP_PRCMOCRRegisterWrite \
2877
PRCMOCRRegisterWrite
2878
#endif
2879
#ifdef ROM_PRCMOCRRegisterRead
2880
#define MAP_PRCMOCRRegisterRead \
2881
ROM_PRCMOCRRegisterRead
2882
#else
2883
#define MAP_PRCMOCRRegisterRead \
2884
PRCMOCRRegisterRead
2885
#endif
2886
#ifdef ROM_PRCMIntRegister
2887
#define MAP_PRCMIntRegister \
2888
ROM_PRCMIntRegister
2889
#else
2890
#define MAP_PRCMIntRegister \
2891
PRCMIntRegister
2892
#endif
2893
#ifdef ROM_PRCMIntUnregister
2894
#define MAP_PRCMIntUnregister \
2895
ROM_PRCMIntUnregister
2896
#else
2897
#define MAP_PRCMIntUnregister \
2898
PRCMIntUnregister
2899
#endif
2900
#ifdef ROM_PRCMIntEnable
2901
#define MAP_PRCMIntEnable \
2902
ROM_PRCMIntEnable
2903
#else
2904
#define MAP_PRCMIntEnable \
2905
PRCMIntEnable
2906
#endif
2907
#ifdef ROM_PRCMIntDisable
2908
#define MAP_PRCMIntDisable \
2909
ROM_PRCMIntDisable
2910
#else
2911
#define MAP_PRCMIntDisable \
2912
PRCMIntDisable
2913
#endif
2914
#ifdef ROM_PRCMIntStatus
2915
#define MAP_PRCMIntStatus \
2916
ROM_PRCMIntStatus
2917
#else
2918
#define MAP_PRCMIntStatus \
2919
PRCMIntStatus
2920
#endif
2921
#ifdef ROM_PRCMRTCInUseSet
2922
#define MAP_PRCMRTCInUseSet \
2923
ROM_PRCMRTCInUseSet
2924
#else
2925
#define MAP_PRCMRTCInUseSet \
2926
PRCMRTCInUseSet
2927
#endif
2928
#ifdef ROM_PRCMRTCInUseGet
2929
#define MAP_PRCMRTCInUseGet \
2930
ROM_PRCMRTCInUseGet
2931
#else
2932
#define MAP_PRCMRTCInUseGet \
2933
PRCMRTCInUseGet
2934
#endif
2935
#ifdef ROM_PRCMRTCSet
2936
#define MAP_PRCMRTCSet \
2937
ROM_PRCMRTCSet
2938
#else
2939
#define MAP_PRCMRTCSet \
2940
PRCMRTCSet
2941
#endif
2942
#ifdef ROM_PRCMRTCGet
2943
#define MAP_PRCMRTCGet \
2944
ROM_PRCMRTCGet
2945
#else
2946
#define MAP_PRCMRTCGet \
2947
PRCMRTCGet
2948
#endif
2949
#ifdef ROM_PRCMRTCMatchSet
2950
#define MAP_PRCMRTCMatchSet \
2951
ROM_PRCMRTCMatchSet
2952
#else
2953
#define MAP_PRCMRTCMatchSet \
2954
PRCMRTCMatchSet
2955
#endif
2956
#ifdef ROM_PRCMRTCMatchGet
2957
#define MAP_PRCMRTCMatchGet \
2958
ROM_PRCMRTCMatchGet
2959
#else
2960
#define MAP_PRCMRTCMatchGet \
2961
PRCMRTCMatchGet
2962
#endif
2963
#ifdef ROM_PRCMLPDSRestoreInfoSet
2964
#define MAP_PRCMLPDSRestoreInfoSet \
2965
ROM_PRCMLPDSRestoreInfoSet
2966
#else
2967
#define MAP_PRCMLPDSRestoreInfoSet \
2968
PRCMLPDSRestoreInfoSet
2969
#endif
2970
2971
#ifdef ROM_PRCMHIBRegRead
2972
#define MAP_PRCMHIBRegRead \
2973
ROM_PRCMHIBRegRead
2974
#else
2975
#define MAP_PRCMHIBRegRead \
2976
PRCMHIBRegRead
2977
#endif
2978
2979
#ifdef ROM_PRCMHIBRegWrite
2980
#define MAP_PRCMHIBRegWrite \
2981
ROM_PRCMHIBRegWrite
2982
#else
2983
#define MAP_PRCMHIBRegWrite \
2984
PRCMHIBRegWrite
2985
#endif
2986
2987
//*****************************************************************************
2988
//
2989
// Macros for the HWSPINLOCK API.
2990
//
2991
//*****************************************************************************
2992
#ifdef ROM_HwSpinLockAcquire
2993
#define MAP_HwSpinLockAcquire \
2994
ROM_HwSpinLockAcquire
2995
#else
2996
#define MAP_HwSpinLockAcquire \
2997
HwSpinLockAcquire
2998
#endif
2999
#ifdef ROM_HwSpinLockTryAcquire
3000
#define MAP_HwSpinLockTryAcquire \
3001
ROM_HwSpinLockTryAcquire
3002
#else
3003
#define MAP_HwSpinLockTryAcquire \
3004
HwSpinLockTryAcquire
3005
#endif
3006
#ifdef ROM_HwSpinLockRelease
3007
#define MAP_HwSpinLockRelease \
3008
ROM_HwSpinLockRelease
3009
#else
3010
#define MAP_HwSpinLockRelease \
3011
HwSpinLockRelease
3012
#endif
3013
#ifdef ROM_HwSpinLockTest
3014
#define MAP_HwSpinLockTest \
3015
ROM_HwSpinLockTest
3016
#else
3017
#define MAP_HwSpinLockTest \
3018
HwSpinLockTest
3019
#endif
3020
3021
//*****************************************************************************
3022
//
3023
// Macros for the ADC API.
3024
//
3025
//*****************************************************************************
3026
#ifdef ROM_ADCEnable
3027
#define MAP_ADCEnable \
3028
ROM_ADCEnable
3029
#else
3030
#define MAP_ADCEnable \
3031
ADCEnable
3032
#endif
3033
#ifdef ROM_ADCDisable
3034
#define MAP_ADCDisable \
3035
ROM_ADCDisable
3036
#else
3037
#define MAP_ADCDisable \
3038
ADCDisable
3039
#endif
3040
#ifdef ROM_ADCChannelEnable
3041
#define MAP_ADCChannelEnable \
3042
ROM_ADCChannelEnable
3043
#else
3044
#define MAP_ADCChannelEnable \
3045
ADCChannelEnable
3046
#endif
3047
#ifdef ROM_ADCChannelDisable
3048
#define MAP_ADCChannelDisable \
3049
ROM_ADCChannelDisable
3050
#else
3051
#define MAP_ADCChannelDisable \
3052
ADCChannelDisable
3053
#endif
3054
#ifdef ROM_ADCIntRegister
3055
#define MAP_ADCIntRegister \
3056
ROM_ADCIntRegister
3057
#else
3058
#define MAP_ADCIntRegister \
3059
ADCIntRegister
3060
#endif
3061
#ifdef ROM_ADCIntUnregister
3062
#define MAP_ADCIntUnregister \
3063
ROM_ADCIntUnregister
3064
#else
3065
#define MAP_ADCIntUnregister \
3066
ADCIntUnregister
3067
#endif
3068
#ifdef ROM_ADCIntEnable
3069
#define MAP_ADCIntEnable \
3070
ROM_ADCIntEnable
3071
#else
3072
#define MAP_ADCIntEnable \
3073
ADCIntEnable
3074
#endif
3075
#ifdef ROM_ADCIntDisable
3076
#define MAP_ADCIntDisable \
3077
ROM_ADCIntDisable
3078
#else
3079
#define MAP_ADCIntDisable \
3080
ADCIntDisable
3081
#endif
3082
#ifdef ROM_ADCIntStatus
3083
#define MAP_ADCIntStatus \
3084
ROM_ADCIntStatus
3085
#else
3086
#define MAP_ADCIntStatus \
3087
ADCIntStatus
3088
#endif
3089
#ifdef ROM_ADCIntClear
3090
#define MAP_ADCIntClear \
3091
ROM_ADCIntClear
3092
#else
3093
#define MAP_ADCIntClear \
3094
ADCIntClear
3095
#endif
3096
#ifdef ROM_ADCDMAEnable
3097
#define MAP_ADCDMAEnable \
3098
ROM_ADCDMAEnable
3099
#else
3100
#define MAP_ADCDMAEnable \
3101
ADCDMAEnable
3102
#endif
3103
#ifdef ROM_ADCDMADisable
3104
#define MAP_ADCDMADisable \
3105
ROM_ADCDMADisable
3106
#else
3107
#define MAP_ADCDMADisable \
3108
ADCDMADisable
3109
#endif
3110
#ifdef ROM_ADCChannelGainSet
3111
#define MAP_ADCChannelGainSet \
3112
ROM_ADCChannelGainSet
3113
#else
3114
#define MAP_ADCChannelGainSet \
3115
ADCChannelGainSet
3116
#endif
3117
#ifdef ROM_ADCChannleGainGet
3118
#define MAP_ADCChannleGainGet \
3119
ROM_ADCChannleGainGet
3120
#else
3121
#define MAP_ADCChannleGainGet \
3122
ADCChannleGainGet
3123
#endif
3124
#ifdef ROM_ADCTimerConfig
3125
#define MAP_ADCTimerConfig \
3126
ROM_ADCTimerConfig
3127
#else
3128
#define MAP_ADCTimerConfig \
3129
ADCTimerConfig
3130
#endif
3131
#ifdef ROM_ADCTimerEnable
3132
#define MAP_ADCTimerEnable \
3133
ROM_ADCTimerEnable
3134
#else
3135
#define MAP_ADCTimerEnable \
3136
ADCTimerEnable
3137
#endif
3138
#ifdef ROM_ADCTimerDisable
3139
#define MAP_ADCTimerDisable \
3140
ROM_ADCTimerDisable
3141
#else
3142
#define MAP_ADCTimerDisable \
3143
ADCTimerDisable
3144
#endif
3145
#ifdef ROM_ADCTimerReset
3146
#define MAP_ADCTimerReset \
3147
ROM_ADCTimerReset
3148
#else
3149
#define MAP_ADCTimerReset \
3150
ADCTimerReset
3151
#endif
3152
#ifdef ROM_ADCTimerValueGet
3153
#define MAP_ADCTimerValueGet \
3154
ROM_ADCTimerValueGet
3155
#else
3156
#define MAP_ADCTimerValueGet \
3157
ADCTimerValueGet
3158
#endif
3159
#ifdef ROM_ADCFIFOLvlGet
3160
#define MAP_ADCFIFOLvlGet \
3161
ROM_ADCFIFOLvlGet
3162
#else
3163
#define MAP_ADCFIFOLvlGet \
3164
ADCFIFOLvlGet
3165
#endif
3166
#ifdef ROM_ADCFIFORead
3167
#define MAP_ADCFIFORead \
3168
ROM_ADCFIFORead
3169
#else
3170
#define MAP_ADCFIFORead \
3171
ADCFIFORead
3172
#endif
3173
3174
#endif // __ROM_MAP_H__
driverlib
rom_map.h
Generated on Thu Feb 18 2016 13:22:25 for CC3200 Peripheral Driver Library User's Guide by
1.8.11