50 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 326 #define __CM7_REV 0x0000 327 #define __MPU_PRESENT 1 328 #define __NVIC_PRIO_BITS 3 329 #define __FPU_PRESENT 1 331 #define __ICACHE_PRESENT 1 332 #define __DCACHE_PRESENT 1 333 #define __DTCM_PRESENT 1 334 #define __ITCM_PRESENT 1 335 #define __Vendor_SysTickConfig 0 336 #define __SAM_M7_REVB 0 343 #if !defined DONT_USE_CMSIS_INIT 467 #define ID_UART0 ( 7) 468 #define ID_UART1 ( 8) 473 #define ID_USART0 (13) 474 #define ID_USART1 (14) 475 #define ID_USART2 (15) 478 #define ID_HSMCI (18) 479 #define ID_TWIHS0 (19) 480 #define ID_TWIHS1 (20) 489 #define ID_AFEC0 (29) 494 #define ID_USBHS (34) 495 #define ID_MCAN0 (35) 496 #define ID_MCAN1 (37) 498 #define ID_AFEC1 (40) 499 #define ID_TWIHS2 (41) 502 #define ID_UART2 (44) 503 #define ID_UART3 (45) 504 #define ID_UART4 (46) 513 #define ID_XDMAC (58) 516 #define ID_SDRAMC (62) 517 #define ID_RSWDT (63) 520 #define ID_PERIPH_COUNT (74) 529 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 530 #define HSMCI (0x40000000U) 531 #define SSC (0x40004000U) 532 #define SPI0 (0x40008000U) 533 #define TC0 (0x4000C000U) 534 #define TC1 (0x40010000U) 535 #define TC2 (0x40014000U) 536 #define TWIHS0 (0x40018000U) 537 #define TWIHS1 (0x4001C000U) 538 #define PWM0 (0x40020000U) 539 #define USART0 (0x40024000U) 540 #define USART1 (0x40028000U) 541 #define USART2 (0x4002C000U) 542 #define MCAN0 (0x40030000U) 543 #define MCAN1 (0x40034000U) 544 #define USBHS (0x40038000U) 545 #define AFEC0 (0x4003C000U) 546 #define DACC (0x40040000U) 547 #define ACC (0x40044000U) 548 #define ICM (0x40048000U) 549 #define ISI (0x4004C000U) 550 #define GMAC (0x40050000U) 551 #define TC3 (0x40054000U) 552 #define SPI1 (0x40058000U) 553 #define PWM1 (0x4005C000U) 554 #define TWIHS2 (0x40060000U) 555 #define AFEC1 (0x40064000U) 556 #define AES (0x4006C000U) 557 #define TRNG (0x40070000U) 558 #define XDMAC (0x40078000U) 559 #define QSPI (0x4007C000U) 560 #define SMC (0x40080000U) 561 #define SDRAMC (0x40084000U) 562 #define MATRIX (0x40088000U) 563 #define UTMI (0x400E0400U) 564 #define PMC (0x400E0600U) 565 #define UART0 (0x400E0800U) 566 #define CHIPID (0x400E0940U) 567 #define UART1 (0x400E0A00U) 568 #define EFC (0x400E0C00U) 569 #define PIOA (0x400E0E00U) 570 #define PIOB (0x400E1000U) 571 #define PIOC (0x400E1200U) 572 #define PIOD (0x400E1400U) 573 #define PIOE (0x400E1600U) 574 #define RSTC (0x400E1800U) 575 #define SUPC (0x400E1810U) 576 #define RTT (0x400E1830U) 577 #define WDT (0x400E1850U) 578 #define RTC (0x400E1860U) 579 #define GPBR (0x400E1890U) 580 #define RSWDT (0x400E1900U) 581 #define UART2 (0x400E1A00U) 582 #define UART3 (0x400E1C00U) 583 #define UART4 (0x400E1E00U) 585 #define HSMCI ((Hsmci *)0x40000000U) 586 #define SSC ((Ssc *)0x40004000U) 587 #define SPI0 ((Spi *)0x40008000U) 588 #define TC0 ((Tc *)0x4000C000U) 589 #define TC1 ((Tc *)0x40010000U) 590 #define TC2 ((Tc *)0x40014000U) 591 #define TWIHS0 ((Twihs *)0x40018000U) 592 #define TWIHS1 ((Twihs *)0x4001C000U) 593 #define PWM0 ((Pwm *)0x40020000U) 594 #define USART0 ((Usart *)0x40024000U) 595 #define USART1 ((Usart *)0x40028000U) 596 #define USART2 ((Usart *)0x4002C000U) 597 #define MCAN0 ((Mcan *)0x40030000U) 598 #define MCAN1 ((Mcan *)0x40034000U) 599 #define USBHS ((Usbhs *)0x40038000U) 600 #define AFEC0 ((Afec *)0x4003C000U) 601 #define DACC ((Dacc *)0x40040000U) 602 #define ACC ((Acc *)0x40044000U) 603 #define ICM ((Icm *)0x40048000U) 604 #define ISI ((Isi *)0x4004C000U) 605 #define GMAC ((Gmac *)0x40050000U) 606 #define TC3 ((Tc *)0x40054000U) 607 #define SPI1 ((Spi *)0x40058000U) 608 #define PWM1 ((Pwm *)0x4005C000U) 609 #define TWIHS2 ((Twihs *)0x40060000U) 610 #define AFEC1 ((Afec *)0x40064000U) 611 #define AES ((Aes *)0x4006C000U) 612 #define TRNG ((Trng *)0x40070000U) 613 #define XDMAC ((Xdmac *)0x40078000U) 614 #define QSPI ((Qspi *)0x4007C000U) 615 #define SMC ((Smc *)0x40080000U) 616 #define SDRAMC ((Sdramc *)0x40084000U) 617 #define MATRIX ((Matrix *)0x40088000U) 618 #define UTMI ((Utmi *)0x400E0400U) 619 #define PMC ((Pmc *)0x400E0600U) 620 #define UART0 ((Uart *)0x400E0800U) 621 #define CHIPID ((Chipid *)0x400E0940U) 622 #define UART1 ((Uart *)0x400E0A00U) 623 #define EFC ((Efc *)0x400E0C00U) 624 #define PIOA ((Pio *)0x400E0E00U) 625 #define PIOB ((Pio *)0x400E1000U) 626 #define PIOC ((Pio *)0x400E1200U) 627 #define PIOD ((Pio *)0x400E1400U) 628 #define PIOE ((Pio *)0x400E1600U) 629 #define RSTC ((Rstc *)0x400E1800U) 630 #define SUPC ((Supc *)0x400E1810U) 631 #define RTT ((Rtt *)0x400E1830U) 632 #define WDT ((Wdt *)0x400E1850U) 633 #define RTC ((Rtc *)0x400E1860U) 634 #define GPBR ((Gpbr *)0x400E1890U) 635 #define RSWDT ((Rswdt *)0x400E1900U) 636 #define UART2 ((Uart *)0x400E1A00U) 637 #define UART3 ((Uart *)0x400E1C00U) 638 #define UART4 ((Uart *)0x400E1E00U) 655 #define IFLASH_SIZE (0x80000u) 656 #define IFLASH_PAGE_SIZE (512u) 657 #define IFLASH_LOCK_REGION_SIZE (8192u) 658 #define IFLASH_NB_OF_PAGES (1024u) 659 #define IFLASH_NB_OF_LOCK_BITS (32u) 660 #define IRAM_SIZE (0x40000u) 662 #define QSPIMEM_ADDR (0x80000000u) 663 #define AXIMX_ADDR (0xA0000000u) 664 #define ITCM_ADDR (0x00000000u) 665 #define IFLASH_ADDR (0x00400000u) 666 #define IROM_ADDR (0x00800000u) 667 #define DTCM_ADDR (0x20000000u) 668 #define IRAM_ADDR (0x20400000u) 669 #define EBI_CS0_ADDR (0x60000000u) 670 #define EBI_CS1_ADDR (0x61000000u) 671 #define EBI_CS2_ADDR (0x62000000u) 672 #define EBI_CS3_ADDR (0x63000000u) 673 #define SDRAM_CS_ADDR (0x70000000u) 679 #define CHIP_JTAGID (0x05B3D03FUL) 680 #define CHIP_CIDR (0xA10D0A00UL) 681 #define CHIP_EXID (0x00000002UL) 690 #define CHIP_FREQ_SLCK_RC_MIN (20000UL) 691 #define CHIP_FREQ_SLCK_RC (32000UL) 692 #define CHIP_FREQ_SLCK_RC_MAX (44000UL) 693 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL) 694 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL) 695 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL) 696 #define CHIP_FREQ_CPU_MAX (300000000UL) 697 #define CHIP_FREQ_XTAL_32K (32768UL) 698 #define CHIP_FREQ_XTAL_12M (12000000UL) 701 #define CHIP_FREQ_FWS_0 (23000000UL) 702 #define CHIP_FREQ_FWS_1 (46000000UL) 703 #define CHIP_FREQ_FWS_2 (69000000UL) 704 #define CHIP_FREQ_FWS_3 (92000000UL) 705 #define CHIP_FREQ_FWS_4 (115000000UL) 706 #define CHIP_FREQ_FWS_5 (138000000UL) 707 #define CHIP_FREQ_FWS_6 (150000000UL)
void BusFault_Handler(void)
void * pfnBusFault_Handler
void HardFault_Handler(void)
void * pfnHardFault_Handler
void * pfnMCAN1_INT0_Handler
void TWIHS0_Handler(void)
void MCAN0_INT1_Handler(void)
void UsageFault_Handler(void)
void USART0_Handler(void)
void PendSV_Handler(void)
void * pfnMemManage_Handler
void * pfnDebugMon_Handler
void TWIHS1_Handler(void)
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
void MCAN1_INT0_Handler(void)
void * pfnSysTick_Handler
void * pfnReserved2_Handler
void GMAC_Q1_Handler(void)
void * pfnReserved4_Handler
void TWIHS2_Handler(void)
void MCAN1_INT1_Handler(void)
void USART2_Handler(void)
void * pfnMCAN1_INT1_Handler
void MemManage_Handler(void)
struct _DeviceVectors DeviceVectors
void * pfnGMAC_Q1_Handler
void * pfnUsageFault_Handler
void SysTick_Handler(void)
void MCAN0_INT0_Handler(void)
void DebugMon_Handler(void)
void * pfnGMAC_Q2_Handler
void * pfnMCAN0_INT0_Handler
void GMAC_Q2_Handler(void)
void * pfnMCAN0_INT1_Handler
void * pfnReserved3_Handler
void * pfnReserved5_Handler
void * pfnReserved1_Handler
void USART1_Handler(void)
void SDRAMC_Handler(void)
void Reset_Handler(void)
This is the code that gets called on processor reset. To initialize the device, and call the main() r...