X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu%2Farm%2Fio%2Fat91sam7s256.h;h=98fd66d544cb659f9ffa6fae0f4d011a193bca5b;hb=4fde1408cfd15ab13613e6b28968fda4915af4bf;hp=9c3299de61d696f37998ff10cc514144e29b3618;hpb=0c34de8478ce67d95f6bef3d239b76204c1dbdc2;p=bertos.git diff --git a/cpu/arm/io/at91sam7s256.h b/cpu/arm/io/at91sam7s256.h index 9c3299de..98fd66d5 100644 --- a/cpu/arm/io/at91sam7s256.h +++ b/cpu/arm/io/at91sam7s256.h @@ -120,8 +120,10 @@ #include "at91_dbgu.h" //TODO: add other peripherals -/** Peripheral Identifiers and Interrupts */ -/*\{*/ +/** + * Peripheral Identifiers and Interrupts + *\{ + */ #define FIQ_ID 0 ///< Fast interrupt ID. #define SYSC_ID 1 ///< System controller interrupt. #define PIOA_ID 2 ///< Parallel I/O controller ID. @@ -142,12 +144,24 @@ #define IRQ1_ID 31 ///< External interrupt 1 ID. /*\}*/ -/** USART pins name */ -/*\{*/ +/** + * USART pins name + *\{ + */ #define RXD0 5 #define TXD0 6 #define RXD1 21 #define TXD1 22 /*\}*/ +/** + * SPI pins name + *\{ + */ +#define NPCS0 11 // Same as NSS pin. +#define MISO 12 +#define MOSI 13 +#define SPCK 14 +/*\}*/ + #endif /* AT91SAM7S256_H */