From 1d1a5a0b5e284898d72049536f3855c6492308d6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 31 Jul 2011 16:09:31 +0200 Subject: add USART1 definitions for SAM7S-P board --- at91lib/boards/sam7-p/board.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'at91lib/boards') diff --git a/at91lib/boards/sam7-p/board.h b/at91lib/boards/sam7-p/board.h index 4b8f92a..1fcf43e 100644 --- a/at91lib/boards/sam7-p/board.h +++ b/at91lib/boards/sam7-p/board.h @@ -185,6 +185,11 @@ /// USART0 SCK pin definition. #define PIN_USART0_SCK {1 << 2, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_PERIPH_B, PIO_DEFAULT} +/// USART1 RXD pin definition (PA21). +#define PIN_USART1_RXD {1 << 21, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_PERIPH_A, PIO_DEFAULT} +/// USART1 TXD pin definition (PA22). +#define PIN_USART1_TXD {1 << 22, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_PERIPH_A, PIO_DEFAULT} + /// SPI MISO pin definition (PA12). #define PIN_SPI_MISO {1 << 12, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_PERIPH_A, PIO_PULLUP} /// SPI MOSI pin definition (PA13). -- cgit v1.2.3