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