Robobo
sam3x8e.h
1 /* ----------------------------------------------------------------------------
2  * SAM Software Package License
3  * ----------------------------------------------------------------------------
4  * Copyright (c) 2012, Atmel Corporation
5  *
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following condition is met:
10  *
11  * - Redistributions of source code must retain the above copyright notice,
12  * this list of conditions and the disclaimer below.
13  *
14  * Atmel's name may not be used to endorse or promote products derived from
15  * this software without specific prior written permission.
16  *
17  * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
18  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
20  * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
21  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
23  * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  * ----------------------------------------------------------------------------
28  */
29 
30 #ifndef _SAM3X8E_
31 #define _SAM3X8E_
32 
41 
42 #ifdef __cplusplus
43  extern "C" {
44 #endif
45 
46 #if !(defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
47 #include <stdint.h>
48 #ifndef __cplusplus
49 typedef volatile const uint32_t RoReg;
50 #else
51 typedef volatile uint32_t RoReg;
52 #endif
53 typedef volatile uint32_t WoReg;
54 typedef volatile uint32_t RwReg;
55 #endif
56 
57 /* ************************************************************************** */
58 /* CMSIS DEFINITIONS FOR SAM3X8E */
59 /* ************************************************************************** */
62 
64 typedef enum IRQn
65 {
66 /****** Cortex-M3 Processor Exceptions Numbers ******************************/
69  BusFault_IRQn = -11,
71  SVCall_IRQn = -5,
73  PendSV_IRQn = -2,
74  SysTick_IRQn = -1,
75 /****** SAM3X8E specific Interrupt Numbers *********************************/
76 
77  SUPC_IRQn = 0,
78  RSTC_IRQn = 1,
79  RTC_IRQn = 2,
80  RTT_IRQn = 3,
81  WDT_IRQn = 4,
82  PMC_IRQn = 5,
83  EFC0_IRQn = 6,
84  EFC1_IRQn = 7,
85  UART_IRQn = 8,
86  SMC_IRQn = 9,
87  PIOA_IRQn = 11,
88  PIOB_IRQn = 12,
89  PIOC_IRQn = 13,
90  PIOD_IRQn = 14,
91  USART0_IRQn = 17,
92  USART1_IRQn = 18,
93  USART2_IRQn = 19,
94  USART3_IRQn = 20,
95  HSMCI_IRQn = 21,
96  TWI0_IRQn = 22,
97  TWI1_IRQn = 23,
98  SPI0_IRQn = 24,
99  SSC_IRQn = 26,
100  TC0_IRQn = 27,
101  TC1_IRQn = 28,
102  TC2_IRQn = 29,
103  TC3_IRQn = 30,
104  TC4_IRQn = 31,
105  TC5_IRQn = 32,
106  TC6_IRQn = 33,
107  TC7_IRQn = 34,
108  TC8_IRQn = 35,
109  PWM_IRQn = 36,
110  ADC_IRQn = 37,
111  DACC_IRQn = 38,
112  DMAC_IRQn = 39,
113  UOTGHS_IRQn = 40,
114  TRNG_IRQn = 41,
115  EMAC_IRQn = 42,
116  CAN0_IRQn = 43,
117  CAN1_IRQn = 44,
120 } IRQn_Type;
121 
122 typedef struct _DeviceVectors
123 {
124  /* Stack pointer */
125  void* pvStack;
126 
127  /* Cortex-M handlers */
128  void* pfnReset_Handler;
129  void* pfnNMI_Handler;
130  void* pfnHardFault_Handler;
131  void* pfnMemManage_Handler;
132  void* pfnBusFault_Handler;
133  void* pfnUsageFault_Handler;
134  void* pfnReserved1_Handler;
135  void* pfnReserved2_Handler;
136  void* pfnReserved3_Handler;
137  void* pfnReserved4_Handler;
138  void* pfnSVC_Handler;
139  void* pfnDebugMon_Handler;
140  void* pfnReserved5_Handler;
141  void* pfnPendSV_Handler;
142  void* pfnSysTick_Handler;
143 
144  /* Peripheral handlers */
145  void* pfnSUPC_Handler; /* 0 Supply Controller */
146  void* pfnRSTC_Handler; /* 1 Reset Controller */
147  void* pfnRTC_Handler; /* 2 Real Time Clock */
148  void* pfnRTT_Handler; /* 3 Real Time Timer */
149  void* pfnWDT_Handler; /* 4 Watchdog Timer */
150  void* pfnPMC_Handler; /* 5 Power Management Controller */
151  void* pfnEFC0_Handler; /* 6 Enhanced Flash Controller 0 */
152  void* pfnEFC1_Handler; /* 7 Enhanced Flash Controller 1 */
153  void* pfnUART_Handler; /* 8 Universal Asynchronous Receiver Transceiver */
154  void* pfnSMC_Handler; /* 9 Static Memory Controller */
155  void* pvReserved10;
156  void* pfnPIOA_Handler; /* 11 Parallel I/O Controller A, */
157  void* pfnPIOB_Handler; /* 12 Parallel I/O Controller B */
158  void* pfnPIOC_Handler; /* 13 Parallel I/O Controller C */
159  void* pfnPIOD_Handler; /* 14 Parallel I/O Controller D */
160  void* pvReserved15;
161  void* pvReserved16;
162  void* pfnUSART0_Handler; /* 17 USART 0 */
163  void* pfnUSART1_Handler; /* 18 USART 1 */
164  void* pfnUSART2_Handler; /* 19 USART 2 */
165  void* pfnUSART3_Handler; /* 20 USART 3 */
166  void* pfnHSMCI_Handler; /* 21 Multimedia Card Interface */
167  void* pfnTWI0_Handler; /* 22 Two-Wire Interface 0 */
168  void* pfnTWI1_Handler; /* 23 Two-Wire Interface 1 */
169  void* pfnSPI0_Handler; /* 24 Serial Peripheral Interface */
170  void* pvReserved25;
171  void* pfnSSC_Handler; /* 26 Synchronous Serial Controller */
172  void* pfnTC0_Handler; /* 27 Timer Counter 0 */
173  void* pfnTC1_Handler; /* 28 Timer Counter 1 */
174  void* pfnTC2_Handler; /* 29 Timer Counter 2 */
175  void* pfnTC3_Handler; /* 30 Timer Counter 3 */
176  void* pfnTC4_Handler; /* 31 Timer Counter 4 */
177  void* pfnTC5_Handler; /* 32 Timer Counter 5 */
178  void* pfnTC6_Handler; /* 33 Timer Counter 6 */
179  void* pfnTC7_Handler; /* 34 Timer Counter 7 */
180  void* pfnTC8_Handler; /* 35 Timer Counter 8 */
181  void* pfnPWM_Handler; /* 36 Pulse Width Modulation Controller */
182  void* pfnADC_Handler; /* 37 ADC Controller */
183  void* pfnDACC_Handler; /* 38 DAC Controller */
184  void* pfnDMAC_Handler; /* 39 DMA Controller */
185  void* pfnUOTGHS_Handler; /* 40 USB OTG High Speed */
186  void* pfnTRNG_Handler; /* 41 True Random Number Generator */
187  void* pfnEMAC_Handler; /* 42 Ethernet MAC */
188  void* pfnCAN0_Handler; /* 43 CAN Controller 0 */
189  void* pfnCAN1_Handler; /* 44 CAN Controller 1 */
190 } DeviceVectors;
191 
192 /* Cortex-M3 core handlers */
193 void Reset_Handler ( void );
194 void NMI_Handler ( void );
195 void HardFault_Handler ( void );
196 void MemManage_Handler ( void );
197 void BusFault_Handler ( void );
198 void UsageFault_Handler ( void );
199 void SVC_Handler ( void );
200 void DebugMon_Handler ( void );
201 void PendSV_Handler ( void );
202 void SysTick_Handler ( void );
203 
204 /* Peripherals handlers */
205 void ADC_Handler ( void );
206 void CAN0_Handler ( void );
207 void CAN1_Handler ( void );
208 void DACC_Handler ( void );
209 void DMAC_Handler ( void );
210 void EFC0_Handler ( void );
211 void EFC1_Handler ( void );
212 void EMAC_Handler ( void );
213 void HSMCI_Handler ( void );
214 void PIOA_Handler ( void );
215 void PIOB_Handler ( void );
216 void PIOC_Handler ( void );
217 void PIOD_Handler ( void );
218 void PMC_Handler ( void );
219 void PWM_Handler ( void );
220 void RSTC_Handler ( void );
221 void RTC_Handler ( void );
222 void RTT_Handler ( void );
223 void SMC_Handler ( void );
224 void SPI0_Handler ( void );
225 void SSC_Handler ( void );
226 void SUPC_Handler ( void );
227 void TC0_Handler ( void );
228 void TC1_Handler ( void );
229 void TC2_Handler ( void );
230 void TC3_Handler ( void );
231 void TC4_Handler ( void );
232 void TC5_Handler ( void );
233 void TC6_Handler ( void );
234 void TC7_Handler ( void );
235 void TC8_Handler ( void );
236 void TRNG_Handler ( void );
237 void TWI0_Handler ( void );
238 void TWI1_Handler ( void );
239 void UART_Handler ( void );
240 void UOTGHS_Handler ( void );
241 void USART0_Handler ( void );
242 void USART1_Handler ( void );
243 void USART2_Handler ( void );
244 void USART3_Handler ( void );
245 void WDT_Handler ( void );
246 
251 #define __CM3_REV 0x0200
252 #define __MPU_PRESENT 1
253 #define __NVIC_PRIO_BITS 4
254 #define __Vendor_SysTickConfig 0
256 /*
257  * \brief CMSIS includes
258  */
259 
260 #include <core_cm3.h>
261 #if !defined DONT_USE_CMSIS_INIT
262 #include "system_sam3xa.h"
263 #endif /* DONT_USE_CMSIS_INIT */
264 
267 /* ************************************************************************** */
269 /* ************************************************************************** */
272 
273 #include "component/component_adc.h"
274 #include "component/component_can.h"
275 #include "component/component_chipid.h"
276 #include "component/component_dacc.h"
277 #include "component/component_dmac.h"
278 #include "component/component_efc.h"
279 #include "component/component_emac.h"
280 #include "component/component_gpbr.h"
281 #include "component/component_hsmci.h"
282 #include "component/component_matrix.h"
283 #include "component/component_pdc.h"
284 #include "component/component_pio.h"
285 #include "component/component_pmc.h"
286 #include "component/component_pwm.h"
287 #include "component/component_rstc.h"
288 #include "component/component_rtc.h"
289 #include "component/component_rtt.h"
290 #include "component/component_smc.h"
291 #include "component/component_spi.h"
292 #include "component/component_ssc.h"
293 #include "component/component_supc.h"
294 #include "component/component_tc.h"
295 #include "component/component_trng.h"
296 #include "component/component_twi.h"
297 #include "component/component_uart.h"
298 #include "component/component_uotghs.h"
299 #include "component/component_usart.h"
300 #include "component/component_wdt.h"
303 /* ************************************************************************** */
304 /* REGISTER ACCESS DEFINITIONS FOR SAM3X8E */
305 /* ************************************************************************** */
308 
309 #include "instance/instance_hsmci.h"
310 #include "instance/instance_ssc.h"
311 #include "instance/instance_spi0.h"
312 #include "instance/instance_tc0.h"
313 #include "instance/instance_tc1.h"
314 #include "instance/instance_tc2.h"
315 #include "instance/instance_twi0.h"
316 #include "instance/instance_twi1.h"
317 #include "instance/instance_pwm.h"
318 #include "instance/instance_usart0.h"
319 #include "instance/instance_usart1.h"
320 #include "instance/instance_usart2.h"
321 #include "instance/instance_usart3.h"
322 #include "instance/instance_uotghs.h"
323 #include "instance/instance_emac.h"
324 #include "instance/instance_can0.h"
325 #include "instance/instance_can1.h"
326 #include "instance/instance_trng.h"
327 #include "instance/instance_adc.h"
328 #include "instance/instance_dmac.h"
329 #include "instance/instance_dacc.h"
330 #include "instance/instance_smc.h"
331 #include "instance/instance_matrix.h"
332 #include "instance/instance_pmc.h"
333 #include "instance/instance_uart.h"
334 #include "instance/instance_chipid.h"
335 #include "instance/instance_efc0.h"
336 #include "instance/instance_efc1.h"
337 #include "instance/instance_pioa.h"
338 #include "instance/instance_piob.h"
339 #include "instance/instance_pioc.h"
340 #include "instance/instance_piod.h"
341 #include "instance/instance_rstc.h"
342 #include "instance/instance_supc.h"
343 #include "instance/instance_rtt.h"
344 #include "instance/instance_wdt.h"
345 #include "instance/instance_rtc.h"
346 #include "instance/instance_gpbr.h"
349 /* ************************************************************************** */
350 /* PERIPHERAL ID DEFINITIONS FOR SAM3X8E */
351 /* ************************************************************************** */
354 
355 #define ID_SUPC ( 0)
356 #define ID_RSTC ( 1)
357 #define ID_RTC ( 2)
358 #define ID_RTT ( 3)
359 #define ID_WDT ( 4)
360 #define ID_PMC ( 5)
361 #define ID_EFC0 ( 6)
362 #define ID_EFC1 ( 7)
363 #define ID_UART ( 8)
364 #define ID_SMC ( 9)
365 #define ID_PIOA (11)
366 #define ID_PIOB (12)
367 #define ID_PIOC (13)
368 #define ID_PIOD (14)
369 #define ID_USART0 (17)
370 #define ID_USART1 (18)
371 #define ID_USART2 (19)
372 #define ID_USART3 (20)
373 #define ID_HSMCI (21)
374 #define ID_TWI0 (22)
375 #define ID_TWI1 (23)
376 #define ID_SPI0 (24)
377 #define ID_SSC (26)
378 #define ID_TC0 (27)
379 #define ID_TC1 (28)
380 #define ID_TC2 (29)
381 #define ID_TC3 (30)
382 #define ID_TC4 (31)
383 #define ID_TC5 (32)
384 #define ID_TC6 (33)
385 #define ID_TC7 (34)
386 #define ID_TC8 (35)
387 #define ID_PWM (36)
388 #define ID_ADC (37)
389 #define ID_DACC (38)
390 #define ID_DMAC (39)
391 #define ID_UOTGHS (40)
392 #define ID_TRNG (41)
393 #define ID_EMAC (42)
394 #define ID_CAN0 (43)
395 #define ID_CAN1 (44)
397 #define ID_PERIPH_COUNT (45)
399 
400 /* ************************************************************************** */
401 /* BASE ADDRESS DEFINITIONS FOR SAM3X8E */
402 /* ************************************************************************** */
405 
406 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
407 #define HSMCI (0x40000000U)
408 #define SSC (0x40004000U)
409 #define SPI0 (0x40008000U)
410 #define TC0 (0x40080000U)
411 #define TC1 (0x40084000U)
412 #define TC2 (0x40088000U)
413 #define TWI0 (0x4008C000U)
414 #define PDC_TWI0 (0x4008C100U)
415 #define TWI1 (0x40090000U)
416 #define PDC_TWI1 (0x40090100U)
417 #define PWM (0x40094000U)
418 #define PDC_PWM (0x40094100U)
419 #define USART0 (0x40098000U)
420 #define PDC_USART0 (0x40098100U)
421 #define USART1 (0x4009C000U)
422 #define PDC_USART1 (0x4009C100U)
423 #define USART2 (0x400A0000U)
424 #define PDC_USART2 (0x400A0100U)
425 #define USART3 (0x400A4000U)
426 #define PDC_USART3 (0x400A4100U)
427 #define UOTGHS (0x400AC000U)
428 #define EMAC (0x400B0000U)
429 #define CAN0 (0x400B4000U)
430 #define CAN1 (0x400B8000U)
431 #define TRNG (0x400BC000U)
432 #define ADC (0x400C0000U)
433 #define PDC_ADC (0x400C0100U)
434 #define DMAC (0x400C4000U)
435 #define DACC (0x400C8000U)
436 #define PDC_DACC (0x400C8100U)
437 #define SMC (0x400E0000U)
438 #define MATRIX (0x400E0400U)
439 #define PMC (0x400E0600U)
440 #define UART (0x400E0800U)
441 #define PDC_UART (0x400E0900U)
442 #define CHIPID (0x400E0940U)
443 #define EFC0 (0x400E0A00U)
444 #define EFC1 (0x400E0C00U)
445 #define PIOA (0x400E0E00U)
446 #define PIOB (0x400E1000U)
447 #define PIOC (0x400E1200U)
448 #define PIOD (0x400E1400U)
449 #define RSTC (0x400E1A00U)
450 #define SUPC (0x400E1A10U)
451 #define RTT (0x400E1A30U)
452 #define WDT (0x400E1A50U)
453 #define RTC (0x400E1A60U)
454 #define GPBR (0x400E1A90U)
455 #else
456 #define HSMCI ((Hsmci *)0x40000000U)
457 #define SSC ((Ssc *)0x40004000U)
458 #define SPI0 ((Spi *)0x40008000U)
459 #define TC0 ((Tc *)0x40080000U)
460 #define TC1 ((Tc *)0x40084000U)
461 #define TC2 ((Tc *)0x40088000U)
462 #define TWI0 ((Twi *)0x4008C000U)
463 #define PDC_TWI0 ((Pdc *)0x4008C100U)
464 #define TWI1 ((Twi *)0x40090000U)
465 #define PDC_TWI1 ((Pdc *)0x40090100U)
466 #define PWM ((Pwm *)0x40094000U)
467 #define PDC_PWM ((Pdc *)0x40094100U)
468 #define USART0 ((Usart *)0x40098000U)
469 #define PDC_USART0 ((Pdc *)0x40098100U)
470 #define USART1 ((Usart *)0x4009C000U)
471 #define PDC_USART1 ((Pdc *)0x4009C100U)
472 #define USART2 ((Usart *)0x400A0000U)
473 #define PDC_USART2 ((Pdc *)0x400A0100U)
474 #define USART3 ((Usart *)0x400A4000U)
475 #define PDC_USART3 ((Pdc *)0x400A4100U)
476 #define UOTGHS ((Uotghs *)0x400AC000U)
477 #define EMAC ((Emac *)0x400B0000U)
478 #define CAN0 ((Can *)0x400B4000U)
479 #define CAN1 ((Can *)0x400B8000U)
480 #define TRNG ((Trng *)0x400BC000U)
481 #define ADC ((Adc *)0x400C0000U)
482 #define PDC_ADC ((Pdc *)0x400C0100U)
483 #define DMAC ((Dmac *)0x400C4000U)
484 #define DACC ((Dacc *)0x400C8000U)
485 #define PDC_DACC ((Pdc *)0x400C8100U)
486 #define SMC ((Smc *)0x400E0000U)
487 #define MATRIX ((Matrix *)0x400E0400U)
488 #define PMC ((Pmc *)0x400E0600U)
489 #define UART ((Uart *)0x400E0800U)
490 #define PDC_UART ((Pdc *)0x400E0900U)
491 #define CHIPID ((Chipid *)0x400E0940U)
492 #define EFC0 ((Efc *)0x400E0A00U)
493 #define EFC1 ((Efc *)0x400E0C00U)
494 #define PIOA ((Pio *)0x400E0E00U)
495 #define PIOB ((Pio *)0x400E1000U)
496 #define PIOC ((Pio *)0x400E1200U)
497 #define PIOD ((Pio *)0x400E1400U)
498 #define RSTC ((Rstc *)0x400E1A00U)
499 #define SUPC ((Supc *)0x400E1A10U)
500 #define RTT ((Rtt *)0x400E1A30U)
501 #define WDT ((Wdt *)0x400E1A50U)
502 #define RTC ((Rtc *)0x400E1A60U)
503 #define GPBR ((Gpbr *)0x400E1A90U)
504 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
505 
507 /* ************************************************************************** */
508 /* PIO DEFINITIONS FOR SAM3X8E */
509 /* ************************************************************************** */
512 
513 #include "pio/pio_sam3x8e.h"
516 /* ************************************************************************** */
517 /* MEMORY MAPPING DEFINITIONS FOR SAM3X8E */
518 /* ************************************************************************** */
519 
520 #define IFLASH0_SIZE (0x40000u)
521 #define IFLASH0_PAGE_SIZE (256u)
522 #define IFLASH0_LOCK_REGION_SIZE (16384u)
523 #define IFLASH0_NB_OF_PAGES (1024u)
524 #define IFLASH1_SIZE (0x40000u)
525 #define IFLASH1_PAGE_SIZE (256u)
526 #define IFLASH1_LOCK_REGION_SIZE (16384u)
527 #define IFLASH1_NB_OF_PAGES (1024u)
528 #define IRAM0_SIZE (0x10000u)
529 #define IRAM1_SIZE (0x8000u)
530 #define NFCRAM_SIZE (0x1000u)
531 #define IFLASH_SIZE (IFLASH0_SIZE+IFLASH1_SIZE)
532 #define IRAM_SIZE (IRAM0_SIZE+IRAM1_SIZE)
533 
534 #define IFLASH0_ADDR (0x00080000u)
535 #if defined IFLASH0_SIZE
536 #define IFLASH1_ADDR (IFLASH0_ADDR+IFLASH0_SIZE)
537 #endif
538 #define IROM_ADDR (0x00100000u)
539 #define IRAM0_ADDR (0x20000000u)
540 #define IRAM1_ADDR (0x20080000u)
541 #define NFC_RAM_ADDR (0x20100000u)
542 #define UOTGHS_RAM_ADDR (0x20180000u)
543 #define EBI_CS0_ADDR (0x60000000u)
544 #define EBI_CS1_ADDR (0x61000000u)
545 #define EBI_CS2_ADDR (0x62000000u)
546 #define EBI_CS3_ADDR (0x63000000u)
547 #define EBI_CS4_ADDR (0x64000000u)
548 #define EBI_CS5_ADDR (0x65000000u)
549 #define EBI_CS6_ADDR (0x66000000u)
550 #define EBI_CS7_ADDR (0x67000000u)
552 /* ************************************************************************** */
553 /* ELECTRICAL DEFINITIONS FOR SAM3X8E */
554 /* ************************************************************************** */
555 
556 /* Device characteristics */
557 #define CHIP_FREQ_SLCK_RC_MIN (20000UL)
558 #define CHIP_FREQ_SLCK_RC (32000UL)
559 #define CHIP_FREQ_SLCK_RC_MAX (44000UL)
560 #define CHIP_FREQ_MAINCK_RC_4MHZ (4000000UL)
561 #define CHIP_FREQ_MAINCK_RC_8MHZ (8000000UL)
562 #define CHIP_FREQ_MAINCK_RC_12MHZ (12000000UL)
563 #define CHIP_FREQ_CPU_MAX (84000000UL)
564 #define CHIP_FREQ_XTAL_32K (32768UL)
565 #define CHIP_FREQ_XTAL_12M (12000000UL)
566 
567 /* Embedded Flash Write Wait State */
568 #define CHIP_FLASH_WRITE_WAIT_STATE (6U)
569 
570 /* Embedded Flash Read Wait State (VDDCORE set at 1.65V) */
571 #define CHIP_FREQ_FWS_0 (22500000UL)
572 #define CHIP_FREQ_FWS_1 (34000000UL)
573 #define CHIP_FREQ_FWS_2 (53000000UL)
574 #define CHIP_FREQ_FWS_3 (78000000UL)
577 #ifdef __cplusplus
578 }
579 #endif
580 
583 #endif /* _SAM3X8E_ */
Definition: sam3x8e.h:71
Definition: sam3x8e.h:93
Definition: sam3x8e.h:113
Definition: sam3x8e.h:108
Definition: sam3x8e.h:72
Definition: sam3x8e.h:106
Definition: sam3x8e.h:111
void SysTick_Handler(void)
SysTick_Handler.
Definition: main.c:78
void BusFault_Handler(void)
Definition: FreeRTOS_ARM.c:104
Definition: sam3x8e.h:114
Definition: sam3n00a.h:102
Definition: sam3x8e.h:100
Definition: sam3x8e.h:88
Definition: sam3x8e.h:97
Definition: sam3x8e.h:77
Definition: sam3x8e.h:84
Definition: sam3x8e.h:87
IRQn
Definition: ARMCM0.h:35
Definition: sam3x8e.h:74
Definition: sam3x8e.h:107
Definition: sam3x8e.h:70
Definition: sam3x8e.h:82
Definition: sam3x8e.h:115
CMSIS Cortex-M3 Core Peripheral Access Layer Header File.
CMSIS Cortex-M# Device Peripheral Access Layer Header File for SAM3 devices.
Definition: sam3x8e.h:94
Definition: sam3x8e.h:92
void Reset_Handler(void)
This is the code that gets called on processor reset. To initialize the device, and call the main() r...
Definition: startup_sam3n.c:172
Definition: sam3x8e.h:90
volatile uint32_t RwReg
Definition: sam3x8e.h:54
Definition: sam3x8e.h:95
Definition: sam3x8e.h:96
Definition: sam3x8e.h:110
Definition: sam3x8e.h:89
Definition: sam3x8e.h:69
Definition: sam3x8e.h:102
void HardFault_Handler(void)
Definition: FreeRTOS_ARM.c:99
Definition: sam3x8e.h:98
Definition: sam3x8e.h:101
enum IRQn IRQn_Type
Definition: sam3x8e.h:79
Definition: sam3x8e.h:78
void UsageFault_Handler(void)
Definition: FreeRTOS_ARM.c:109
Definition: sam3x8e.h:67
volatile const uint32_t RoReg
Definition: sam3x8e.h:49
Definition: sam3x8e.h:104
Definition: sam3x8e.h:80
Definition: sam3x8e.h:83
Definition: sam3x8e.h:91
Definition: sam3x8e.h:103
Definition: sam3x8e.h:105
Definition: sam3x8e.h:73
Definition: sam3x8e.h:109
Definition: sam3x8e.h:86
Definition: sam3x8e.h:116
Definition: sam3x8e.h:99
volatile uint32_t WoReg
Definition: sam3x8e.h:53
Definition: sam3x8e.h:85
Definition: sam3x8e.h:68
Definition: sam3x8e.h:81
Definition: sam3x8e.h:117
Definition: sam3x8e.h:112
Definition: sam3x8e.h:119