51 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 315 #define __CM7_REV 0x0000 316 #define __MPU_PRESENT 1 317 #define __NVIC_PRIO_BITS 3 318 #define __FPU_PRESENT 1 320 #define __ICACHE_PRESENT 1 321 #define __DCACHE_PRESENT 1 322 #define __DTCM_PRESENT 1 323 #define __ITCM_PRESENT 1 324 #define __Vendor_SysTickConfig 0 325 #define __SAM_M7_REVB 1 332 #if !defined DONT_USE_CMSIS_INIT 449 #define ID_UART0 ( 7) 450 #define ID_UART1 ( 8) 453 #define ID_USART0 (13) 454 #define ID_USART1 (14) 455 #define ID_USART2 (15) 457 #define ID_HSMCI (18) 458 #define ID_TWIHS0 (19) 459 #define ID_TWIHS1 (20) 465 #define ID_AFEC0 (29) 470 #define ID_USBHS (34) 471 #define ID_MCAN0 (35) 472 #define ID_MCAN1 (37) 474 #define ID_AFEC1 (40) 475 #define ID_TWIHS2 (41) 477 #define ID_UART2 (44) 478 #define ID_UART3 (45) 479 #define ID_UART4 (46) 485 #define ID_XDMAC (58) 488 #define ID_RSWDT (63) 490 #define ID_I2SC0 (69) 492 #define ID_PERIPH_COUNT (74) 501 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) 502 #define HSMCI (0x40000000U) 503 #define SSC (0x40004000U) 504 #define SPI0 (0x40008000U) 505 #define TC0 (0x4000C000U) 506 #define TWIHS0 (0x40018000U) 507 #define TWIHS1 (0x4001C000U) 508 #define PWM0 (0x40020000U) 509 #define USART0 (0x40024000U) 510 #define USART1 (0x40028000U) 511 #define USART2 (0x4002C000U) 512 #define MCAN0 (0x40030000U) 513 #define MCAN1 (0x40034000U) 514 #define USBHS (0x40038000U) 515 #define AFEC0 (0x4003C000U) 516 #define DACC (0x40040000U) 517 #define ACC (0x40044000U) 518 #define ICM (0x40048000U) 519 #define ISI (0x4004C000U) 520 #define GMAC (0x40050000U) 521 #define TC3 (0x40054000U) 522 #define PWM1 (0x4005C000U) 523 #define TWIHS2 (0x40060000U) 524 #define AFEC1 (0x40064000U) 525 #define AES (0x4006C000U) 526 #define TRNG (0x40070000U) 527 #define XDMAC (0x40078000U) 528 #define QSPI (0x4007C000U) 529 #define MATRIX (0x40088000U) 530 #define I2SC0 (0x4008C000U) 531 #define UTMI (0x400E0400U) 532 #define PMC (0x400E0600U) 533 #define UART0 (0x400E0800U) 534 #define CHIPID (0x400E0940U) 535 #define UART1 (0x400E0A00U) 536 #define EFC (0x400E0C00U) 537 #define PIOA (0x400E0E00U) 538 #define PIOB (0x400E1000U) 539 #define PIOD (0x400E1400U) 540 #define RSTC (0x400E1800U) 541 #define SUPC (0x400E1810U) 542 #define RTT (0x400E1830U) 543 #define WDT (0x400E1850U) 544 #define RTC (0x400E1860U) 545 #define GPBR (0x400E1890U) 546 #define RSWDT (0x400E1900U) 547 #define UART2 (0x400E1A00U) 548 #define UART3 (0x400E1C00U) 549 #define UART4 (0x400E1E00U) 551 #define HSMCI ((Hsmci *)0x40000000U) 552 #define SSC ((Ssc *)0x40004000U) 553 #define SPI0 ((Spi *)0x40008000U) 554 #define TC0 ((Tc *)0x4000C000U) 555 #define TWIHS0 ((Twihs *)0x40018000U) 556 #define TWIHS1 ((Twihs *)0x4001C000U) 557 #define PWM0 ((Pwm *)0x40020000U) 558 #define USART0 ((Usart *)0x40024000U) 559 #define USART1 ((Usart *)0x40028000U) 560 #define USART2 ((Usart *)0x4002C000U) 561 #define MCAN0 ((Mcan *)0x40030000U) 562 #define MCAN1 ((Mcan *)0x40034000U) 563 #define USBHS ((Usbhs *)0x40038000U) 564 #define AFEC0 ((Afec *)0x4003C000U) 565 #define DACC ((Dacc *)0x40040000U) 566 #define ACC ((Acc *)0x40044000U) 567 #define ICM ((Icm *)0x40048000U) 568 #define ISI ((Isi *)0x4004C000U) 569 #define GMAC ((Gmac *)0x40050000U) 570 #define TC3 ((Tc *)0x40054000U) 571 #define PWM1 ((Pwm *)0x4005C000U) 572 #define TWIHS2 ((Twihs *)0x40060000U) 573 #define AFEC1 ((Afec *)0x40064000U) 574 #define AES ((Aes *)0x4006C000U) 575 #define TRNG ((Trng *)0x40070000U) 576 #define XDMAC ((Xdmac *)0x40078000U) 577 #define QSPI ((Qspi *)0x4007C000U) 578 #define MATRIX ((Matrix *)0x40088000U) 579 #define I2SC0 ((I2sc *)0x4008C000U) 580 #define UTMI ((Utmi *)0x400E0400U) 581 #define PMC ((Pmc *)0x400E0600U) 582 #define UART0 ((Uart *)0x400E0800U) 583 #define CHIPID ((Chipid *)0x400E0940U) 584 #define UART1 ((Uart *)0x400E0A00U) 585 #define EFC ((Efc *)0x400E0C00U) 586 #define PIOA ((Pio *)0x400E0E00U) 587 #define PIOB ((Pio *)0x400E1000U) 588 #define PIOD ((Pio *)0x400E1400U) 589 #define RSTC ((Rstc *)0x400E1800U) 590 #define SUPC ((Supc *)0x400E1810U) 591 #define RTT ((Rtt *)0x400E1830U) 592 #define WDT ((Wdt *)0x400E1850U) 593 #define RTC ((Rtc *)0x400E1860U) 594 #define GPBR ((Gpbr *)0x400E1890U) 595 #define RSWDT ((Rswdt *)0x400E1900U) 596 #define UART2 ((Uart *)0x400E1A00U) 597 #define UART3 ((Uart *)0x400E1C00U) 598 #define UART4 ((Uart *)0x400E1E00U) 615 #define IFLASH_SIZE (0x200000u) 616 #define IFLASH_PAGE_SIZE (512u) 617 #define IFLASH_LOCK_REGION_SIZE (8192u) 618 #define IFLASH_NB_OF_PAGES (4096u) 619 #define IFLASH_NB_OF_LOCK_BITS (128u) 620 #define IRAM_SIZE (0x60000u) 622 #define QSPIMEM_ADDR (0x80000000u) 623 #define AXIMX_ADDR (0xA0000000u) 624 #define ITCM_ADDR (0x00000000u) 625 #define IFLASH_ADDR (0x00400000u) 626 #define IROM_ADDR (0x00800000u) 627 #define DTCM_ADDR (0x20000000u) 628 #define IRAM_ADDR (0x20400000u) 634 #define CHIP_JTAGID (0x05B3D03FUL) 635 #define CHIP_CIDR (0xA1020E01UL) 636 #define CHIP_EXID (0x00000001UL) 645 #define CHIP_FREQ_SLCK_RC_MIN (20000UL) 646 #define CHIP_FREQ_SLCK_RC (32000UL) 647 #define CHIP_FREQ_SLCK_RC_MAX (44000UL) 648 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL) 649 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL) 650 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL) 651 #define CHIP_FREQ_CPU_MAX (300000000UL) 652 #define CHIP_FREQ_XTAL_32K (32768UL) 653 #define CHIP_FREQ_XTAL_12M (12000000UL) 656 #define CHIP_FREQ_FWS_0 (23000000UL) 657 #define CHIP_FREQ_FWS_1 (46000000UL) 658 #define CHIP_FREQ_FWS_2 (69000000UL) 659 #define CHIP_FREQ_FWS_3 (92000000UL) 660 #define CHIP_FREQ_FWS_4 (115000000UL) 661 #define CHIP_FREQ_FWS_5 (138000000UL) 662 #define CHIP_FREQ_FWS_6 (150000000UL)
void * pfnBusFault_Handler
void * pfnGMAC_Q5_Handler
void GMAC_Q4_Handler(void)
void MCAN0_INT0_Handler(void)
void GMAC_Q2_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 * pfnGMAC_Q3_Handler
void GMAC_Q3_Handler(void)
struct _DeviceVectors DeviceVectors
void * pfnMemManage_Handler
void * pfnDebugMon_Handler
void GMAC_Q5_Handler(void)
void * pfnGMAC_Q4_Handler
void UsageFault_Handler(void)
void USART2_Handler(void)
void GMAC_Q1_Handler(void)
void USART1_Handler(void)
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
void * pfnSysTick_Handler
void * pfnReserved2_Handler
void HardFault_Handler(void)
void * pfnReserved4_Handler
void MemManage_Handler(void)
void USART0_Handler(void)
void * pfnMCAN1_INT1_Handler
void MCAN1_INT0_Handler(void)
void PendSV_Handler(void)
void * pfnGMAC_Q1_Handler
void * pfnUsageFault_Handler
void TWIHS0_Handler(void)
void MCAN0_INT1_Handler(void)
void TWIHS2_Handler(void)
void * pfnGMAC_Q2_Handler
void * pfnMCAN0_INT0_Handler
void DebugMon_Handler(void)
void * pfnMCAN0_INT1_Handler
void SysTick_Handler(void)
void * pfnReserved3_Handler
void * pfnReserved5_Handler
void MCAN1_INT1_Handler(void)
void BusFault_Handler(void)
void * pfnReserved1_Handler