blob: e94e3031cfe7ccd4c97e962a23fb4631b116f75c [file] [log] [blame]
#ifndef _LIB_CHIP_SAMA5D3X_
#define _LIB_CHIP_SAMA5D3X_
/*
* Peripherals registers definitions
*/
#if defined sama5d3x
#include "include/SAMA5D3X.h"
#else
#warning Library does not support the specified chip, specifying ata5miura.
#define sama5d3x
#include "include/SAMA5D3X.h"
#endif
/* Define attribute */
#if defined ( __CC_ARM ) /* Keil µVision 4 */
#define WEAK __attribute__ ((weak))
#elif defined ( __ICCARM__ ) /* IAR Ewarm 5.41+ */
#define WEAK __weak
#elif defined ( __GNUC__ ) /* GCC CS3 2009q3-68 */
#define WEAK __attribute__ ((weak))
#endif
/* Define NO_INIT attribute and compiler specific symbols */
#if defined ( __CC_ARM )
#define NO_INIT
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define NO_INIT __no_init
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#define NO_INIT
#endif
#define CP15_PRESENT
/*
* Peripherals
*/
#include "include/mmu.h"
#include "cp15/cp15.h"
#include "include/rstc.h"
#include "include/adc.h"
#include "include/async.h"
#include "include/emac.h"
#include "include/gmac.h"
#include "include/hsmci.h"
#include "include/irq.h"
#include "include/fuse.h"
#include "include/pio.h"
#include "include/pio_it.h"
#include "include/pmc.h"
#include "include/pwmc.h"
#include "include/rtc.h"
#include "include/smcNfc.h"
#include "include/spi.h"
#include "include/ssc.h"
#include "include/tc.h"
#include "include/twi.h"
#include "include/twid.h"
#include "include/usart.h"
#include "include/pit.h"
#include "include/dmac.h"
#include "include/udphs.h"
#include "include/emac.h"
#include "include/can.h"
#include "include/trace.h"
#include "include/wdt.h"
#include "include/video.h"
#include "include/isi.h"
#include "include/aes.h"
#include "include/sha.h"
#include "include/tdes.h"
#include "include/trng.h"
#endif /* _LIB_CHIP_SAMA5D3X_ */