51 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 337 #define __CM7_REV 0x0000 338 #define __MPU_PRESENT 1 339 #define __NVIC_PRIO_BITS 3 340 #define __FPU_PRESENT 1 342 #define __ICACHE_PRESENT 1 343 #define __DCACHE_PRESENT 1 344 #define __DTCM_PRESENT 1 345 #define __ITCM_PRESENT 1 346 #define __Vendor_SysTickConfig 0 347 #define __SAM_M7_REVB 1 355 #if !defined DONT_USE_CMSIS_INIT 482 #define ID_UART0 ( 7) 483 #define ID_UART1 ( 8) 488 #define ID_USART0 (13) 489 #define ID_USART1 (14) 490 #define ID_USART2 (15) 493 #define ID_HSMCI (18) 494 #define ID_TWIHS0 (19) 495 #define ID_TWIHS1 (20) 504 #define ID_AFEC0 (29) 509 #define ID_USBHS (34) 510 #define ID_MCAN0 (35) 511 #define ID_MCAN1 (37) 513 #define ID_AFEC1 (40) 514 #define ID_TWIHS2 (41) 517 #define ID_UART2 (44) 518 #define ID_UART3 (45) 519 #define ID_UART4 (46) 528 #define ID_XDMAC (58) 531 #define ID_SDRAMC (62) 532 #define ID_RSWDT (63) 534 #define ID_I2SC0 (69) 535 #define ID_I2SC1 (70) 537 #define ID_PERIPH_COUNT (74) 546 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 547 #define HSMCI (0x40000000U) 548 #define SSC (0x40004000U) 549 #define SPI0 (0x40008000U) 550 #define TC0 (0x4000C000U) 551 #define TC1 (0x40010000U) 552 #define TC2 (0x40014000U) 553 #define TWIHS0 (0x40018000U) 554 #define TWIHS1 (0x4001C000U) 555 #define PWM0 (0x40020000U) 556 #define USART0 (0x40024000U) 557 #define USART1 (0x40028000U) 558 #define USART2 (0x4002C000U) 559 #define MCAN0 (0x40030000U) 560 #define MCAN1 (0x40034000U) 561 #define USBHS (0x40038000U) 562 #define AFEC0 (0x4003C000U) 563 #define DACC (0x40040000U) 564 #define ACC (0x40044000U) 565 #define ICM (0x40048000U) 566 #define ISI (0x4004C000U) 567 #define GMAC (0x40050000U) 568 #define TC3 (0x40054000U) 569 #define SPI1 (0x40058000U) 570 #define PWM1 (0x4005C000U) 571 #define TWIHS2 (0x40060000U) 572 #define AFEC1 (0x40064000U) 573 #define AES (0x4006C000U) 574 #define TRNG (0x40070000U) 575 #define XDMAC (0x40078000U) 576 #define QSPI (0x4007C000U) 577 #define SMC (0x40080000U) 578 #define SDRAMC (0x40084000U) 579 #define MATRIX (0x40088000U) 580 #define I2SC0 (0x4008C000U) 581 #define I2SC1 (0x40090000U) 582 #define UTMI (0x400E0400U) 583 #define PMC (0x400E0600U) 584 #define UART0 (0x400E0800U) 585 #define CHIPID (0x400E0940U) 586 #define UART1 (0x400E0A00U) 587 #define EFC (0x400E0C00U) 588 #define PIOA (0x400E0E00U) 589 #define PIOB (0x400E1000U) 590 #define PIOC (0x400E1200U) 591 #define PIOD (0x400E1400U) 592 #define PIOE (0x400E1600U) 593 #define RSTC (0x400E1800U) 594 #define SUPC (0x400E1810U) 595 #define RTT (0x400E1830U) 596 #define WDT (0x400E1850U) 597 #define RTC (0x400E1860U) 598 #define GPBR (0x400E1890U) 599 #define RSWDT (0x400E1900U) 600 #define UART2 (0x400E1A00U) 601 #define UART3 (0x400E1C00U) 602 #define UART4 (0x400E1E00U) 604 #define HSMCI ((Hsmci *)0x40000000U) 605 #define SSC ((Ssc *)0x40004000U) 606 #define SPI0 ((Spi *)0x40008000U) 607 #define TC0 ((Tc *)0x4000C000U) 608 #define TC1 ((Tc *)0x40010000U) 609 #define TC2 ((Tc *)0x40014000U) 610 #define TWIHS0 ((Twihs *)0x40018000U) 611 #define TWIHS1 ((Twihs *)0x4001C000U) 612 #define PWM0 ((Pwm *)0x40020000U) 613 #define USART0 ((Usart *)0x40024000U) 614 #define USART1 ((Usart *)0x40028000U) 615 #define USART2 ((Usart *)0x4002C000U) 616 #define MCAN0 ((Mcan *)0x40030000U) 617 #define MCAN1 ((Mcan *)0x40034000U) 618 #define USBHS ((Usbhs *)0x40038000U) 619 #define AFEC0 ((Afec *)0x4003C000U) 620 #define DACC ((Dacc *)0x40040000U) 621 #define ACC ((Acc *)0x40044000U) 622 #define ICM ((Icm *)0x40048000U) 623 #define ISI ((Isi *)0x4004C000U) 624 #define GMAC ((Gmac *)0x40050000U) 625 #define TC3 ((Tc *)0x40054000U) 626 #define SPI1 ((Spi *)0x40058000U) 627 #define PWM1 ((Pwm *)0x4005C000U) 628 #define TWIHS2 ((Twihs *)0x40060000U) 629 #define AFEC1 ((Afec *)0x40064000U) 630 #define AES ((Aes *)0x4006C000U) 631 #define TRNG ((Trng *)0x40070000U) 632 #define XDMAC ((Xdmac *)0x40078000U) 633 #define QSPI ((Qspi *)0x4007C000U) 634 #define SMC ((Smc *)0x40080000U) 635 #define SDRAMC ((Sdramc *)0x40084000U) 636 #define MATRIX ((Matrix *)0x40088000U) 637 #define I2SC0 ((I2sc *)0x4008C000U) 638 #define I2SC1 ((I2sc *)0x40090000U) 639 #define UTMI ((Utmi *)0x400E0400U) 640 #define PMC ((Pmc *)0x400E0600U) 641 #define UART0 ((Uart *)0x400E0800U) 642 #define CHIPID ((Chipid *)0x400E0940U) 643 #define UART1 ((Uart *)0x400E0A00U) 644 #define EFC ((Efc *)0x400E0C00U) 645 #define PIOA ((Pio *)0x400E0E00U) 646 #define PIOB ((Pio *)0x400E1000U) 647 #define PIOC ((Pio *)0x400E1200U) 648 #define PIOD ((Pio *)0x400E1400U) 649 #define PIOE ((Pio *)0x400E1600U) 650 #define RSTC ((Rstc *)0x400E1800U) 651 #define SUPC ((Supc *)0x400E1810U) 652 #define RTT ((Rtt *)0x400E1830U) 653 #define WDT ((Wdt *)0x400E1850U) 654 #define RTC ((Rtc *)0x400E1860U) 655 #define GPBR ((Gpbr *)0x400E1890U) 656 #define RSWDT ((Rswdt *)0x400E1900U) 657 #define UART2 ((Uart *)0x400E1A00U) 658 #define UART3 ((Uart *)0x400E1C00U) 659 #define UART4 ((Uart *)0x400E1E00U) 676 #define IFLASH_SIZE (0x100000u) 677 #define IFLASH_PAGE_SIZE (512u) 678 #define IFLASH_LOCK_REGION_SIZE (8192u) 679 #define IFLASH_NB_OF_PAGES (2048u) 680 #define IFLASH_NB_OF_LOCK_BITS (64u) 681 #define IRAM_SIZE (0x60000u) 683 #define QSPIMEM_ADDR (0x80000000u) 684 #define AXIMX_ADDR (0xA0000000u) 685 #define ITCM_ADDR (0x00000000u) 686 #define IFLASH_ADDR (0x00400000u) 687 #define IROM_ADDR (0x00800000u) 688 #define DTCM_ADDR (0x20000000u) 689 #define IRAM_ADDR (0x20400000u) 690 #define EBI_CS0_ADDR (0x60000000u) 691 #define EBI_CS1_ADDR (0x61000000u) 692 #define EBI_CS2_ADDR (0x62000000u) 693 #define EBI_CS3_ADDR (0x63000000u) 694 #define SDRAM_CS_ADDR (0x70000000u) 700 #define CHIP_JTAGID (0x05B3D03FUL) 701 #define CHIP_CIDR (0xA1020C01UL) 702 #define CHIP_EXID (0x00000002UL) 711 #define CHIP_FREQ_SLCK_RC_MIN (20000UL) 712 #define CHIP_FREQ_SLCK_RC (32000UL) 713 #define CHIP_FREQ_SLCK_RC_MAX (44000UL) 714 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL) 715 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL) 716 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL) 717 #define CHIP_FREQ_CPU_MAX (300000000UL) 718 #define CHIP_FREQ_XTAL_32K (32768UL) 719 #define CHIP_FREQ_XTAL_12M (12000000UL) 722 #define CHIP_FREQ_FWS_0 (23000000UL) 723 #define CHIP_FREQ_FWS_1 (46000000UL) 724 #define CHIP_FREQ_FWS_2 (69000000UL) 725 #define CHIP_FREQ_FWS_3 (92000000UL) 726 #define CHIP_FREQ_FWS_4 (115000000UL) 727 #define CHIP_FREQ_FWS_5 (138000000UL) 728 #define CHIP_FREQ_FWS_6 (150000000UL)
void USART1_Handler(void)
void UsageFault_Handler(void)
void GMAC_Q5_Handler(void)
void * pfnBusFault_Handler
void * pfnGMAC_Q5_Handler
void MemManage_Handler(void)
void PendSV_Handler(void)
void * pfnHardFault_Handler
void * pfnMCAN1_INT0_Handler
void * pfnGMAC_Q3_Handler
void MCAN1_INT1_Handler(void)
void DebugMon_Handler(void)
void TWIHS2_Handler(void)
void USART0_Handler(void)
void * pfnMemManage_Handler
void TWIHS0_Handler(void)
void * pfnDebugMon_Handler
void * pfnGMAC_Q4_Handler
void SysTick_Handler(void)
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
void MCAN0_INT1_Handler(void)
void * pfnSysTick_Handler
void * pfnReserved2_Handler
void SDRAMC_Handler(void)
void * pfnReserved4_Handler
void BusFault_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...
void * pfnMCAN1_INT1_Handler
void TWIHS1_Handler(void)
void * pfnGMAC_Q1_Handler
void * pfnUsageFault_Handler
void GMAC_Q4_Handler(void)
void MCAN0_INT0_Handler(void)
void USART2_Handler(void)
void GMAC_Q3_Handler(void)
void GMAC_Q1_Handler(void)
struct _DeviceVectors DeviceVectors
void GMAC_Q2_Handler(void)
void * pfnGMAC_Q2_Handler
void * pfnMCAN0_INT0_Handler
void * pfnMCAN0_INT1_Handler
void * pfnReserved3_Handler
void * pfnReserved5_Handler
void HardFault_Handler(void)
void * pfnReserved1_Handler
void MCAN1_INT0_Handler(void)