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