From: asterix Date: Tue, 30 Oct 2007 17:24:00 +0000 (+0000) Subject: Add spi pins name. X-Git-Tag: 1.0.0~270 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b8b3383870fba0c7a44ffc57b7f172f573fc5139;p=bertos.git Add spi pins name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@972 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/cpu/arm/io/at91sam7s256.h b/cpu/arm/io/at91sam7s256.h index 9c3299de..f2817fc1 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 +#define MISO 12 +#define MOSI 13 +#define SPCK 14 +/*\}*/ + #endif /* AT91SAM7S256_H */