X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=cpu%2Farm%2Fio%2Fat91sam7s256.h;h=827f72da96aee79a78e24eb9bc8dc005d5d28fa1;hb=569cd794010c99ae8e3e2e37a207b0a2eaeb2c3f;hp=6c22208e44922d912860f22dee52299f5edf7083;hpb=55c4d159825f90975aeeb4346c0e4e0c41df6f07;p=bertos.git diff --git a/cpu/arm/io/at91sam7s256.h b/cpu/arm/io/at91sam7s256.h index 6c22208e..827f72da 100644 --- a/cpu/arm/io/at91sam7s256.h +++ b/cpu/arm/io/at91sam7s256.h @@ -70,8 +70,10 @@ * For additional information see http://www.ethernut.de/ */ -#ifndef AT91SAM7S_H -#define AT91SAM7S_H +#ifndef AT91SAM7S256_H +#define AT91SAM7S256_H + +#include #define FLASH_BASE 0x100000UL #define RAM_BASE 0x200000UL @@ -102,6 +104,11 @@ #define PIO_HAS_PERIPHERALSELECT 1 #define PIO_HAS_OUTPUTWRITEENABLE 1 +#define DBGU_HAS_PDC 1 +#define SPI_HAS_PDC 1 +#define SSC_HAS_PDC 1 +#define USART_HAS_PDC 1 + #include "at91_aic.h" #include "at91_pit.h" #include "at91_pmc.h" @@ -109,6 +116,8 @@ #include "at91_wdt.h" #include "at91_rstc.h" #include "at91_pio.h" +#include "at91_us.h" +#include "at91_dbgu.h" //TODO: add other peripherals /** Peripheral Identifiers and Interrupts */ @@ -151,11 +160,6 @@ #define PDC_TXTEN 0x00000100 ///< Transmitter transfer enable. #define PDC_TXTDIS 0x00000200 ///< Transmitter transfer disable. -#define DBGU_HAS_PDC 1 -#define SPI_HAS_PDC 1 -#define SSC_HAS_PDC 1 -#define USART_HAS_PDC 1 - /** Historical SPI0 Peripheral Multiplexing Names */ /*\{*/ #define SPI0_NPCS0_PA12A 12 ///< Port bit number on PIO-A Perpheral A. @@ -356,4 +360,4 @@ #define PB30_PWM3_B 30 /*\}*/ -#endif /* AT91SAM7S_H */ +#endif /* AT91SAM7S256_H */