X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Farm%2Fio%2Fat91sam7s256.h;h=827f72da96aee79a78e24eb9bc8dc005d5d28fa1;hb=4be63e9bf292129a3d9771025528d254646180fe;hp=e59733b5b6c555553dea0b8c6535445e0cb1009e;hpb=dd8bd06f4cf326c1e585d685aa8378b1e943fd5a;p=bertos.git diff --git a/cpu/arm/io/at91sam7s256.h b/cpu/arm/io/at91sam7s256.h index e59733b5..827f72da 100644 --- a/cpu/arm/io/at91sam7s256.h +++ b/cpu/arm/io/at91sam7s256.h @@ -104,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" @@ -111,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 */ @@ -153,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.