Go to the documentation of this file.
48 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
51 typedef volatile const uint32_t
RoReg;
53 typedef volatile const uint8_t
RoReg8;
55 typedef volatile uint32_t
RoReg;
56 typedef volatile uint16_t
RoReg16;
57 typedef volatile uint8_t
RoReg8;
59 typedef volatile uint32_t
WoReg;
62 typedef volatile uint32_t
RwReg;
67 #if !defined(SKIP_INTEGER_LITERALS)
68 #if defined(_U_) || defined(_L_) || defined(_UL_)
69 #error "Integer Literals macros already defined elsewhere"
72 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
76 #define _UL_(x) x ## UL
248 void* pfnReset_Handler;
249 void* pfnNonMaskableInt_Handler;
250 void* pfnHardFault_Handler;
251 void* pfnMemManagement_Handler;
252 void* pfnBusFault_Handler;
253 void* pfnUsageFault_Handler;
258 void* pfnSVCall_Handler;
259 void* pfnDebugMonitor_Handler;
261 void* pfnPendSV_Handler;
262 void* pfnSysTick_Handler;
266 void* pfnMCLK_Handler;
267 void* pfnOSCCTRL_0_Handler;
268 void* pfnOSCCTRL_1_Handler;
269 void* pfnOSCCTRL_2_Handler;
270 void* pfnOSCCTRL_3_Handler;
271 void* pfnOSCCTRL_4_Handler;
272 void* pfnOSC32KCTRL_Handler;
273 void* pfnSUPC_0_Handler;
274 void* pfnSUPC_1_Handler;
275 void* pfnWDT_Handler;
276 void* pfnRTC_Handler;
277 void* pfnEIC_0_Handler;
278 void* pfnEIC_1_Handler;
279 void* pfnEIC_2_Handler;
280 void* pfnEIC_3_Handler;
281 void* pfnEIC_4_Handler;
282 void* pfnEIC_5_Handler;
283 void* pfnEIC_6_Handler;
284 void* pfnEIC_7_Handler;
285 void* pfnEIC_8_Handler;
286 void* pfnEIC_9_Handler;
287 void* pfnEIC_10_Handler;
288 void* pfnEIC_11_Handler;
289 void* pfnEIC_12_Handler;
290 void* pfnEIC_13_Handler;
291 void* pfnEIC_14_Handler;
292 void* pfnEIC_15_Handler;
293 void* pfnFREQM_Handler;
294 void* pfnNVMCTRL_0_Handler;
295 void* pfnNVMCTRL_1_Handler;
296 void* pfnDMAC_0_Handler;
297 void* pfnDMAC_1_Handler;
298 void* pfnDMAC_2_Handler;
299 void* pfnDMAC_3_Handler;
300 void* pfnDMAC_4_Handler;
301 void* pfnEVSYS_0_Handler;
302 void* pfnEVSYS_1_Handler;
303 void* pfnEVSYS_2_Handler;
304 void* pfnEVSYS_3_Handler;
305 void* pfnEVSYS_4_Handler;
306 void* pfnPAC_Handler;
310 void* pfnRAMECC_Handler;
311 void* pfnSERCOM0_0_Handler;
312 void* pfnSERCOM0_1_Handler;
313 void* pfnSERCOM0_2_Handler;
314 void* pfnSERCOM0_3_Handler;
315 void* pfnSERCOM1_0_Handler;
316 void* pfnSERCOM1_1_Handler;
317 void* pfnSERCOM1_2_Handler;
318 void* pfnSERCOM1_3_Handler;
319 void* pfnSERCOM2_0_Handler;
320 void* pfnSERCOM2_1_Handler;
321 void* pfnSERCOM2_2_Handler;
322 void* pfnSERCOM2_3_Handler;
323 void* pfnSERCOM3_0_Handler;
324 void* pfnSERCOM3_1_Handler;
325 void* pfnSERCOM3_2_Handler;
326 void* pfnSERCOM3_3_Handler;
327 void* pfnSERCOM4_0_Handler;
328 void* pfnSERCOM4_1_Handler;
329 void* pfnSERCOM4_2_Handler;
330 void* pfnSERCOM4_3_Handler;
331 void* pfnSERCOM5_0_Handler;
332 void* pfnSERCOM5_1_Handler;
333 void* pfnSERCOM5_2_Handler;
334 void* pfnSERCOM5_3_Handler;
335 void* pfnSERCOM6_0_Handler;
336 void* pfnSERCOM6_1_Handler;
337 void* pfnSERCOM6_2_Handler;
338 void* pfnSERCOM6_3_Handler;
339 void* pfnSERCOM7_0_Handler;
340 void* pfnSERCOM7_1_Handler;
341 void* pfnSERCOM7_2_Handler;
342 void* pfnSERCOM7_3_Handler;
343 void* pfnCAN0_Handler;
344 void* pfnCAN1_Handler;
345 void* pfnUSB_0_Handler;
346 void* pfnUSB_1_Handler;
347 void* pfnUSB_2_Handler;
348 void* pfnUSB_3_Handler;
349 void* pfnGMAC_Handler;
350 void* pfnTCC0_0_Handler;
351 void* pfnTCC0_1_Handler;
352 void* pfnTCC0_2_Handler;
353 void* pfnTCC0_3_Handler;
354 void* pfnTCC0_4_Handler;
355 void* pfnTCC0_5_Handler;
356 void* pfnTCC0_6_Handler;
357 void* pfnTCC1_0_Handler;
358 void* pfnTCC1_1_Handler;
359 void* pfnTCC1_2_Handler;
360 void* pfnTCC1_3_Handler;
361 void* pfnTCC1_4_Handler;
362 void* pfnTCC2_0_Handler;
363 void* pfnTCC2_1_Handler;
364 void* pfnTCC2_2_Handler;
365 void* pfnTCC2_3_Handler;
366 void* pfnTCC3_0_Handler;
367 void* pfnTCC3_1_Handler;
368 void* pfnTCC3_2_Handler;
369 void* pfnTCC4_0_Handler;
370 void* pfnTCC4_1_Handler;
371 void* pfnTCC4_2_Handler;
372 void* pfnTC0_Handler;
373 void* pfnTC1_Handler;
374 void* pfnTC2_Handler;
375 void* pfnTC3_Handler;
376 void* pfnTC4_Handler;
377 void* pfnTC5_Handler;
378 void* pfnTC6_Handler;
379 void* pfnTC7_Handler;
380 void* pfnPDEC_0_Handler;
381 void* pfnPDEC_1_Handler;
382 void* pfnPDEC_2_Handler;
383 void* pfnADC0_0_Handler;
384 void* pfnADC0_1_Handler;
385 void* pfnADC1_0_Handler;
386 void* pfnADC1_1_Handler;
388 void* pfnDAC_0_Handler;
389 void* pfnDAC_1_Handler;
390 void* pfnDAC_2_Handler;
391 void* pfnDAC_3_Handler;
392 void* pfnDAC_4_Handler;
393 void* pfnI2S_Handler;
394 void* pfnPCC_Handler;
395 void* pfnAES_Handler;
396 void* pfnTRNG_Handler;
397 void* pfnICM_Handler;
398 void* pfnPUKCC_Handler;
399 void* pfnQSPI_Handler;
400 void* pfnSDHC0_Handler;
401 void* pfnSDHC1_Handler;
406 void NonMaskableInt_Handler (
void );
407 void HardFault_Handler (
void );
408 void MemManagement_Handler (
void );
409 void BusFault_Handler (
void );
410 void UsageFault_Handler (
void );
411 void SVCall_Handler (
void );
412 void DebugMonitor_Handler (
void );
413 void PendSV_Handler (
void );
414 void SysTick_Handler (
void );
417 void PM_Handler (
void );
418 void MCLK_Handler (
void );
419 void OSCCTRL_0_Handler (
void );
420 void OSCCTRL_1_Handler (
void );
421 void OSCCTRL_2_Handler (
void );
422 void OSCCTRL_3_Handler (
void );
423 void OSCCTRL_4_Handler (
void );
424 void OSC32KCTRL_Handler (
void );
425 void SUPC_0_Handler (
void );
426 void SUPC_1_Handler (
void );
427 void WDT_Handler (
void );
428 void RTC_Handler (
void );
429 void EIC_0_Handler (
void );
430 void EIC_1_Handler (
void );
431 void EIC_2_Handler (
void );
432 void EIC_3_Handler (
void );
433 void EIC_4_Handler (
void );
434 void EIC_5_Handler (
void );
435 void EIC_6_Handler (
void );
436 void EIC_7_Handler (
void );
437 void EIC_8_Handler (
void );
438 void EIC_9_Handler (
void );
439 void EIC_10_Handler (
void );
440 void EIC_11_Handler (
void );
441 void EIC_12_Handler (
void );
442 void EIC_13_Handler (
void );
443 void EIC_14_Handler (
void );
444 void EIC_15_Handler (
void );
445 void FREQM_Handler (
void );
446 void NVMCTRL_0_Handler (
void );
447 void NVMCTRL_1_Handler (
void );
448 void DMAC_0_Handler (
void );
449 void DMAC_1_Handler (
void );
450 void DMAC_2_Handler (
void );
451 void DMAC_3_Handler (
void );
452 void DMAC_4_Handler (
void );
453 void EVSYS_0_Handler (
void );
454 void EVSYS_1_Handler (
void );
455 void EVSYS_2_Handler (
void );
456 void EVSYS_3_Handler (
void );
457 void EVSYS_4_Handler (
void );
458 void PAC_Handler (
void );
459 void RAMECC_Handler (
void );
460 void SERCOM0_0_Handler (
void );
461 void SERCOM0_1_Handler (
void );
462 void SERCOM0_2_Handler (
void );
463 void SERCOM0_3_Handler (
void );
464 void SERCOM1_0_Handler (
void );
465 void SERCOM1_1_Handler (
void );
466 void SERCOM1_2_Handler (
void );
467 void SERCOM1_3_Handler (
void );
468 void SERCOM2_0_Handler (
void );
469 void SERCOM2_1_Handler (
void );
470 void SERCOM2_2_Handler (
void );
471 void SERCOM2_3_Handler (
void );
472 void SERCOM3_0_Handler (
void );
473 void SERCOM3_1_Handler (
void );
474 void SERCOM3_2_Handler (
void );
475 void SERCOM3_3_Handler (
void );
476 void SERCOM4_0_Handler (
void );
477 void SERCOM4_1_Handler (
void );
478 void SERCOM4_2_Handler (
void );
479 void SERCOM4_3_Handler (
void );
480 void SERCOM5_0_Handler (
void );
481 void SERCOM5_1_Handler (
void );
482 void SERCOM5_2_Handler (
void );
483 void SERCOM5_3_Handler (
void );
484 void SERCOM6_0_Handler (
void );
485 void SERCOM6_1_Handler (
void );
486 void SERCOM6_2_Handler (
void );
487 void SERCOM6_3_Handler (
void );
488 void SERCOM7_0_Handler (
void );
489 void SERCOM7_1_Handler (
void );
490 void SERCOM7_2_Handler (
void );
491 void SERCOM7_3_Handler (
void );
492 void CAN0_Handler (
void );
493 void CAN1_Handler (
void );
494 void USB_0_Handler (
void );
495 void USB_1_Handler (
void );
496 void USB_2_Handler (
void );
497 void USB_3_Handler (
void );
498 void GMAC_Handler (
void );
499 void TCC0_0_Handler (
void );
500 void TCC0_1_Handler (
void );
501 void TCC0_2_Handler (
void );
502 void TCC0_3_Handler (
void );
503 void TCC0_4_Handler (
void );
504 void TCC0_5_Handler (
void );
505 void TCC0_6_Handler (
void );
506 void TCC1_0_Handler (
void );
507 void TCC1_1_Handler (
void );
508 void TCC1_2_Handler (
void );
509 void TCC1_3_Handler (
void );
510 void TCC1_4_Handler (
void );
511 void TCC2_0_Handler (
void );
512 void TCC2_1_Handler (
void );
513 void TCC2_2_Handler (
void );
514 void TCC2_3_Handler (
void );
515 void TCC3_0_Handler (
void );
516 void TCC3_1_Handler (
void );
517 void TCC3_2_Handler (
void );
518 void TCC4_0_Handler (
void );
519 void TCC4_1_Handler (
void );
520 void TCC4_2_Handler (
void );
521 void TC0_Handler (
void );
522 void TC1_Handler (
void );
523 void TC2_Handler (
void );
524 void TC3_Handler (
void );
525 void TC4_Handler (
void );
526 void TC5_Handler (
void );
527 void TC6_Handler (
void );
528 void TC7_Handler (
void );
529 void PDEC_0_Handler (
void );
530 void PDEC_1_Handler (
void );
531 void PDEC_2_Handler (
void );
532 void ADC0_0_Handler (
void );
533 void ADC0_1_Handler (
void );
534 void ADC1_0_Handler (
void );
535 void ADC1_1_Handler (
void );
536 void AC_Handler (
void );
537 void DAC_0_Handler (
void );
538 void DAC_1_Handler (
void );
539 void DAC_2_Handler (
void );
540 void DAC_3_Handler (
void );
541 void DAC_4_Handler (
void );
542 void I2S_Handler (
void );
543 void PCC_Handler (
void );
544 void AES_Handler (
void );
545 void TRNG_Handler (
void );
546 void ICM_Handler (
void );
547 void PUKCC_Handler (
void );
548 void QSPI_Handler (
void );
549 void SDHC0_Handler (
void );
550 void SDHC1_Handler (
void );
557 #define __DEBUG_LVL 3
558 #define __FPU_PRESENT 1
559 #define __MPU_PRESENT 1
560 #define __NVIC_PRIO_BITS 3
561 #define __TRACE_LVL 2
562 #define __VTOR_PRESENT 1
563 #define __Vendor_SysTickConfig 0
569 #include <core_cm4.h>
570 #if !defined DONT_USE_CMSIS_INIT
702 #define ID_OSC32KCTRL 5
709 #define ID_SERCOM0 12
710 #define ID_SERCOM1 13
714 // Peripheral instances on HPB1 bridge
717 #define ID_NVMCTRL 34
721 #define ID_HMATRIX 38
723 #define ID_SERCOM2 41
724 #define ID_SERCOM3 42
731 // Peripheral instances on HPB2 bridge
748 // Peripheral instances on HPB3 bridge
749 #define ID_SERCOM4 96
750 #define ID_SERCOM5 97
751 #define ID_SERCOM6 98
752 #define ID_SERCOM7 99
762 // Peripheral instances on AHB (as if on bridge 4)
766 #define ID_PERIPH_COUNT 130
775 #if defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)
776 #define AC (0x42002000)
777 #define ADC0 (0x43001C00)
778 #define ADC1 (0x43002000)
779 #define AES (0x42002400)
780 #define CAN0 (0x42000000)
781 #define CAN1 (0x42000400)
782 #define CCL (0x42003800)
783 #define CMCC (0x41006000)
784 #define CMCC_AHB (0x03000000)
785 #define DAC (0x43002400)
786 #define DMAC (0x4100A000)
787 #define DSU (0x41002000)
788 #define EIC (0x40002800)
789 #define EVSYS (0x4100E000)
790 #define FREQM (0x40002C00)
791 #define GCLK (0x40001C00)
792 #define GMAC (0x42000800)
793 #define HMATRIX (0x4100C000)
794 #define ICM (0x42002C00)
795 #define I2S (0x43002800)
796 #define MCLK (0x40000800)
797 #define NVMCTRL (0x41004000)
798 #define NVMCTRL_SW0 (0x00800080)
799 #define NVMCTRL_TEMP_LOG (0x00800100)
800 #define NVMCTRL_USER (0x00804000)
801 #define OSCCTRL (0x40001000)
802 #define OSC32KCTRL (0x40001400)
803 #define PAC (0x40000000)
804 #define PCC (0x43002C00)
805 #define PDEC (0x42001C00)
806 #define PM (0x40000400)
807 #define PORT (0x41008000)
808 #define PUKCC (0x42003000)
809 #define PUKCC_AHB (0x02000000)
810 #define QSPI (0x42003400)
811 #define QSPI_AHB (0x04000000)
812 #define RAMECC (0x41020000)
813 #define RSTC (0x40000C00)
814 #define RTC (0x40002400)
815 #define SDHC0 (0x45000000)
816 #define SDHC1 (0x46000000)
817 #define SERCOM0 (0x40003000)
818 #define SERCOM1 (0x40003400)
819 #define SERCOM2 (0x41012000)
820 #define SERCOM3 (0x41014000)
821 #define SERCOM4 (0x43000000)
822 #define SERCOM5 (0x43000400)
823 #define SERCOM6 (0x43000800)
824 #define SERCOM7 (0x43000C00)
825 #define SUPC (0x40001800)
826 #define TC0 (0x40003800)
827 #define TC1 (0x40003C00)
828 #define TC2 (0x4101A000)
829 #define TC3 (0x4101C000)
830 #define TC4 (0x42001400)
831 #define TC5 (0x42001800)
832 #define TC6 (0x43001400)
833 #define TC7 (0x43001800)
834 #define TCC0 (0x41016000)
835 #define TCC1 (0x41018000)
836 #define TCC2 (0x42000C00)
837 #define TCC3 (0x42001000)
838 #define TCC4 (0x43001000)
839 #define TRNG (0x42002800)
840 #define USB (0x41000000)
841 #define WDT (0x40002000)
843 #define AC ((Ac *)0x42002000UL)
844 #define AC_INST_NUM 1
845 #define AC_INSTS { AC }
847 #define ADC0 ((Adc *)0x43001C00UL)
848 #define ADC1 ((Adc *)0x43002000UL)
849 #define ADC_INST_NUM 2
850 #define ADC_INSTS { ADC0, ADC1 }
852 #define AES ((Aes *)0x42002400UL)
853 #define AES_INST_NUM 1
854 #define AES_INSTS { AES }
856 #define CAN0 ((Can *)0x42000000UL)
857 #define CAN1 ((Can *)0x42000400UL)
858 #define CAN_INST_NUM 2
859 #define CAN_INSTS { CAN0, CAN1 }
861 #define CCL ((Ccl *)0x42003800UL)
862 #define CCL_INST_NUM 1
863 #define CCL_INSTS { CCL }
865 #define CMCC ((Cmcc *)0x41006000UL)
866 #define CMCC_AHB (0x03000000UL)
867 #define CMCC_INST_NUM 1
868 #define CMCC_INSTS { CMCC }
870 #define DAC ((Dac *)0x43002400UL)
871 #define DAC_INST_NUM 1
872 #define DAC_INSTS { DAC }
874 #define DMAC ((Dmac *)0x4100A000UL)
875 #define DMAC_INST_NUM 1
876 #define DMAC_INSTS { DMAC }
878 #define DSU ((Dsu *)0x41002000UL)
879 #define DSU_INST_NUM 1
880 #define DSU_INSTS { DSU }
882 #define EIC ((Eic *)0x40002800UL)
883 #define EIC_INST_NUM 1
884 #define EIC_INSTS { EIC }
886 #define EVSYS ((Evsys *)0x4100E000UL)
887 #define EVSYS_INST_NUM 1
888 #define EVSYS_INSTS { EVSYS }
890 #define FREQM ((Freqm *)0x40002C00UL)
891 #define FREQM_INST_NUM 1
892 #define FREQM_INSTS { FREQM }
894 #define GCLK ((Gclk *)0x40001C00UL)
895 #define GCLK_INST_NUM 1
896 #define GCLK_INSTS { GCLK }
898 #define GMAC ((Gmac *)0x42000800UL)
899 #define GMAC_INST_NUM 1
900 #define GMAC_INSTS { GMAC }
902 #define HMATRIX ((Hmatrixb *)0x4100C000UL)
903 #define HMATRIXB_INST_NUM 1
904 #define HMATRIXB_INSTS { HMATRIX }
906 #define ICM ((Icm *)0x42002C00UL)
907 #define ICM_INST_NUM 1
908 #define ICM_INSTS { ICM }
910 #define I2S ((I2s *)0x43002800UL)
911 #define I2S_INST_NUM 1
912 #define I2S_INSTS { I2S }
914 #define MCLK ((Mclk *)0x40000800UL)
915 #define MCLK_INST_NUM 1
916 #define MCLK_INSTS { MCLK }
918 #define NVMCTRL ((Nvmctrl *)0x41004000UL)
919 #define NVMCTRL_SW0 (0x00800080UL)
920 #define NVMCTRL_TEMP_LOG (0x00800100UL)
921 #define NVMCTRL_USER (0x00804000UL)
922 #define NVMCTRL_INST_NUM 1
923 #define NVMCTRL_INSTS { NVMCTRL }
925 #define OSCCTRL ((Oscctrl *)0x40001000UL)
926 #define OSCCTRL_INST_NUM 1
927 #define OSCCTRL_INSTS { OSCCTRL }
929 #define OSC32KCTRL ((Osc32kctrl *)0x40001400UL)
930 #define OSC32KCTRL_INST_NUM 1
931 #define OSC32KCTRL_INSTS { OSC32KCTRL }
933 #define PAC ((Pac *)0x40000000UL)
934 #define PAC_INST_NUM 1
935 #define PAC_INSTS { PAC }
937 #define PCC ((Pcc *)0x43002C00UL)
938 #define PCC_INST_NUM 1
939 #define PCC_INSTS { PCC }
941 #define PDEC ((Pdec *)0x42001C00UL)
942 #define PDEC_INST_NUM 1
943 #define PDEC_INSTS { PDEC }
945 #define PM ((Pm *)0x40000400UL)
946 #define PM_INST_NUM 1
947 #define PM_INSTS { PM }
949 #define PORT ((Port *)0x41008000UL)
950 #define PORT_INST_NUM 1
951 #define PORT_INSTS { PORT }
953 #define PUKCC ((void *)0x42003000UL)
954 #define PUKCC_AHB ((void *)0x02000000UL)
955 #define PUKCC_INST_NUM 1
956 #define PUKCC_INSTS { PUKCC }
958 #define QSPI ((Qspi *)0x42003400UL)
959 #define QSPI_AHB (0x04000000UL)
960 #define QSPI_INST_NUM 1
961 #define QSPI_INSTS { QSPI }
963 #define RAMECC ((Ramecc *)0x41020000UL)
964 #define RAMECC_INST_NUM 1
965 #define RAMECC_INSTS { RAMECC }
967 #define RSTC ((Rstc *)0x40000C00UL)
968 #define RSTC_INST_NUM 1
969 #define RSTC_INSTS { RSTC }
971 #define RTC ((Rtc *)0x40002400UL)
972 #define RTC_INST_NUM 1
973 #define RTC_INSTS { RTC }
975 #define SDHC0 ((Sdhc *)0x45000000UL)
976 #define SDHC1 ((Sdhc *)0x46000000UL)
977 #define SDHC_INST_NUM 2
978 #define SDHC_INSTS { SDHC0, SDHC1 }
980 #define SERCOM0 ((Sercom *)0x40003000UL)
981 #define SERCOM1 ((Sercom *)0x40003400UL)
982 #define SERCOM2 ((Sercom *)0x41012000UL)
983 #define SERCOM3 ((Sercom *)0x41014000UL)
984 #define SERCOM4 ((Sercom *)0x43000000UL)
985 #define SERCOM5 ((Sercom *)0x43000400UL)
986 #define SERCOM6 ((Sercom *)0x43000800UL)
987 #define SERCOM7 ((Sercom *)0x43000C00UL)
988 #define SERCOM_INST_NUM 8
989 #define SERCOM_INSTS { SERCOM0, SERCOM1, SERCOM2, SERCOM3, SERCOM4, SERCOM5, SERCOM6, SERCOM7 }
991 #define SUPC ((Supc *)0x40001800UL)
992 #define SUPC_INST_NUM 1
993 #define SUPC_INSTS { SUPC }
995 #define TC0 ((Tc *)0x40003800UL)
996 #define TC1 ((Tc *)0x40003C00UL)
997 #define TC2 ((Tc *)0x4101A000UL)
998 #define TC3 ((Tc *)0x4101C000UL)
999 #define TC4 ((Tc *)0x42001400UL)
1000 #define TC5 ((Tc *)0x42001800UL)
1001 #define TC6 ((Tc *)0x43001400UL)
1002 #define TC7 ((Tc *)0x43001800UL)
1003 #define TC_INST_NUM 8
1004 #define TC_INSTS { TC0, TC1, TC2, TC3, TC4, TC5, TC6, TC7 }
1006 #define TCC0 ((Tcc *)0x41016000UL)
1007 #define TCC1 ((Tcc *)0x41018000UL)
1008 #define TCC2 ((Tcc *)0x42000C00UL)
1009 #define TCC3 ((Tcc *)0x42001000UL)
1010 #define TCC4 ((Tcc *)0x43001000UL)
1011 #define TCC_INST_NUM 5
1012 #define TCC_INSTS { TCC0, TCC1, TCC2, TCC3, TCC4 }
1014 #define TRNG ((Trng *)0x42002800UL)
1015 #define TRNG_INST_NUM 1
1016 #define TRNG_INSTS { TRNG }
1018 #define USB ((Usb *)0x41000000UL)
1019 #define USB_INST_NUM 1
1020 #define USB_INSTS { USB }
1022 #define WDT ((Wdt *)0x40002000UL)
1023 #define WDT_INST_NUM 1
1024 #define WDT_INSTS { WDT }
1042 #define HSRAM_SIZE _UL_(0x00030000)
1043 #define FLASH_SIZE _UL_(0x00080000)
1044 #define FLASH_PAGE_SIZE 512
1045 #define FLASH_NB_OF_PAGES 1024
1046 #define FLASH_USER_PAGE_SIZE 512
1047 #define BKUPRAM_SIZE _UL_(0x00002000)
1048 #define QSPI_SIZE _UL_(0x01000000)
1050 #define FLASH_ADDR _UL_(0x00000000)
1051 #define CMCC_DATARAM_ADDR _UL_(0x03000000)
1052 #define CMCC_DATARAM_SIZE _UL_(0x00001000)
1053 #define CMCC_TAGRAM_ADDR _UL_(0x03001000)
1054 #define CMCC_TAGRAM_SIZE _UL_(0x00000400)
1055 #define CMCC_VALIDRAM_ADDR _UL_(0x03002000)
1056 #define CMCC_VALIDRAM_SIZE _UL_(0x00000040)
1057 #define HSRAM_ADDR _UL_(0x20000000)
1058 #define HSRAM_ETB_ADDR _UL_(0x20000000)
1059 #define HSRAM_ETB_SIZE _UL_(0x00008000)
1060 #define HSRAM_RET1_ADDR _UL_(0x20000000)
1061 #define HSRAM_RET1_SIZE _UL_(0x00008000)
1062 #define HPB0_ADDR _UL_(0x40000000)
1063 #define HPB1_ADDR _UL_(0x41000000)
1064 #define HPB2_ADDR _UL_(0x42000000)
1065 #define HPB3_ADDR _UL_(0x43000000)
1066 #define SEEPROM_ADDR _UL_(0x44000000)
1067 #define BKUPRAM_ADDR _UL_(0x47000000)
1068 #define PPB_ADDR _UL_(0xE0000000)
1070 #define DSU_DID_RESETVALUE _UL_(0x61840303)
1071 #define ADC0_TOUCH_LINES_NUM 32
1072 #define PORT_GROUPS 3
volatile const uint32_t RoReg
Instance description for ICM.
Component description for ICM.
void Reset_Handler(void)
This is the code that gets called on processor reset. To initialize the device, and call the main() r...
Instance description for TC4.
Component description for MCLK.
Instance description for TC5.
Component description for SUPC.
Instance description for CAN0.
Component description for PDEC.
volatile const uint16_t RoReg16
Low-level initialization functions called upon chip startup.
Instance description for TC2.
Instance description for CAN1.
Component description for PAC.
Instance description for TC3.
Component description for RTC.
Instance description for SERCOM2.
Instance description for SDHC1.
Instance description for TCC0.
Component description for OSCCTRL.
Instance description for TC6.
volatile uint16_t RwReg16
Component description for CMCC.
Instance description for SERCOM0.
Instance description for WDT.
Instance description for TCC1.
Instance description for TC7.
Instance description for I2S.
Instance description for SERCOM3.
Instance description for SDHC0.
Instance description for AES.
Instance description for SERCOM6.
Instance description for OSCCTRL.
Component description for ADC.
Instance description for SERCOM4.
Instance description for USB.
Instance description for PUKCC.
Instance description for SERCOM7.
Component description for NVMCTRL.
Component description for CCL.
Instance description for TC0.
Component description for HMATRIXB.
Instance description for GCLK.
Instance description for TC1.
Instance description for PORT.
Component description for TC.
Component description for USB.
Instance description for SERCOM5.
Component description for WDT.
Instance description for CCL.
Instance description for DSU.
Component description for DMAC.
Instance description for QSPI.
Component description for PM.
Instance description for PDEC.
Component description for DAC.
Instance description for PAC.
Component description for GMAC.
Instance description for RSTC.
Instance description for GMAC.
Component description for AC.
Component description for TRNG.
Instance description for EIC.
Component description for SERCOM.
Instance description for RAMECC.
Component description for DSU.
Component description for PCC.
Component description for OSC32KCTRL.
Component description for GCLK.
Instance description for CMCC.
Instance description for TRNG.
Component description for QSPI.
Instance description for RTC.
Component description for EVSYS.
Component description for PORT.
Instance description for AC.
Instance description for MCLK.
Component description for EIC.
Component description for AES.
Peripheral I/O description for SAME54N19A.
Instance description for HMATRIX.
Instance description for ADC0.
volatile const uint8_t RoReg8
Instance description for EVSYS.
Instance description for ADC1.
Component description for CAN.
Instance description for DAC.
Instance description for SERCOM1.
Instance description for TCC4.
Component description for RSTC.
Component description for TCC.
Component description for FREQM.
Instance description for SUPC.
Instance description for TCC2.
Instance description for OSC32KCTRL.
Instance description for DMAC.
Component description for I2S.
Instance description for PM.
Component description for RAMECC.
Instance description for TCC3.
Instance description for PCC.
Instance description for FREQM.
Component description for SDHC.
volatile uint16_t WoReg16
Instance description for NVMCTRL.