RTEMS  5.1
same70j19.h
1 /* ---------------------------------------------------------------------------- */
2 /* Atmel Microcontroller Software Support */
3 /* SAM Software Package License */
4 /* ---------------------------------------------------------------------------- */
5 /* Copyright (c) 2015, Atmel Corporation */
6 /* */
7 /* All rights reserved. */
8 /* */
9 /* Redistribution and use in source and binary forms, with or without */
10 /* modification, are permitted provided that the following condition is met: */
11 /* */
12 /* - Redistributions of source code must retain the above copyright notice, */
13 /* this list of conditions and the disclaimer below. */
14 /* */
15 /* Atmel's name may not be used to endorse or promote products derived from */
16 /* this software without specific prior written permission. */
17 /* */
18 /* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR */
19 /* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
20 /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE */
21 /* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, */
22 /* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
23 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
24 /* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
25 /* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
26 /* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */
27 /* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
28 /* ---------------------------------------------------------------------------- */
29 
30 #ifndef _SAME70J19_
31 #define _SAME70J19_
32 
41 
42 #ifdef __cplusplus
43  extern "C" {
44 #endif
45 
46 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
47 #include <stdint.h>
48 #endif
49 
50 /* ************************************************************************** */
51 /* CMSIS DEFINITIONS FOR SAME70J19 */
52 /* ************************************************************************** */
55 
57 typedef enum IRQn
58 {
59 /****** Cortex-M7 Processor Exceptions Numbers ******************************/
63  BusFault_IRQn = -11,
65  SVCall_IRQn = -5,
67  PendSV_IRQn = -2,
68  SysTick_IRQn = -1,
69 /****** SAME70J19 specific Interrupt Numbers *********************************/
70 
71  SUPC_IRQn = 0,
72  RSTC_IRQn = 1,
73  RTC_IRQn = 2,
74  RTT_IRQn = 3,
75  WDT_IRQn = 4,
76  PMC_IRQn = 5,
77  EFC_IRQn = 6,
78  UART0_IRQn = 7,
79  UART1_IRQn = 8,
80  PIOA_IRQn = 10,
81  PIOB_IRQn = 11,
82  USART0_IRQn = 13,
83  USART1_IRQn = 14,
84  USART2_IRQn = 15,
85  PIOD_IRQn = 16,
86  TWIHS0_IRQn = 19,
87  TWIHS1_IRQn = 20,
88  SPI0_IRQn = 21,
89  SSC_IRQn = 22,
90  TC0_IRQn = 23,
91  TC1_IRQn = 24,
92  TC2_IRQn = 25,
93  AFEC0_IRQn = 29,
94  DACC_IRQn = 30,
95  PWM0_IRQn = 31,
96  ICM_IRQn = 32,
97  ACC_IRQn = 33,
98  USBHS_IRQn = 34,
99  MCAN0_IRQn = 35,
100  MCAN1_IRQn = 37,
101  GMAC_IRQn = 39,
102  AFEC1_IRQn = 40,
103  SPI1_IRQn = 42,
104  QSPI_IRQn = 43,
105  UART2_IRQn = 44,
106  UART3_IRQn = 45,
107  UART4_IRQn = 46,
108  TC9_IRQn = 50,
109  TC10_IRQn = 51,
110  TC11_IRQn = 52,
111  AES_IRQn = 56,
112  TRNG_IRQn = 57,
113  XDMAC_IRQn = 58,
114  ISI_IRQn = 59,
115  PWM1_IRQn = 60,
116  RSWDT_IRQn = 63,
119 } IRQn_Type;
120 
121 typedef struct _DeviceVectors
122 {
123  /* Stack pointer */
124  void* pvStack;
125 
126  /* Cortex-M handlers */
127  void* pfnReset_Handler;
128  void* pfnNMI_Handler;
129  void* pfnHardFault_Handler;
130  void* pfnMemManage_Handler;
131  void* pfnBusFault_Handler;
132  void* pfnUsageFault_Handler;
133  void* pfnReserved1_Handler;
134  void* pfnReserved2_Handler;
135  void* pfnReserved3_Handler;
136  void* pfnReserved4_Handler;
137  void* pfnSVC_Handler;
138  void* pfnDebugMon_Handler;
139  void* pfnReserved5_Handler;
140  void* pfnPendSV_Handler;
141  void* pfnSysTick_Handler;
142 
143  /* Peripheral handlers */
144  void* pfnSUPC_Handler; /* 0 Supply Controller */
145  void* pfnRSTC_Handler; /* 1 Reset Controller */
146  void* pfnRTC_Handler; /* 2 Real Time Clock */
147  void* pfnRTT_Handler; /* 3 Real Time Timer */
148  void* pfnWDT_Handler; /* 4 Watchdog Timer */
149  void* pfnPMC_Handler; /* 5 Power Management Controller */
150  void* pfnEFC_Handler; /* 6 Enhanced Embedded Flash Controller */
151  void* pfnUART0_Handler; /* 7 UART 0 */
152  void* pfnUART1_Handler; /* 8 UART 1 */
153  void* pvReserved9;
154  void* pfnPIOA_Handler; /* 10 Parallel I/O Controller A */
155  void* pfnPIOB_Handler; /* 11 Parallel I/O Controller B */
156  void* pvReserved12;
157  void* pfnUSART0_Handler; /* 13 USART 0 */
158  void* pfnUSART1_Handler; /* 14 USART 1 */
159  void* pfnUSART2_Handler; /* 15 USART 2 */
160  void* pfnPIOD_Handler; /* 16 Parallel I/O Controller D */
161  void* pvReserved17;
162  void* pvReserved18;
163  void* pfnTWIHS0_Handler; /* 19 Two Wire Interface 0 HS */
164  void* pfnTWIHS1_Handler; /* 20 Two Wire Interface 1 HS */
165  void* pfnSPI0_Handler; /* 21 Serial Peripheral Interface 0 */
166  void* pfnSSC_Handler; /* 22 Synchronous Serial Controller */
167  void* pfnTC0_Handler; /* 23 Timer/Counter 0 */
168  void* pfnTC1_Handler; /* 24 Timer/Counter 1 */
169  void* pfnTC2_Handler; /* 25 Timer/Counter 2 */
170  void* pvReserved26;
171  void* pvReserved27;
172  void* pvReserved28;
173  void* pfnAFEC0_Handler; /* 29 Analog Front End 0 */
174  void* pfnDACC_Handler; /* 30 Digital To Analog Converter */
175  void* pfnPWM0_Handler; /* 31 Pulse Width Modulation 0 */
176  void* pfnICM_Handler; /* 32 Integrity Check Monitor */
177  void* pfnACC_Handler; /* 33 Analog Comparator */
178  void* pfnUSBHS_Handler; /* 34 USB Host / Device Controller */
179  void* pfnMCAN0_Handler; /* 35 MCAN Controller 0 */
180  void* pvReserved36;
181  void* pfnMCAN1_Handler; /* 37 MCAN Controller 1 */
182  void* pvReserved38;
183  void* pfnGMAC_Handler; /* 39 Ethernet MAC */
184  void* pfnAFEC1_Handler; /* 40 Analog Front End 1 */
185  void* pvReserved41;
186  void* pfnSPI1_Handler; /* 42 Serial Peripheral Interface 1 */
187  void* pfnQSPI_Handler; /* 43 Quad I/O Serial Peripheral Interface */
188  void* pfnUART2_Handler; /* 44 UART 2 */
189  void* pfnUART3_Handler; /* 45 UART 3 */
190  void* pfnUART4_Handler; /* 46 UART 4 */
191  void* pvReserved47;
192  void* pvReserved48;
193  void* pvReserved49;
194  void* pfnTC9_Handler; /* 50 Timer/Counter 9 */
195  void* pfnTC10_Handler; /* 51 Timer/Counter 10 */
196  void* pfnTC11_Handler; /* 52 Timer/Counter 11 */
197  void* pvReserved53;
198  void* pvReserved54;
199  void* pvReserved55;
200  void* pfnAES_Handler; /* 56 AES */
201  void* pfnTRNG_Handler; /* 57 True Random Generator */
202  void* pfnXDMAC_Handler; /* 58 DMA */
203  void* pfnISI_Handler; /* 59 Camera Interface */
204  void* pfnPWM1_Handler; /* 60 Pulse Width Modulation 1 */
205  void* pvReserved61;
206  void* pvReserved62;
207  void* pfnRSWDT_Handler; /* 63 Reinforced Secure Watchdog Timer */
208 } DeviceVectors;
209 
210 /* Cortex-M7 core handlers */
211 void Reset_Handler ( void );
212 void NMI_Handler ( void );
213 void HardFault_Handler ( void );
214 void MemManage_Handler ( void );
215 void BusFault_Handler ( void );
216 void UsageFault_Handler ( void );
217 void SVC_Handler ( void );
218 void DebugMon_Handler ( void );
219 void PendSV_Handler ( void );
220 void SysTick_Handler ( void );
221 
222 /* Peripherals handlers */
223 void ACC_Handler ( void );
224 void AES_Handler ( void );
225 void AFEC0_Handler ( void );
226 void AFEC1_Handler ( void );
227 void DACC_Handler ( void );
228 void EFC_Handler ( void );
229 void GMAC_Handler ( void );
230 void ICM_Handler ( void );
231 void ISI_Handler ( void );
232 void MCAN0_Handler ( void );
233 void MCAN1_Handler ( void );
234 void PIOA_Handler ( void );
235 void PIOB_Handler ( void );
236 void PIOD_Handler ( void );
237 void PMC_Handler ( void );
238 void PWM0_Handler ( void );
239 void PWM1_Handler ( void );
240 void QSPI_Handler ( void );
241 void RSTC_Handler ( void );
242 void RSWDT_Handler ( void );
243 void RTC_Handler ( void );
244 void RTT_Handler ( void );
245 void SPI0_Handler ( void );
246 void SPI1_Handler ( void );
247 void SSC_Handler ( void );
248 void SUPC_Handler ( void );
249 void TC0_Handler ( void );
250 void TC1_Handler ( void );
251 void TC2_Handler ( void );
252 void TC9_Handler ( void );
253 void TC10_Handler ( void );
254 void TC11_Handler ( void );
255 void TRNG_Handler ( void );
256 void TWIHS0_Handler ( void );
257 void TWIHS1_Handler ( void );
258 void UART0_Handler ( void );
259 void UART1_Handler ( void );
260 void UART2_Handler ( void );
261 void UART3_Handler ( void );
262 void UART4_Handler ( void );
263 void USART0_Handler ( void );
264 void USART1_Handler ( void );
265 void USART2_Handler ( void );
266 void USBHS_Handler ( void );
267 void WDT_Handler ( void );
268 void XDMAC_Handler ( void );
269 
274 #define __CM7_REV 0x0000
275 #define __MPU_PRESENT 1
276 #define __NVIC_PRIO_BITS 3
277 #define __FPU_PRESENT 1
278 #define __FPU_DP 1
279 #define __ICACHE_PRESENT 1
280 #define __DCACHE_PRESENT 1
281 #define __DTCM_PRESENT 1
282 #define __ITCM_PRESENT 1
283 #define __Vendor_SysTickConfig 0
285 /*
286  * \brief CMSIS includes
287  */
288 
289 #include <core_cm7.h>
290 #if !defined DONT_USE_CMSIS_INIT
291 #include "system_same70.h"
292 #endif /* DONT_USE_CMSIS_INIT */
293 
296 /* ************************************************************************** */
298 /* ************************************************************************** */
301 
302 #include "component/component_acc.h"
303 #include "component/component_aes.h"
304 #include "component/component_afec.h"
305 #include "component/component_chipid.h"
306 #include "component/component_dacc.h"
307 #include "component/component_efc.h"
308 #include "component/component_gmac.h"
309 #include "component/component_gpbr.h"
310 #include "component/component_icm.h"
311 #include "component/component_isi.h"
312 #include "component/component_matrix.h"
313 #include "component/component_mcan.h"
314 #include "component/component_pio.h"
315 #include "component/component_pmc.h"
316 #include "component/component_pwm.h"
317 #include "component/component_qspi.h"
318 #include "component/component_rstc.h"
319 #include "component/component_rswdt.h"
320 #include "component/component_rtc.h"
321 #include "component/component_rtt.h"
322 #include "component/component_spi.h"
323 #include "component/component_ssc.h"
324 #include "component/component_supc.h"
325 #include "component/component_tc.h"
326 #include "component/component_trng.h"
327 #include "component/component_twihs.h"
328 #include "component/component_uart.h"
329 #include "component/component_usart.h"
330 #include "component/component_usbhs.h"
331 #include "component/component_utmi.h"
332 #include "component/component_wdt.h"
333 #include "component/component_xdmac.h"
336 #ifndef __rtems__
337 /* ************************************************************************** */
338 /* REGISTER ACCESS DEFINITIONS FOR SAME70J19 */
339 /* ************************************************************************** */
342 
343 #include "instance/instance_ssc.h"
344 #include "instance/instance_spi0.h"
345 #include "instance/instance_tc0.h"
346 #include "instance/instance_twihs0.h"
347 #include "instance/instance_twihs1.h"
348 #include "instance/instance_pwm0.h"
349 #include "instance/instance_usart0.h"
350 #include "instance/instance_usart1.h"
351 #include "instance/instance_usart2.h"
352 #include "instance/instance_mcan0.h"
353 #include "instance/instance_mcan1.h"
354 #include "instance/instance_usbhs.h"
355 #include "instance/instance_afec0.h"
356 #include "instance/instance_dacc.h"
357 #include "instance/instance_acc.h"
358 #include "instance/instance_icm.h"
359 #include "instance/instance_isi.h"
360 #include "instance/instance_gmac.h"
361 #include "instance/instance_tc3.h"
362 #include "instance/instance_spi1.h"
363 #include "instance/instance_pwm1.h"
364 #include "instance/instance_afec1.h"
365 #include "instance/instance_aes.h"
366 #include "instance/instance_trng.h"
367 #include "instance/instance_xdmac.h"
368 #include "instance/instance_qspi.h"
369 #include "instance/instance_matrix.h"
370 #include "instance/instance_utmi.h"
371 #include "instance/instance_pmc.h"
372 #include "instance/instance_uart0.h"
373 #include "instance/instance_chipid.h"
374 #include "instance/instance_uart1.h"
375 #include "instance/instance_efc.h"
376 #include "instance/instance_pioa.h"
377 #include "instance/instance_piob.h"
378 #include "instance/instance_piod.h"
379 #include "instance/instance_rstc.h"
380 #include "instance/instance_supc.h"
381 #include "instance/instance_rtt.h"
382 #include "instance/instance_wdt.h"
383 #include "instance/instance_rtc.h"
384 #include "instance/instance_gpbr.h"
385 #include "instance/instance_rswdt.h"
386 #include "instance/instance_uart2.h"
387 #include "instance/instance_uart3.h"
388 #include "instance/instance_uart4.h"
390 #endif /* __rtems__ */
391 
392 /* ************************************************************************** */
393 /* PERIPHERAL ID DEFINITIONS FOR SAME70J19 */
394 /* ************************************************************************** */
397 
398 #define ID_SUPC ( 0)
399 #define ID_RSTC ( 1)
400 #define ID_RTC ( 2)
401 #define ID_RTT ( 3)
402 #define ID_WDT ( 4)
403 #define ID_PMC ( 5)
404 #define ID_EFC ( 6)
405 #define ID_UART0 ( 7)
406 #define ID_UART1 ( 8)
407 #define ID_PIOA (10)
408 #define ID_PIOB (11)
409 #define ID_USART0 (13)
410 #define ID_USART1 (14)
411 #define ID_USART2 (15)
412 #define ID_PIOD (16)
413 #define ID_TWIHS0 (19)
414 #define ID_TWIHS1 (20)
415 #define ID_SPI0 (21)
416 #define ID_SSC (22)
417 #define ID_TC0 (23)
418 #define ID_TC1 (24)
419 #define ID_TC2 (25)
420 #define ID_AFEC0 (29)
421 #define ID_DACC (30)
422 #define ID_PWM0 (31)
423 #define ID_ICM (32)
424 #define ID_ACC (33)
425 #define ID_USBHS (34)
426 #define ID_MCAN0 (35)
427 #define ID_MCAN1 (37)
428 #define ID_GMAC (39)
429 #define ID_AFEC1 (40)
430 #define ID_SPI1 (42)
431 #define ID_QSPI (43)
432 #define ID_UART2 (44)
433 #define ID_UART3 (45)
434 #define ID_UART4 (46)
435 #define ID_TC9 (50)
436 #define ID_TC10 (51)
437 #define ID_TC11 (52)
438 #define ID_AES (56)
439 #define ID_TRNG (57)
440 #define ID_XDMAC (58)
441 #define ID_ISI (59)
442 #define ID_PWM1 (60)
443 #define ID_RSWDT (63)
445 #define ID_PERIPH_COUNT (64)
447 
448 /* ************************************************************************** */
449 /* BASE ADDRESS DEFINITIONS FOR SAME70J19 */
450 /* ************************************************************************** */
453 
454 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
455 #define SSC (0x40004000U)
456 #define SPI0 (0x40008000U)
457 #define TC0 (0x4000C000U)
458 #define TWIHS0 (0x40018000U)
459 #define TWIHS1 (0x4001C000U)
460 #define PWM0 (0x40020000U)
461 #define USART0 (0x40024000U)
462 #define USART1 (0x40028000U)
463 #define USART2 (0x4002C000U)
464 #define MCAN0 (0x40030000U)
465 #define MCAN1 (0x40034000U)
466 #define USBHS (0x40038000U)
467 #define AFEC0 (0x4003C000U)
468 #define DACC (0x40040000U)
469 #define ACC (0x40044000U)
470 #define ICM (0x40048000U)
471 #define ISI (0x4004C000U)
472 #define GMAC (0x40050000U)
473 #define TC3 (0x40054000U)
474 #define SPI1 (0x40058000U)
475 #define PWM1 (0x4005C000U)
476 #define AFEC1 (0x40064000U)
477 #define AES (0x4006C000U)
478 #define TRNG (0x40070000U)
479 #define XDMAC (0x40078000U)
480 #define QSPI (0x4007C000U)
481 #define MATRIX (0x40088000U)
482 #define UTMI (0x400E0400U)
483 #define PMC (0x400E0600U)
484 #define UART0 (0x400E0800U)
485 #define CHIPID (0x400E0940U)
486 #define UART1 (0x400E0A00U)
487 #define EFC (0x400E0C00U)
488 #define PIOA (0x400E0E00U)
489 #define PIOB (0x400E1000U)
490 #define PIOD (0x400E1400U)
491 #define RSTC (0x400E1800U)
492 #define SUPC (0x400E1810U)
493 #define RTT (0x400E1830U)
494 #define WDT (0x400E1850U)
495 #define RTC (0x400E1860U)
496 #define GPBR (0x400E1890U)
497 #define RSWDT (0x400E1900U)
498 #define UART2 (0x400E1A00U)
499 #define UART3 (0x400E1C00U)
500 #define UART4 (0x400E1E00U)
501 #else
502 #define SSC ((Ssc *)0x40004000U)
503 #define SPI0 ((Spi *)0x40008000U)
504 #define TC0 ((Tc *)0x4000C000U)
505 #define TWIHS0 ((Twihs *)0x40018000U)
506 #define TWIHS1 ((Twihs *)0x4001C000U)
507 #define PWM0 ((Pwm *)0x40020000U)
508 #define USART0 ((Usart *)0x40024000U)
509 #define USART1 ((Usart *)0x40028000U)
510 #define USART2 ((Usart *)0x4002C000U)
511 #define MCAN0 ((Mcan *)0x40030000U)
512 #define MCAN1 ((Mcan *)0x40034000U)
513 #define USBHS ((Usbhs *)0x40038000U)
514 #define AFEC0 ((Afec *)0x4003C000U)
515 #define DACC ((Dacc *)0x40040000U)
516 #define ACC ((Acc *)0x40044000U)
517 #define ICM ((Icm *)0x40048000U)
518 #define ISI ((Isi *)0x4004C000U)
519 #define GMAC ((Gmac *)0x40050000U)
520 #define TC3 ((Tc *)0x40054000U)
521 #define SPI1 ((Spi *)0x40058000U)
522 #define PWM1 ((Pwm *)0x4005C000U)
523 #define AFEC1 ((Afec *)0x40064000U)
524 #define AES ((Aes *)0x4006C000U)
525 #define TRNG ((Trng *)0x40070000U)
526 #define XDMAC ((Xdmac *)0x40078000U)
527 #define QSPI ((Qspi *)0x4007C000U)
528 #define MATRIX ((Matrix *)0x40088000U)
529 #define UTMI ((Utmi *)0x400E0400U)
530 #define PMC ((Pmc *)0x400E0600U)
531 #define UART0 ((Uart *)0x400E0800U)
532 #define CHIPID ((Chipid *)0x400E0940U)
533 #define UART1 ((Uart *)0x400E0A00U)
534 #define EFC ((Efc *)0x400E0C00U)
535 #define PIOA ((Pio *)0x400E0E00U)
536 #define PIOB ((Pio *)0x400E1000U)
537 #define PIOD ((Pio *)0x400E1400U)
538 #define RSTC ((Rstc *)0x400E1800U)
539 #define SUPC ((Supc *)0x400E1810U)
540 #define RTT ((Rtt *)0x400E1830U)
541 #define WDT ((Wdt *)0x400E1850U)
542 #define RTC ((Rtc *)0x400E1860U)
543 #define GPBR ((Gpbr *)0x400E1890U)
544 #define RSWDT ((Rswdt *)0x400E1900U)
545 #define UART2 ((Uart *)0x400E1A00U)
546 #define UART3 ((Uart *)0x400E1C00U)
547 #define UART4 ((Uart *)0x400E1E00U)
548 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
549 
551 /* ************************************************************************** */
552 /* PIO DEFINITIONS FOR SAME70J19 */
553 /* ************************************************************************** */
556 
557 #include "pio/pio_same70j19.h"
560 /* ************************************************************************** */
561 /* MEMORY MAPPING DEFINITIONS FOR SAME70J19 */
562 /* ************************************************************************** */
563 
564 #define IFLASH_SIZE (0x80000u)
565 #define IFLASH_PAGE_SIZE (512u)
566 #define IFLASH_LOCK_REGION_SIZE (8192u)
567 #define IFLASH_NB_OF_PAGES (1024u)
568 #define IFLASH_NB_OF_LOCK_BITS (32u)
569 #define IRAM_SIZE (0x40000u)
570 
571 #define QSPIMEM_ADDR (0x80000000u)
572 #define AXIMX_ADDR (0xA0000000u)
573 #define ITCM_ADDR (0x00000000u)
574 #define IFLASH_ADDR (0x00400000u)
575 #define IROM_ADDR (0x00800000u)
576 #define DTCM_ADDR (0x20000000u)
577 #define IRAM_ADDR (0x20400000u)
578 #define EBI_CS0_ADDR (0x60000000u)
579 #define EBI_CS1_ADDR (0x61000000u)
580 #define EBI_CS2_ADDR (0x62000000u)
581 #define EBI_CS3_ADDR (0x63000000u)
582 #define SDRAM_CS_ADDR (0x70000000u)
584 /* ************************************************************************** */
585 /* MISCELLANEOUS DEFINITIONS FOR SAME70J19 */
586 /* ************************************************************************** */
587 
588 #define CHIP_JTAGID (0x05B3D03FUL)
589 #define CHIP_CIDR (0xA10D0A00UL)
590 #define CHIP_EXID (0x00000000UL)
591 
592 /* ************************************************************************** */
593 /* ELECTRICAL DEFINITIONS FOR SAME70J19 */
594 /* ************************************************************************** */
595 
596 /* %ATMEL_ELECTRICAL% */
597 
598 /* Device characteristics */
599 #define CHIP_FREQ_SLCK_RC_MIN (20000UL)
600 #define CHIP_FREQ_SLCK_RC (32000UL)
601 #define CHIP_FREQ_SLCK_RC_MAX (44000UL)
602 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL)
603 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL)
604 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL)
605 #define CHIP_FREQ_CPU_MAX (120000000UL)
606 #define CHIP_FREQ_XTAL_32K (32768UL)
607 #define CHIP_FREQ_XTAL_12M (12000000UL)
608 
609 /* Embedded Flash Read Wait State (VDDCORE set at 1.20V) */
610 #define CHIP_FREQ_FWS_0 (20000000UL)
611 #define CHIP_FREQ_FWS_1 (40000000UL)
612 #define CHIP_FREQ_FWS_2 (60000000UL)
613 #define CHIP_FREQ_FWS_3 (80000000UL)
614 #define CHIP_FREQ_FWS_4 (100000000UL)
615 #define CHIP_FREQ_FWS_5 (123000000UL)
617 #ifdef __cplusplus
618 }
619 #endif
620 
623 #endif /* _SAME70J19_ */
Definition: same70j19.h:82
Definition: same70j19.h:78
Definition: same70j19.h:91
Definition: same70j19.h:74
Definition: same70j19.h:87
void MemManage_Handler(void)
Default MemManage interrupt handler.
Definition: exceptions.c:180
Definition: same70j19.h:68
Definition: same70j19.h:92
Definition: same70j19.h:89
Definition: same70j19.h:114
Definition: same70j19.h:65
Definition: same70j19.h:103
Definition: same70j19.h:99
Definition: same70j19.h:80
Definition: same70j19.h:96
void HardFault_Handler(void)
Default HardFault interrupt handler.
Definition: exceptions.c:168
Definition: same70j19.h:85
Definition: same70j19.h:109
Definition: same70j19.h:110
Definition: same70j19.h:88
Definition: same70j19.h:118
Definition: same70j19.h:105
Definition: same70j19.h:106
Definition: same70j19.h:72
Definition: same70j19.h:76
Definition: same70j19.h:71
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
Definition: same70j19.h:66
Definition: same70j19.h:61
Definition: same70j19.h:121
Definition: same70j19.h:73
Definition: same70j19.h:84
Definition: same70j19.h:107
Definition: same70j19.h:77
Definition: same70j19.h:113
Definition: same70j19.h:83
Definition: same70j19.h:94
Definition: same70j19.h:112
Definition: same70j19.h:62
Definition: same70j19.h:67
void UsageFault_Handler(void)
Default UsageFault interrupt handler.
Definition: exceptions.c:207
Definition: same70j19.h:60
Definition: same70j19.h:115
Definition: same70j19.h:102
Definition: same70j19.h:63
enum IRQn IRQn_Type
IRQn
Definition: same70j19.h:57
Definition: same70j19.h:86
Definition: same70j19.h:101
Definition: same70j19.h:97
Definition: same70j19.h:98
void NMI_Handler(void)
Default NMI interrupt handler.
Definition: exceptions.c:53
Definition: same70j19.h:108
Definition: same70j19.h:95
Definition: same70j19.h:64
Definition: same70j19.h:81
Definition: same70j19.h:104
Definition: same70j19.h:100
Definition: same70j19.h:111
Definition: same70j19.h:90
Definition: same70j19.h:93
Definition: same70j19.h:79
Definition: same70j19.h:75
void BusFault_Handler(void)
Default BusFault interrupt handler.
Definition: exceptions.c:193
Definition: same70j19.h:116