same70n21b.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 _SAME70N21B_
36 #define _SAME70N21B_
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 SAME70N21B */
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 /****** SAME70N21B 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,
131  I2SC0_IRQn = 69,
137 } IRQn_Type;
138 
139 typedef struct _DeviceVectors
140 {
141  /* Stack pointer */
142  void* pvStack;
143 
144  /* Cortex-M handlers */
145  void* pfnReset_Handler;
146  void* pfnNMI_Handler;
147  void* pfnHardFault_Handler;
148  void* pfnMemManage_Handler;
149  void* pfnBusFault_Handler;
150  void* pfnUsageFault_Handler;
151  void* pfnReserved1_Handler;
152  void* pfnReserved2_Handler;
153  void* pfnReserved3_Handler;
154  void* pfnReserved4_Handler;
155  void* pfnSVC_Handler;
156  void* pfnDebugMon_Handler;
157  void* pfnReserved5_Handler;
158  void* pfnPendSV_Handler;
159  void* pfnSysTick_Handler;
160 
161  /* Peripheral handlers */
162  void* pfnSUPC_Handler; /* 0 Supply Controller */
163  void* pfnRSTC_Handler; /* 1 Reset Controller */
164  void* pfnRTC_Handler; /* 2 Real Time Clock */
165  void* pfnRTT_Handler; /* 3 Real Time Timer */
166  void* pfnWDT_Handler; /* 4 Watchdog Timer */
167  void* pfnPMC_Handler; /* 5 Power Management Controller */
168  void* pfnEFC_Handler; /* 6 Enhanced Embedded Flash Controller */
169  void* pfnUART0_Handler; /* 7 UART 0 */
170  void* pfnUART1_Handler; /* 8 UART 1 */
171  void* pvReserved9;
172  void* pfnPIOA_Handler; /* 10 Parallel I/O Controller A */
173  void* pfnPIOB_Handler; /* 11 Parallel I/O Controller B */
174  void* pvReserved12;
175  void* pfnUSART0_Handler; /* 13 USART 0 */
176  void* pfnUSART1_Handler; /* 14 USART 1 */
177  void* pfnUSART2_Handler; /* 15 USART 2 */
178  void* pfnPIOD_Handler; /* 16 Parallel I/O Controller D */
179  void* pvReserved17;
180  void* pfnHSMCI_Handler; /* 18 Multimedia Card Interface */
181  void* pfnTWIHS0_Handler; /* 19 Two Wire Interface 0 HS */
182  void* pfnTWIHS1_Handler; /* 20 Two Wire Interface 1 HS */
183  void* pfnSPI0_Handler; /* 21 Serial Peripheral Interface 0 */
184  void* pfnSSC_Handler; /* 22 Synchronous Serial Controller */
185  void* pfnTC0_Handler; /* 23 Timer/Counter 0 */
186  void* pfnTC1_Handler; /* 24 Timer/Counter 1 */
187  void* pfnTC2_Handler; /* 25 Timer/Counter 2 */
188  void* pvReserved26;
189  void* pvReserved27;
190  void* pvReserved28;
191  void* pfnAFEC0_Handler; /* 29 Analog Front End 0 */
192  void* pfnDACC_Handler; /* 30 Digital To Analog Converter */
193  void* pfnPWM0_Handler; /* 31 Pulse Width Modulation 0 */
194  void* pfnICM_Handler; /* 32 Integrity Check Monitor */
195  void* pfnACC_Handler; /* 33 Analog Comparator */
196  void* pfnUSBHS_Handler; /* 34 USB Host / Device Controller */
197  void* pfnMCAN0_INT0_Handler; /* 35 Controller Area Network (MCAN0) */
198  void* pfnMCAN0_INT1_Handler; /* 36 Controller Area Network (MCAN0) */
199  void* pfnMCAN1_INT0_Handler; /* 37 Controller Area Network (MCAN1) */
200  void* pfnMCAN1_INT1_Handler; /* 38 Controller Area Network (MCAN1) */
201  void* pfnGMAC_Handler; /* 39 Ethernet MAC */
202  void* pfnAFEC1_Handler; /* 40 Analog Front End 1 */
203  void* pfnTWIHS2_Handler; /* 41 Two Wire Interface 2 HS */
204  void* pvReserved42;
205  void* pfnQSPI_Handler; /* 43 Quad I/O Serial Peripheral Interface */
206  void* pfnUART2_Handler; /* 44 UART 2 */
207  void* pfnUART3_Handler; /* 45 UART 3 */
208  void* pfnUART4_Handler; /* 46 UART 4 */
209  void* pvReserved47;
210  void* pvReserved48;
211  void* pvReserved49;
212  void* pfnTC9_Handler; /* 50 Timer/Counter 9 */
213  void* pfnTC10_Handler; /* 51 Timer/Counter 10 */
214  void* pfnTC11_Handler; /* 52 Timer/Counter 11 */
215  void* pvReserved53;
216  void* pvReserved54;
217  void* pvReserved55;
218  void* pfnAES_Handler; /* 56 AES */
219  void* pfnTRNG_Handler; /* 57 True Random Generator */
220  void* pfnXDMAC_Handler; /* 58 DMA */
221  void* pfnISI_Handler; /* 59 Camera Interface */
222  void* pfnPWM1_Handler; /* 60 Pulse Width Modulation 1 */
223  void* pfnFPU_Handler; /* 61 Floating Point Unit Registers (FPU) */
224  void* pvReserved62;
225  void* pfnRSWDT_Handler; /* 63 Reinforced Safety Watchdog Timer (RSWDT) */
226  void* pfnCCW_Handler; /* 64 System Control Registers (SystemControl) */
227  void* pfnCCF_Handler; /* 65 System Control Registers (SystemControl) */
228  void* pfnGMAC_Q1_Handler;/* 66 Gigabit Ethernet MAC (GMAC) */
229  void* pfnGMAC_Q2_Handler;/* 67 Gigabit Ethernet MAC (GMAC) */
230  void* pfnIXC_Handler; /* 68 Floating Point Unit Registers (FPU) */
231  void* pfnI2SC0_Handler; /* 69 Inter-IC Sound Controller (I2SC0) */
232  void* pvReserved70;
233  void* pfnGMAC_Q3_Handler;/* 71 Gigabit Ethernet MAC (GMAC) */
234  void* pfnGMAC_Q4_Handler;/* 72 Gigabit Ethernet MAC (GMAC) */
235  void* pfnGMAC_Q5_Handler;/* 73 Gigabit Ethernet MAC (GMAC) */
236 } DeviceVectors;
237 
238 /* Cortex-M7 core handlers */
239 void Reset_Handler ( void );
240 void NMI_Handler ( void );
241 void HardFault_Handler ( void );
242 void MemManage_Handler ( void );
243 void BusFault_Handler ( void );
244 void UsageFault_Handler ( void );
245 void SVC_Handler ( void );
246 void DebugMon_Handler ( void );
247 void PendSV_Handler ( void );
248 void SysTick_Handler ( void );
249 
250 /* Peripherals handlers */
251 void ACC_Handler ( void );
252 void AES_Handler ( void );
253 void AFEC0_Handler ( void );
254 void AFEC1_Handler ( void );
255 void CCF_Handler ( void );
256 void CCW_Handler ( void );
257 void DACC_Handler ( void );
258 void EFC_Handler ( void );
259 void FPU_Handler ( void );
260 void GMAC_Handler ( void );
261 void HSMCI_Handler ( void );
262 void ICM_Handler ( void );
263 void ISI_Handler ( void );
264 void I2SC0_Handler ( void );
265 void IXC_Handler ( void );
266 void MCAN0_INT0_Handler ( void );
267 void MCAN0_INT1_Handler ( void );
268 void MCAN1_INT0_Handler ( void );
269 void MCAN1_INT1_Handler ( void );
270 void PIOA_Handler ( void );
271 void PIOB_Handler ( void );
272 void PIOD_Handler ( void );
273 void PMC_Handler ( void );
274 void PWM0_Handler ( void );
275 void PWM1_Handler ( void );
276 void GMAC_Q1_Handler ( void );
277 void GMAC_Q2_Handler ( void );
278 void GMAC_Q3_Handler ( void );
279 void GMAC_Q4_Handler ( void );
280 void GMAC_Q5_Handler ( void );
281 void QSPI_Handler ( void );
282 void RSTC_Handler ( void );
283 void RSWDT_Handler ( void );
284 void RTC_Handler ( void );
285 void RTT_Handler ( void );
286 void SPI0_Handler ( void );
287 void SSC_Handler ( void );
288 void SUPC_Handler ( void );
289 void TC0_Handler ( void );
290 void TC1_Handler ( void );
291 void TC2_Handler ( void );
292 void TC9_Handler ( void );
293 void TC10_Handler ( void );
294 void TC11_Handler ( void );
295 void TRNG_Handler ( void );
296 void TWIHS0_Handler ( void );
297 void TWIHS1_Handler ( void );
298 void TWIHS2_Handler ( void );
299 void UART0_Handler ( void );
300 void UART1_Handler ( void );
301 void UART2_Handler ( void );
302 void UART3_Handler ( void );
303 void UART4_Handler ( void );
304 void USART0_Handler ( void );
305 void USART1_Handler ( void );
306 void USART2_Handler ( void );
307 void USBHS_Handler ( void );
308 void WDT_Handler ( void );
309 void XDMAC_Handler ( void );
310 
315 #define __CM7_REV 0x0000
316 #define __MPU_PRESENT 1
317 #define __NVIC_PRIO_BITS 3
318 #define __FPU_PRESENT 1
319 #define __FPU_DP 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
327 /*
328  * \brief CMSIS includes
329  */
330 
331 #include <core_cm7.h>
332 #if !defined DONT_USE_CMSIS_INIT
333 #include "system_same70.h"
334 #endif /* DONT_USE_CMSIS_INIT */
335 
338 /* ************************************************************************** */
340 /* ************************************************************************** */
343 
344 #include "component/acc.h"
345 #include "component/aes.h"
346 #include "component/afec.h"
347 #include "component/chipid.h"
348 #include "component/dacc.h"
349 #include "component/efc.h"
350 #include "component/gmac.h"
351 #include "component/gpbr.h"
352 #include "component/hsmci.h"
353 #include "component/i2sc.h"
354 #include "component/icm.h"
355 #include "component/isi.h"
356 #include "component/matrix.h"
357 #include "component/mcan.h"
358 #include "component/pio.h"
359 #include "component/pmc.h"
360 #include "component/pwm.h"
361 #include "component/qspi.h"
362 #include "component/rstc.h"
363 #include "component/rswdt.h"
364 #include "component/rtc.h"
365 #include "component/rtt.h"
366 #include "component/spi.h"
367 #include "component/ssc.h"
368 #include "component/supc.h"
369 #include "component/tc.h"
370 #include "component/trng.h"
371 #include "component/twihs.h"
372 #include "component/uart.h"
373 #include "component/usart.h"
374 #include "component/usbhs.h"
375 #include "component/utmi.h"
376 #include "component/wdt.h"
377 #include "component/xdmac.h"
380 /* ************************************************************************** */
381 /* REGISTER ACCESS DEFINITIONS FOR SAME70N21B */
382 /* ************************************************************************** */
385 
386 #include "instance/hsmci.h"
387 #include "instance/ssc.h"
388 #include "instance/spi0.h"
389 #include "instance/tc0.h"
390 #include "instance/twihs0.h"
391 #include "instance/twihs1.h"
392 #include "instance/pwm0.h"
393 #include "instance/usart0.h"
394 #include "instance/usart1.h"
395 #include "instance/usart2.h"
396 #include "instance/mcan0.h"
397 #include "instance/mcan1.h"
398 #include "instance/usbhs.h"
399 #include "instance/afec0.h"
400 #include "instance/dacc.h"
401 #include "instance/acc.h"
402 #include "instance/icm.h"
403 #include "instance/isi.h"
404 #include "instance/gmac.h"
405 #include "instance/tc3.h"
406 #include "instance/pwm1.h"
407 #include "instance/twihs2.h"
408 #include "instance/afec1.h"
409 #include "instance/aes.h"
410 #include "instance/trng.h"
411 #include "instance/xdmac.h"
412 #include "instance/qspi.h"
413 #include "instance/matrix.h"
414 #include "instance/i2sc0.h"
415 #include "instance/utmi.h"
416 #include "instance/pmc.h"
417 #include "instance/uart0.h"
418 #include "instance/chipid.h"
419 #include "instance/uart1.h"
420 #include "instance/efc.h"
421 #include "instance/pioa.h"
422 #include "instance/piob.h"
423 #include "instance/piod.h"
424 #include "instance/rstc.h"
425 #include "instance/supc.h"
426 #include "instance/rtt.h"
427 #include "instance/wdt.h"
428 #include "instance/rtc.h"
429 #include "instance/gpbr.h"
430 #include "instance/rswdt.h"
431 #include "instance/uart2.h"
432 #include "instance/uart3.h"
433 #include "instance/uart4.h"
436 /* ************************************************************************** */
437 /* PERIPHERAL ID DEFINITIONS FOR SAME70N21B */
438 /* ************************************************************************** */
441 
442 #define ID_SUPC ( 0)
443 #define ID_RSTC ( 1)
444 #define ID_RTC ( 2)
445 #define ID_RTT ( 3)
446 #define ID_WDT ( 4)
447 #define ID_PMC ( 5)
448 #define ID_EFC ( 6)
449 #define ID_UART0 ( 7)
450 #define ID_UART1 ( 8)
451 #define ID_PIOA (10)
452 #define ID_PIOB (11)
453 #define ID_USART0 (13)
454 #define ID_USART1 (14)
455 #define ID_USART2 (15)
456 #define ID_PIOD (16)
457 #define ID_HSMCI (18)
458 #define ID_TWIHS0 (19)
459 #define ID_TWIHS1 (20)
460 #define ID_SPI0 (21)
461 #define ID_SSC (22)
462 #define ID_TC0 (23)
463 #define ID_TC1 (24)
464 #define ID_TC2 (25)
465 #define ID_AFEC0 (29)
466 #define ID_DACC (30)
467 #define ID_PWM0 (31)
468 #define ID_ICM (32)
469 #define ID_ACC (33)
470 #define ID_USBHS (34)
471 #define ID_MCAN0 (35)
472 #define ID_MCAN1 (37)
473 #define ID_GMAC (39)
474 #define ID_AFEC1 (40)
475 #define ID_TWIHS2 (41)
476 #define ID_QSPI (43)
477 #define ID_UART2 (44)
478 #define ID_UART3 (45)
479 #define ID_UART4 (46)
480 #define ID_TC9 (50)
481 #define ID_TC10 (51)
482 #define ID_TC11 (52)
483 #define ID_AES (56)
484 #define ID_TRNG (57)
485 #define ID_XDMAC (58)
486 #define ID_ISI (59)
487 #define ID_PWM1 (60)
488 #define ID_RSWDT (63)
489 #define ID_IXC (68)
490 #define ID_I2SC0 (69)
492 #define ID_PERIPH_COUNT (74)
494 
495 /* ************************************************************************** */
496 /* BASE ADDRESS DEFINITIONS FOR SAME70N21B */
497 /* ************************************************************************** */
500 
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)
550 #else
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)
599 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
600 
602 /* ************************************************************************** */
603 /* PIO DEFINITIONS FOR SAME70N21B */
604 /* ************************************************************************** */
607 
608 #include "pio/same70n21b.h"
611 /* ************************************************************************** */
612 /* MEMORY MAPPING DEFINITIONS FOR SAME70N21 */
613 /* ************************************************************************** */
614 
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)
621 
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)
630 /* ************************************************************************** */
631 /* MISCELLANEOUS DEFINITIONS FOR SAME70N21B */
632 /* ************************************************************************** */
633 
634 #define CHIP_JTAGID (0x05B3D03FUL)
635 #define CHIP_CIDR (0xA1020E01UL)
636 #define CHIP_EXID (0x00000001UL)
637 
638 /* ************************************************************************** */
639 /* ELECTRICAL DEFINITIONS FOR SAME70N21B */
640 /* ************************************************************************** */
641 
642 /* %ATMEL_ELECTRICAL% */
643 
644 /* Device characteristics */
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)
654 
655 /* Embedded Flash Read Wait State (for Worst-Case Conditions) */
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)
664 #ifdef __cplusplus
665 }
666 #endif
667 
670 #endif /* _SAME70N21B_ */
void SUPC_Handler(void)
void * pvReserved62
Definition: same70j19.h:212
enum IRQn IRQn_Type
void * pfnAFEC1_Handler
Definition: same70j19.h:190
void NMI_Handler(void)
void * pfnUART4_Handler
Definition: same70n19.h:203
void AES_Handler(void)
void * pfnXDMAC_Handler
Definition: same70j19.h:208
void * pfnUART3_Handler
Definition: same70n19.h:202
void * pfnPWM1_Handler
Definition: same70j19.h:210
void TRNG_Handler(void)
void IXC_Handler(void)
void * pfnBusFault_Handler
Definition: same70j19.h:137
void * pfnTWIHS1_Handler
Definition: same70j19.h:170
void * pvReserved55
Definition: same70j19.h:205
void * pfnPIOB_Handler
Definition: same70j19.h:161
void * pfnGMAC_Q5_Handler
Definition: same70j19b.h:226
void GMAC_Q4_Handler(void)
void * pfnAFEC0_Handler
Definition: same70j19.h:179
void MCAN0_INT0_Handler(void)
void * pfnTC11_Handler
Definition: same70j19.h:202
void TC9_Handler(void)
void RTC_Handler(void)
void UART3_Handler(void)
Definition: d_usartDMA.c:1644
void * pfnUART2_Handler
Definition: same70j19.h:194
void AFEC1_Handler(void)
Interrupt handler for AFEC1.
Definition: afec.c:566
void * pfnSSC_Handler
Definition: same70j19.h:172
void * pfnISI_Handler
Definition: same70j19.h:209
void GMAC_Q2_Handler(void)
void CCW_Handler(void)
void * pfnHardFault_Handler
Definition: same70j19.h:135
void CCF_Handler(void)
void TWIHS1_Handler(void)
void * pfnMCAN1_INT0_Handler
Definition: same70n19.h:194
void * pfnSVC_Handler
Definition: same70j19.h:143
void UART0_Handler(void)
Definition: d_usartDMA.c:1641
void Reset_Handler(void)
This is the code that gets called on processor reset. To initialize the device, and call the main() r...
void * pfnUSART2_Handler
Definition: same70n19.h:172
void * pfnGMAC_Q3_Handler
Definition: same70j19b.h:224
void * pvStack
Definition: same70j19.h:130
void * pfnRSWDT_Handler
Definition: same70j19.h:213
void * pfnUSBHS_Handler
Definition: same70j19.h:184
void RTT_Handler(void)
Definition: d_time.c:22
void * pfnCCF_Handler
Definition: same70j19.h:215
void GMAC_Q3_Handler(void)
void UART2_Handler(void)
Definition: d_usartDMA.c:1643
void RSWDT_Handler(void)
void * pvReserved48
Definition: same70j19.h:198
void * pfnUSART0_Handler
Definition: same70j19.h:163
void XDMAC_Handler(void)
Definition: d_usartDMA.c:704
void * pfnPWM0_Handler
Definition: same70j19.h:181
void * pfnGMAC_Handler
Definition: same70j19.h:189
void USBHS_Handler(void)
Definition: USBD_HAL.c:1008
void * pvReserved9
Definition: same70j19.h:159
struct _DeviceVectors DeviceVectors
void * pfnMemManage_Handler
Definition: same70j19.h:136
void * pfnDebugMon_Handler
Definition: same70j19.h:144
void * pvReserved26
Definition: same70j19.h:176
void GMAC_Q5_Handler(void)
void UART4_Handler(void)
Definition: d_usartDMA.c:1645
void UART1_Handler(void)
Definition: d_usartDMA.c:1642
void * pfnPIOD_Handler
Definition: same70j19.h:166
void * pfnGMAC_Q4_Handler
Definition: same70j19b.h:225
void UsageFault_Handler(void)
Definition: rtos.c:226
void USART2_Handler(void)
Definition: d_usartDMA.c:1648
void * pfnTC2_Handler
Definition: same70j19.h:175
void SVC_Handler(void)
void ICM_Handler(void)
void DACC_Handler(void)
void GMAC_Q1_Handler(void)
void * pfnHSMCI_Handler
Definition: same70n19.h:175
void USART1_Handler(void)
Definition: d_usartDMA.c:1647
void TC11_Handler(void)
void PIOA_Handler(void)
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
void * pfnReset_Handler
Definition: same70j19.h:133
void * pvReserved42
Definition: same70j19.h:192
void * pfnUART1_Handler
Definition: same70j19.h:158
void * pfnSysTick_Handler
Definition: same70j19.h:147
void * pfnACC_Handler
Definition: same70j19.h:183
void * pfnWDT_Handler
Definition: same70j19.h:154
void * pfnICM_Handler
Definition: same70j19.h:182
void * pfnCCW_Handler
Definition: same70j19.h:214
void SSC_Handler(void)
void SPI0_Handler(void)
void * pfnFPU_Handler
Definition: same70j19.h:211
void * pfnIXC_Handler
Definition: same70j19.h:218
void * pfnReserved2_Handler
Definition: same70j19.h:140
void HardFault_Handler(void)
Definition: rtos.c:248
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 PMC_Handler(void)
void * pfnAES_Handler
Definition: same70j19.h:206
void TC0_Handler(void)
void MemManage_Handler(void)
Definition: rtos.c:196
void * pvReserved27
Definition: same70j19.h:177
void HSMCI_Handler(void)
void * pfnPendSV_Handler
Definition: same70j19.h:146
void USART0_Handler(void)
Definition: d_usartDMA.c:1646
void * pvReserved54
Definition: same70j19.h:204
void * pfnMCAN1_INT1_Handler
Definition: same70n19.h:195
void MCAN1_INT0_Handler(void)
void * pvReserved53
Definition: same70j19.h:203
void * pfnTC0_Handler
Definition: same70j19.h:173
void PendSV_Handler(void)
void * pfnTWIHS0_Handler
Definition: same70j19.h:169
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 PWM0_Handler(void)
void * pfnTC10_Handler
Definition: same70j19.h:201
void TWIHS0_Handler(void)
void * pfnI2SC0_Handler
Definition: same70n19b.h:230
void EFC_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 MCAN0_INT1_Handler(void)
void TWIHS2_Handler(void)
void * pvReserved17
Definition: same70j19.h:167
void GMAC_Handler(void)
void PIOD_Handler(void)
void * pfnGMAC_Q2_Handler
Definition: same70j19.h:217
void * pfnMCAN0_INT0_Handler
Definition: same70j19.h:185
void DebugMon_Handler(void)
void TC2_Handler(void)
void QSPI_Handler(void)
void * pfnMCAN0_INT1_Handler
Definition: same70j19.h:186
void SysTick_Handler(void)
void ACC_Handler(void)
void * pfnTWIHS2_Handler
Definition: same70n19.h:198
void * pfnRTC_Handler
Definition: same70j19.h:152
void TC1_Handler(void)
void * pfnSPI0_Handler
Definition: same70n19.h:178
void * pfnReserved3_Handler
Definition: same70j19.h:141
void FPU_Handler(void)
void AFEC0_Handler(void)
Interrupt handler for AFEC0.
Definition: afec.c:558
void * pfnReserved5_Handler
Definition: same70j19.h:145
void MCAN1_INT1_Handler(void)
void * pvReserved49
Definition: same70j19.h:199
void * pfnTC1_Handler
Definition: same70j19.h:174
void * pvReserved70
Definition: same70j19.h:220
void TC10_Handler(void)
void * pvReserved12
Definition: same70j19.h:162
void BusFault_Handler(void)
Definition: rtos.c:211
void * pfnPMC_Handler
Definition: same70j19.h:155
void PIOB_Handler(void)
void * pfnQSPI_Handler
Definition: same70j19.h:193
void * pfnRSTC_Handler
Definition: same70j19.h:151
void * pfnSUPC_Handler
Definition: same70j19.h:150
void I2SC0_Handler(void)
void * pfnReserved1_Handler
Definition: same70j19.h:139
void WDT_Handler(void)
void ISI_Handler(void)
void PWM1_Handler(void)
void RSTC_Handler(void)
void * pvReserved28
Definition: same70j19.h:178


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