same70n20.h
Go to the documentation of this file.
1 
31 /*
32  * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
33  */
34 
35 #ifndef _SAME70N20_
36 #define _SAME70N20_
37 
46 
47 #ifdef __cplusplus
48  extern "C" {
49 #endif
50 
51 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
52 #include <stdint.h>
53 #endif
54 
55 /* ************************************************************************** */
56 /* CMSIS DEFINITIONS FOR SAME70N20 */
57 /* ************************************************************************** */
60 
62 typedef enum IRQn
63 {
64 /****** Cortex-M7 Processor Exceptions Numbers ******************************/
68  BusFault_IRQn = -11,
70  SVCall_IRQn = -5,
72  PendSV_IRQn = -2,
73  SysTick_IRQn = -1,
74 /****** SAME70N20 specific Interrupt Numbers *********************************/
75 
76  SUPC_IRQn = 0,
77  RSTC_IRQn = 1,
78  RTC_IRQn = 2,
79  RTT_IRQn = 3,
80  WDT_IRQn = 4,
81  PMC_IRQn = 5,
82  EFC_IRQn = 6,
83  UART0_IRQn = 7,
84  UART1_IRQn = 8,
85  PIOA_IRQn = 10,
86  PIOB_IRQn = 11,
87  USART0_IRQn = 13,
88  USART1_IRQn = 14,
89  USART2_IRQn = 15,
90  PIOD_IRQn = 16,
91  HSMCI_IRQn = 18,
92  TWIHS0_IRQn = 19,
93  TWIHS1_IRQn = 20,
94  SPI0_IRQn = 21,
95  SSC_IRQn = 22,
96  TC0_IRQn = 23,
97  TC1_IRQn = 24,
98  TC2_IRQn = 25,
99  AFEC0_IRQn = 29,
100  DACC_IRQn = 30,
101  PWM0_IRQn = 31,
102  ICM_IRQn = 32,
103  ACC_IRQn = 33,
104  USBHS_IRQn = 34,
109  GMAC_IRQn = 39,
110  AFEC1_IRQn = 40,
111  TWIHS2_IRQn = 41,
112  QSPI_IRQn = 43,
113  UART2_IRQn = 44,
114  UART3_IRQn = 45,
115  UART4_IRQn = 46,
116  TC9_IRQn = 50,
117  TC10_IRQn = 51,
118  TC11_IRQn = 52,
119  AES_IRQn = 56,
120  TRNG_IRQn = 57,
121  XDMAC_IRQn = 58,
122  ISI_IRQn = 59,
123  PWM1_IRQn = 60,
124  FPU_IRQn = 61,
125  RSWDT_IRQn = 63,
126  CCW_IRQn = 64,
127  CCF_IRQn = 65,
130  IXC_IRQn = 68,
133 } IRQn_Type;
134 
135 typedef struct _DeviceVectors
136 {
137  /* Stack pointer */
138  void* pvStack;
139 
140  /* Cortex-M handlers */
141  void* pfnReset_Handler;
142  void* pfnNMI_Handler;
143  void* pfnHardFault_Handler;
144  void* pfnMemManage_Handler;
145  void* pfnBusFault_Handler;
146  void* pfnUsageFault_Handler;
147  void* pfnReserved1_Handler;
148  void* pfnReserved2_Handler;
149  void* pfnReserved3_Handler;
150  void* pfnReserved4_Handler;
151  void* pfnSVC_Handler;
152  void* pfnDebugMon_Handler;
153  void* pfnReserved5_Handler;
154  void* pfnPendSV_Handler;
155  void* pfnSysTick_Handler;
156 
157  /* Peripheral handlers */
158  void* pfnSUPC_Handler; /* 0 Supply Controller */
159  void* pfnRSTC_Handler; /* 1 Reset Controller */
160  void* pfnRTC_Handler; /* 2 Real Time Clock */
161  void* pfnRTT_Handler; /* 3 Real Time Timer */
162  void* pfnWDT_Handler; /* 4 Watchdog Timer */
163  void* pfnPMC_Handler; /* 5 Power Management Controller */
164  void* pfnEFC_Handler; /* 6 Enhanced Embedded Flash Controller */
165  void* pfnUART0_Handler; /* 7 UART 0 */
166  void* pfnUART1_Handler; /* 8 UART 1 */
167  void* pvReserved9;
168  void* pfnPIOA_Handler; /* 10 Parallel I/O Controller A */
169  void* pfnPIOB_Handler; /* 11 Parallel I/O Controller B */
170  void* pvReserved12;
171  void* pfnUSART0_Handler; /* 13 USART 0 */
172  void* pfnUSART1_Handler; /* 14 USART 1 */
173  void* pfnUSART2_Handler; /* 15 USART 2 */
174  void* pfnPIOD_Handler; /* 16 Parallel I/O Controller D */
175  void* pvReserved17;
176  void* pfnHSMCI_Handler; /* 18 Multimedia Card Interface */
177  void* pfnTWIHS0_Handler; /* 19 Two Wire Interface 0 HS */
178  void* pfnTWIHS1_Handler; /* 20 Two Wire Interface 1 HS */
179  void* pfnSPI0_Handler; /* 21 Serial Peripheral Interface 0 */
180  void* pfnSSC_Handler; /* 22 Synchronous Serial Controller */
181  void* pfnTC0_Handler; /* 23 Timer/Counter 0 */
182  void* pfnTC1_Handler; /* 24 Timer/Counter 1 */
183  void* pfnTC2_Handler; /* 25 Timer/Counter 2 */
184  void* pvReserved26;
185  void* pvReserved27;
186  void* pvReserved28;
187  void* pfnAFEC0_Handler; /* 29 Analog Front End 0 */
188  void* pfnDACC_Handler; /* 30 Digital To Analog Converter */
189  void* pfnPWM0_Handler; /* 31 Pulse Width Modulation 0 */
190  void* pfnICM_Handler; /* 32 Integrity Check Monitor */
191  void* pfnACC_Handler; /* 33 Analog Comparator */
192  void* pfnUSBHS_Handler; /* 34 USB Host / Device Controller */
193  void* pfnMCAN0_INT0_Handler; /* 35 Controller Area Network (MCAN0) */
194  void* pfnMCAN0_INT1_Handler; /* 36 Controller Area Network (MCAN0) */
195  void* pfnMCAN1_INT0_Handler; /* 37 Controller Area Network (MCAN1) */
196  void* pfnMCAN1_INT1_Handler; /* 38 Controller Area Network (MCAN1) */
197  void* pfnGMAC_Handler; /* 39 Ethernet MAC */
198  void* pfnAFEC1_Handler; /* 40 Analog Front End 1 */
199  void* pfnTWIHS2_Handler; /* 41 Two Wire Interface 2 HS */
200  void* pvReserved42;
201  void* pfnQSPI_Handler; /* 43 Quad I/O Serial Peripheral Interface */
202  void* pfnUART2_Handler; /* 44 UART 2 */
203  void* pfnUART3_Handler; /* 45 UART 3 */
204  void* pfnUART4_Handler; /* 46 UART 4 */
205  void* pvReserved47;
206  void* pvReserved48;
207  void* pvReserved49;
208  void* pfnTC9_Handler; /* 50 Timer/Counter 9 */
209  void* pfnTC10_Handler; /* 51 Timer/Counter 10 */
210  void* pfnTC11_Handler; /* 52 Timer/Counter 11 */
211  void* pvReserved53;
212  void* pvReserved54;
213  void* pvReserved55;
214  void* pfnAES_Handler; /* 56 AES */
215  void* pfnTRNG_Handler; /* 57 True Random Generator */
216  void* pfnXDMAC_Handler; /* 58 DMA */
217  void* pfnISI_Handler; /* 59 Camera Interface */
218  void* pfnPWM1_Handler; /* 60 Pulse Width Modulation 1 */
219  void* pfnFPU_Handler; /* 61 Floating Point Unit Registers (FPU) */
220  void* pvReserved62;
221  void* pfnRSWDT_Handler; /* 63 Reinforced Safety Watchdog Timer (RSWDT) */
222  void* pfnCCW_Handler; /* 64 System Control Registers (SystemControl) */
223  void* pfnCCF_Handler; /* 65 System Control Registers (SystemControl) */
224  void* pfnGMAC_Q1_Handler;/* 66 Gigabit Ethernet MAC (GMAC) */
225  void* pfnGMAC_Q2_Handler;/* 67 Gigabit Ethernet MAC (GMAC) */
226  void* pfnIXC_Handler; /* 68 Floating Point Unit Registers (FPU) */
227  void* pvReserved69;
228  void* pvReserved70;
229  void* pvReserved71;
230  void* pvReserved72;
231  void* pvReserved73;
232 } DeviceVectors;
233 
234 /* Cortex-M7 core handlers */
235 void Reset_Handler ( void );
236 void NMI_Handler ( void );
237 void HardFault_Handler ( void );
238 void MemManage_Handler ( void );
239 void BusFault_Handler ( void );
240 void UsageFault_Handler ( void );
241 void SVC_Handler ( void );
242 void DebugMon_Handler ( void );
243 void PendSV_Handler ( void );
244 void SysTick_Handler ( void );
245 
246 /* Peripherals handlers */
247 void ACC_Handler ( void );
248 void AES_Handler ( void );
249 void AFEC0_Handler ( void );
250 void AFEC1_Handler ( void );
251 void CCF_Handler ( void );
252 void CCW_Handler ( void );
253 void DACC_Handler ( void );
254 void EFC_Handler ( void );
255 void FPU_Handler ( void );
256 void GMAC_Handler ( void );
257 void HSMCI_Handler ( void );
258 void ICM_Handler ( void );
259 void ISI_Handler ( void );
260 void IXC_Handler ( void );
261 void MCAN0_INT0_Handler ( void );
262 void MCAN0_INT1_Handler ( void );
263 void MCAN1_INT0_Handler ( void );
264 void MCAN1_INT1_Handler ( void );
265 void MCAN0_Handler ( void );
266 void MCAN1_Handler ( void );
267 void PIOA_Handler ( void );
268 void PIOB_Handler ( void );
269 void PIOD_Handler ( void );
270 void PMC_Handler ( void );
271 void PWM0_Handler ( void );
272 void PWM1_Handler ( void );
273 void GMAC_Q1_Handler ( void );
274 void GMAC_Q2_Handler ( void );
275 void QSPI_Handler ( void );
276 void RSTC_Handler ( void );
277 void RSWDT_Handler ( void );
278 void RTC_Handler ( void );
279 void RTT_Handler ( void );
280 void SPI0_Handler ( void );
281 void SSC_Handler ( void );
282 void SUPC_Handler ( void );
283 void TC0_Handler ( void );
284 void TC1_Handler ( void );
285 void TC2_Handler ( void );
286 void TC9_Handler ( void );
287 void TC10_Handler ( void );
288 void TC11_Handler ( void );
289 void TRNG_Handler ( void );
290 void TWIHS0_Handler ( void );
291 void TWIHS1_Handler ( void );
292 void TWIHS2_Handler ( void );
293 void UART0_Handler ( void );
294 void UART1_Handler ( void );
295 void UART2_Handler ( void );
296 void UART3_Handler ( void );
297 void UART4_Handler ( void );
298 void USART0_Handler ( void );
299 void USART1_Handler ( void );
300 void USART2_Handler ( void );
301 void USBHS_Handler ( void );
302 void WDT_Handler ( void );
303 void XDMAC_Handler ( void );
304 
309 #define __CM7_REV 0x0000
310 #define __MPU_PRESENT 1
311 #define __NVIC_PRIO_BITS 3
312 #define __FPU_PRESENT 1
313 #define __FPU_DP 1
314 #define __ICACHE_PRESENT 1
315 #define __DCACHE_PRESENT 1
316 #define __DTCM_PRESENT 1
317 #define __ITCM_PRESENT 1
318 #define __Vendor_SysTickConfig 0
319 #define __SAM_M7_REVB 0
321 /*
322  * \brief CMSIS includes
323  */
324 
325 #include <core_cm7.h>
326 #if !defined DONT_USE_CMSIS_INIT
327 #include "system_same70.h"
328 #endif /* DONT_USE_CMSIS_INIT */
329 
332 /* ************************************************************************** */
334 /* ************************************************************************** */
337 
338 #include "component/acc.h"
339 #include "component/aes.h"
340 #include "component/afec.h"
341 #include "component/chipid.h"
342 #include "component/dacc.h"
343 #include "component/efc.h"
344 #include "component/gmac.h"
345 #include "component/gpbr.h"
346 #include "component/hsmci.h"
347 #include "component/icm.h"
348 #include "component/isi.h"
349 #include "component/matrix.h"
350 #include "component/mcan.h"
351 #include "component/pio.h"
352 #include "component/pmc.h"
353 #include "component/pwm.h"
354 #include "component/qspi.h"
355 #include "component/rstc.h"
356 #include "component/rswdt.h"
357 #include "component/rtc.h"
358 #include "component/rtt.h"
359 #include "component/spi.h"
360 #include "component/ssc.h"
361 #include "component/supc.h"
362 #include "component/tc.h"
363 #include "component/trng.h"
364 #include "component/twihs.h"
365 #include "component/uart.h"
366 #include "component/usart.h"
367 #include "component/usbhs.h"
368 #include "component/utmi.h"
369 #include "component/wdt.h"
370 #include "component/xdmac.h"
373 /* ************************************************************************** */
374 /* REGISTER ACCESS DEFINITIONS FOR SAME70N20 */
375 /* ************************************************************************** */
378 
379 #include "instance/hsmci.h"
380 #include "instance/ssc.h"
381 #include "instance/spi0.h"
382 #include "instance/tc0.h"
383 #include "instance/twihs0.h"
384 #include "instance/twihs1.h"
385 #include "instance/pwm0.h"
386 #include "instance/usart0.h"
387 #include "instance/usart1.h"
388 #include "instance/usart2.h"
389 #include "instance/mcan0.h"
390 #include "instance/mcan1.h"
391 #include "instance/usbhs.h"
392 #include "instance/afec0.h"
393 #include "instance/dacc.h"
394 #include "instance/acc.h"
395 #include "instance/icm.h"
396 #include "instance/isi.h"
397 #include "instance/gmac.h"
398 #include "instance/tc3.h"
399 #include "instance/pwm1.h"
400 #include "instance/twihs2.h"
401 #include "instance/afec1.h"
402 #include "instance/aes.h"
403 #include "instance/trng.h"
404 #include "instance/xdmac.h"
405 #include "instance/qspi.h"
406 #include "instance/matrix.h"
407 #include "instance/utmi.h"
408 #include "instance/pmc.h"
409 #include "instance/uart0.h"
410 #include "instance/chipid.h"
411 #include "instance/uart1.h"
412 #include "instance/efc.h"
413 #include "instance/pioa.h"
414 #include "instance/piob.h"
415 #include "instance/piod.h"
416 #include "instance/rstc.h"
417 #include "instance/supc.h"
418 #include "instance/rtt.h"
419 #include "instance/wdt.h"
420 #include "instance/rtc.h"
421 #include "instance/gpbr.h"
422 #include "instance/rswdt.h"
423 #include "instance/uart2.h"
424 #include "instance/uart3.h"
425 #include "instance/uart4.h"
428 /* ************************************************************************** */
429 /* PERIPHERAL ID DEFINITIONS FOR SAME70N20 */
430 /* ************************************************************************** */
433 
434 #define ID_SUPC ( 0)
435 #define ID_RSTC ( 1)
436 #define ID_RTC ( 2)
437 #define ID_RTT ( 3)
438 #define ID_WDT ( 4)
439 #define ID_PMC ( 5)
440 #define ID_EFC ( 6)
441 #define ID_UART0 ( 7)
442 #define ID_UART1 ( 8)
443 #define ID_PIOA (10)
444 #define ID_PIOB (11)
445 #define ID_USART0 (13)
446 #define ID_USART1 (14)
447 #define ID_USART2 (15)
448 #define ID_PIOD (16)
449 #define ID_HSMCI (18)
450 #define ID_TWIHS0 (19)
451 #define ID_TWIHS1 (20)
452 #define ID_SPI0 (21)
453 #define ID_SSC (22)
454 #define ID_TC0 (23)
455 #define ID_TC1 (24)
456 #define ID_TC2 (25)
457 #define ID_AFEC0 (29)
458 #define ID_DACC (30)
459 #define ID_PWM0 (31)
460 #define ID_ICM (32)
461 #define ID_ACC (33)
462 #define ID_USBHS (34)
463 #define ID_MCAN0 (35)
464 #define ID_MCAN1 (37)
465 #define ID_GMAC (39)
466 #define ID_AFEC1 (40)
467 #define ID_TWIHS2 (41)
468 #define ID_QSPI (43)
469 #define ID_UART2 (44)
470 #define ID_UART3 (45)
471 #define ID_UART4 (46)
472 #define ID_TC9 (50)
473 #define ID_TC10 (51)
474 #define ID_TC11 (52)
475 #define ID_AES (56)
476 #define ID_TRNG (57)
477 #define ID_XDMAC (58)
478 #define ID_ISI (59)
479 #define ID_PWM1 (60)
480 #define ID_RSWDT (63)
481 #define ID_IXC (68)
483 #define ID_PERIPH_COUNT (74)
485 
486 /* ************************************************************************** */
487 /* BASE ADDRESS DEFINITIONS FOR SAME70N20 */
488 /* ************************************************************************** */
491 
492 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
493 #define HSMCI (0x40000000U)
494 #define SSC (0x40004000U)
495 #define SPI0 (0x40008000U)
496 #define TC0 (0x4000C000U)
497 #define TWIHS0 (0x40018000U)
498 #define TWIHS1 (0x4001C000U)
499 #define PWM0 (0x40020000U)
500 #define USART0 (0x40024000U)
501 #define USART1 (0x40028000U)
502 #define USART2 (0x4002C000U)
503 #define MCAN0 (0x40030000U)
504 #define MCAN1 (0x40034000U)
505 #define USBHS (0x40038000U)
506 #define AFEC0 (0x4003C000U)
507 #define DACC (0x40040000U)
508 #define ACC (0x40044000U)
509 #define ICM (0x40048000U)
510 #define ISI (0x4004C000U)
511 #define GMAC (0x40050000U)
512 #define TC3 (0x40054000U)
513 #define PWM1 (0x4005C000U)
514 #define TWIHS2 (0x40060000U)
515 #define AFEC1 (0x40064000U)
516 #define AES (0x4006C000U)
517 #define TRNG (0x40070000U)
518 #define XDMAC (0x40078000U)
519 #define QSPI (0x4007C000U)
520 #define MATRIX (0x40088000U)
521 #define UTMI (0x400E0400U)
522 #define PMC (0x400E0600U)
523 #define UART0 (0x400E0800U)
524 #define CHIPID (0x400E0940U)
525 #define UART1 (0x400E0A00U)
526 #define EFC (0x400E0C00U)
527 #define PIOA (0x400E0E00U)
528 #define PIOB (0x400E1000U)
529 #define PIOD (0x400E1400U)
530 #define RSTC (0x400E1800U)
531 #define SUPC (0x400E1810U)
532 #define RTT (0x400E1830U)
533 #define WDT (0x400E1850U)
534 #define RTC (0x400E1860U)
535 #define GPBR (0x400E1890U)
536 #define RSWDT (0x400E1900U)
537 #define UART2 (0x400E1A00U)
538 #define UART3 (0x400E1C00U)
539 #define UART4 (0x400E1E00U)
540 #else
541 #define HSMCI ((Hsmci *)0x40000000U)
542 #define SSC ((Ssc *)0x40004000U)
543 #define SPI0 ((Spi *)0x40008000U)
544 #define TC0 ((Tc *)0x4000C000U)
545 #define TWIHS0 ((Twihs *)0x40018000U)
546 #define TWIHS1 ((Twihs *)0x4001C000U)
547 #define PWM0 ((Pwm *)0x40020000U)
548 #define USART0 ((Usart *)0x40024000U)
549 #define USART1 ((Usart *)0x40028000U)
550 #define USART2 ((Usart *)0x4002C000U)
551 #define MCAN0 ((Mcan *)0x40030000U)
552 #define MCAN1 ((Mcan *)0x40034000U)
553 #define USBHS ((Usbhs *)0x40038000U)
554 #define AFEC0 ((Afec *)0x4003C000U)
555 #define DACC ((Dacc *)0x40040000U)
556 #define ACC ((Acc *)0x40044000U)
557 #define ICM ((Icm *)0x40048000U)
558 #define ISI ((Isi *)0x4004C000U)
559 #define GMAC ((Gmac *)0x40050000U)
560 #define TC3 ((Tc *)0x40054000U)
561 #define PWM1 ((Pwm *)0x4005C000U)
562 #define TWIHS2 ((Twihs *)0x40060000U)
563 #define AFEC1 ((Afec *)0x40064000U)
564 #define AES ((Aes *)0x4006C000U)
565 #define TRNG ((Trng *)0x40070000U)
566 #define XDMAC ((Xdmac *)0x40078000U)
567 #define QSPI ((Qspi *)0x4007C000U)
568 #define MATRIX ((Matrix *)0x40088000U)
569 #define UTMI ((Utmi *)0x400E0400U)
570 #define PMC ((Pmc *)0x400E0600U)
571 #define UART0 ((Uart *)0x400E0800U)
572 #define CHIPID ((Chipid *)0x400E0940U)
573 #define UART1 ((Uart *)0x400E0A00U)
574 #define EFC ((Efc *)0x400E0C00U)
575 #define PIOA ((Pio *)0x400E0E00U)
576 #define PIOB ((Pio *)0x400E1000U)
577 #define PIOD ((Pio *)0x400E1400U)
578 #define RSTC ((Rstc *)0x400E1800U)
579 #define SUPC ((Supc *)0x400E1810U)
580 #define RTT ((Rtt *)0x400E1830U)
581 #define WDT ((Wdt *)0x400E1850U)
582 #define RTC ((Rtc *)0x400E1860U)
583 #define GPBR ((Gpbr *)0x400E1890U)
584 #define RSWDT ((Rswdt *)0x400E1900U)
585 #define UART2 ((Uart *)0x400E1A00U)
586 #define UART3 ((Uart *)0x400E1C00U)
587 #define UART4 ((Uart *)0x400E1E00U)
588 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
589 
591 /* ************************************************************************** */
592 /* PIO DEFINITIONS FOR SAME70N20 */
593 /* ************************************************************************** */
596 
597 #include "pio/same70n20.h"
600 /* ************************************************************************** */
601 /* MEMORY MAPPING DEFINITIONS FOR SAME70N20 */
602 /* ************************************************************************** */
603 
604 #define IFLASH_SIZE (0x100000u)
605 #define IFLASH_PAGE_SIZE (512u)
606 #define IFLASH_LOCK_REGION_SIZE (8192u)
607 #define IFLASH_NB_OF_PAGES (2048u)
608 #define IFLASH_NB_OF_LOCK_BITS (64u)
609 #define IRAM_SIZE (0x60000u)
610 
611 #define QSPIMEM_ADDR (0x80000000u)
612 #define AXIMX_ADDR (0xA0000000u)
613 #define ITCM_ADDR (0x00000000u)
614 #define IFLASH_ADDR (0x00400000u)
615 #define IROM_ADDR (0x00800000u)
616 #define DTCM_ADDR (0x20000000u)
617 #define IRAM_ADDR (0x20400000u)
619 /* ************************************************************************** */
620 /* MISCELLANEOUS DEFINITIONS FOR SAME70N20 */
621 /* ************************************************************************** */
622 
623 #define CHIP_JTAGID (0x05B3D03FUL)
624 #define CHIP_CIDR (0xA1020C00UL)
625 #define CHIP_EXID (0x00000001UL)
626 
627 /* ************************************************************************** */
628 /* ELECTRICAL DEFINITIONS FOR SAME70N20 */
629 /* ************************************************************************** */
630 
631 /* %ATMEL_ELECTRICAL% */
632 
633 /* Device characteristics */
634 #define CHIP_FREQ_SLCK_RC_MIN (20000UL)
635 #define CHIP_FREQ_SLCK_RC (32000UL)
636 #define CHIP_FREQ_SLCK_RC_MAX (44000UL)
637 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL)
638 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL)
639 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL)
640 #define CHIP_FREQ_CPU_MAX (300000000UL)
641 #define CHIP_FREQ_XTAL_32K (32768UL)
642 #define CHIP_FREQ_XTAL_12M (12000000UL)
643 
644 /* Embedded Flash Read Wait State (for Worst-Case Conditions) */
645 #define CHIP_FREQ_FWS_0 (23000000UL)
646 #define CHIP_FREQ_FWS_1 (46000000UL)
647 #define CHIP_FREQ_FWS_2 (69000000UL)
648 #define CHIP_FREQ_FWS_3 (92000000UL)
649 #define CHIP_FREQ_FWS_4 (115000000UL)
650 #define CHIP_FREQ_FWS_5 (138000000UL)
651 #define CHIP_FREQ_FWS_6 (150000000UL)
653 #ifdef __cplusplus
654 }
655 #endif
656 
659 #endif /* _SAME70N20_ */
void ACC_Handler(void)
void USBHS_Handler(void)
Definition: USBD_HAL.c:1008
void * pvReserved62
Definition: same70j19.h:212
void DebugMon_Handler(void)
void * pfnAFEC1_Handler
Definition: same70j19.h:190
void * pfnUART4_Handler
Definition: same70n19.h:203
void * pfnXDMAC_Handler
Definition: same70j19.h:208
void DACC_Handler(void)
void * pfnUART3_Handler
Definition: same70n19.h:202
void * pfnPWM1_Handler
Definition: same70j19.h:210
void AFEC1_Handler(void)
Interrupt handler for AFEC1.
Definition: afec.c:566
void AFEC0_Handler(void)
Interrupt handler for AFEC0.
Definition: afec.c:558
void SSC_Handler(void)
void TC1_Handler(void)
void * pfnBusFault_Handler
Definition: same70j19.h:137
void PIOD_Handler(void)
void PendSV_Handler(void)
void * pfnTWIHS1_Handler
Definition: same70j19.h:170
void UsageFault_Handler(void)
Definition: rtos.c:226
void * pvReserved55
Definition: same70j19.h:205
void * pfnPIOB_Handler
Definition: same70j19.h:161
void UART0_Handler(void)
Definition: d_usartDMA.c:1641
void * pfnAFEC0_Handler
Definition: same70j19.h:179
void PWM1_Handler(void)
void * pvReserved72
Definition: same70j19.h:222
void * pfnTC11_Handler
Definition: same70j19.h:202
void * pvReserved73
Definition: same70j19.h:223
void PIOB_Handler(void)
void * pfnUART2_Handler
Definition: same70j19.h:194
void XDMAC_Handler(void)
Definition: d_usartDMA.c:704
void * pfnSSC_Handler
Definition: same70j19.h:172
void MCAN1_INT0_Handler(void)
void * pfnISI_Handler
Definition: same70j19.h:209
void * pfnHardFault_Handler
Definition: same70j19.h:135
void HSMCI_Handler(void)
void ICM_Handler(void)
enum IRQn IRQn_Type
void * pfnMCAN1_INT0_Handler
Definition: same70n19.h:194
void * pfnSVC_Handler
Definition: same70j19.h:143
void UART1_Handler(void)
Definition: d_usartDMA.c:1642
void * pfnUSART2_Handler
Definition: same70n19.h:172
void * pvReserved71
Definition: same70j19.h:221
void * pvStack
Definition: same70j19.h:130
void * pfnRSWDT_Handler
Definition: same70j19.h:213
void * pfnUSBHS_Handler
Definition: same70j19.h:184
void RSWDT_Handler(void)
void * pfnCCF_Handler
Definition: same70j19.h:215
void * pvReserved48
Definition: same70j19.h:198
void * pfnUSART0_Handler
Definition: same70j19.h:163
void * pfnPWM0_Handler
Definition: same70j19.h:181
void GMAC_Q2_Handler(void)
void * pfnGMAC_Handler
Definition: same70j19.h:189
void HardFault_Handler(void)
Definition: rtos.c:248
void * pvReserved9
Definition: same70j19.h:159
void USART1_Handler(void)
Definition: d_usartDMA.c:1647
void * pfnMemManage_Handler
Definition: same70j19.h:136
void * pfnDebugMon_Handler
Definition: same70j19.h:144
void GMAC_Q1_Handler(void)
void * pvReserved26
Definition: same70j19.h:176
void * pfnPIOD_Handler
Definition: same70j19.h:166
void CCF_Handler(void)
void RTC_Handler(void)
void NMI_Handler(void)
void * pfnTC2_Handler
Definition: same70j19.h:175
void CCW_Handler(void)
void * pfnHSMCI_Handler
Definition: same70n19.h:175
void TWIHS1_Handler(void)
void SVC_Handler(void)
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
void MCAN1_INT1_Handler(void)
void * pfnReset_Handler
Definition: same70j19.h:133
void IXC_Handler(void)
void * pvReserved42
Definition: same70j19.h:192
void USART2_Handler(void)
Definition: d_usartDMA.c:1648
void * pfnUART1_Handler
Definition: same70j19.h:158
void PMC_Handler(void)
void PIOA_Handler(void)
void TC9_Handler(void)
void * pfnSysTick_Handler
Definition: same70j19.h:147
void * pfnACC_Handler
Definition: same70j19.h:183
void * pfnWDT_Handler
Definition: same70j19.h:154
void MemManage_Handler(void)
Definition: rtos.c:196
void * pfnICM_Handler
Definition: same70j19.h:182
void * pfnCCW_Handler
Definition: same70j19.h:214
void * pfnFPU_Handler
Definition: same70j19.h:211
void * pfnIXC_Handler
Definition: same70j19.h:218
void QSPI_Handler(void)
void * pfnReserved2_Handler
Definition: same70j19.h:140
void * pfnReserved4_Handler
Definition: same70j19.h:142
void * pvReserved47
Definition: same70j19.h:197
void * pfnRTT_Handler
Definition: same70j19.h:153
void * pfnUSART1_Handler
Definition: same70j19.h:164
void ISI_Handler(void)
void * pfnAES_Handler
Definition: same70j19.h:206
void UART4_Handler(void)
Definition: d_usartDMA.c:1645
void TC10_Handler(void)
void * pvReserved27
Definition: same70j19.h:177
void * pfnPendSV_Handler
Definition: same70j19.h:146
void * pvReserved69
Definition: same70j19.h:219
void MCAN0_INT0_Handler(void)
void * pvReserved54
Definition: same70j19.h:204
void USART0_Handler(void)
Definition: d_usartDMA.c:1646
void * pfnMCAN1_INT1_Handler
Definition: same70n19.h:195
void RSTC_Handler(void)
void UART3_Handler(void)
Definition: d_usartDMA.c:1644
void * pvReserved53
Definition: same70j19.h:203
void * pfnTC0_Handler
Definition: same70j19.h:173
void * pfnTWIHS0_Handler
Definition: same70j19.h:169
void SUPC_Handler(void)
void * pfnGMAC_Q1_Handler
Definition: same70j19.h:216
void * pfnDACC_Handler
Definition: same70j19.h:180
void * pfnUART0_Handler
Definition: same70j19.h:157
void * pfnNMI_Handler
Definition: same70j19.h:134
void * pfnTC9_Handler
Definition: same70j19.h:200
void * pfnUsageFault_Handler
Definition: same70j19.h:138
void RTT_Handler(void)
Definition: d_time.c:22
void TWIHS0_Handler(void)
void * pfnTC10_Handler
Definition: same70j19.h:201
void MCAN0_Handler(void)
void MCAN0_INT1_Handler(void)
struct _DeviceVectors DeviceVectors
void TRNG_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 SPI0_Handler(void)
void * pfnPIOA_Handler
Definition: same70j19.h:160
IRQn
Definition: same70j19.h:62
void * pfnEFC_Handler
Definition: same70j19.h:156
void * pfnTRNG_Handler
Definition: same70j19.h:207
void * pvReserved17
Definition: same70j19.h:167
void BusFault_Handler(void)
Definition: rtos.c:211
void TWIHS2_Handler(void)
void * pfnGMAC_Q2_Handler
Definition: same70j19.h:217
void * pfnMCAN0_INT0_Handler
Definition: same70j19.h:185
void GMAC_Handler(void)
void * pfnMCAN0_INT1_Handler
Definition: same70j19.h:186
void PWM0_Handler(void)
void * pfnTWIHS2_Handler
Definition: same70n19.h:198
void MCAN1_Handler(void)
void * pfnRTC_Handler
Definition: same70j19.h:152
void EFC_Handler(void)
void TC11_Handler(void)
void * pfnSPI0_Handler
Definition: same70n19.h:178
void AES_Handler(void)
void * pfnReserved3_Handler
Definition: same70j19.h:141
void FPU_Handler(void)
void * pfnReserved5_Handler
Definition: same70j19.h:145
void TC2_Handler(void)
void * pvReserved49
Definition: same70j19.h:199
void * pfnTC1_Handler
Definition: same70j19.h:174
void * pvReserved70
Definition: same70j19.h:220
void * pvReserved12
Definition: same70j19.h:162
void UART2_Handler(void)
Definition: d_usartDMA.c:1643
void * pfnPMC_Handler
Definition: same70j19.h:155
void * pfnQSPI_Handler
Definition: same70j19.h:193
void * pfnRSTC_Handler
Definition: same70j19.h:151
void WDT_Handler(void)
void * pfnSUPC_Handler
Definition: same70j19.h:150
void * pfnReserved1_Handler
Definition: same70j19.h:139
void TC0_Handler(void)
void SysTick_Handler(void)
void * pvReserved28
Definition: same70j19.h:178


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58