summaryrefslogtreecommitdiff
path: root/at91lib/boards/sam7-p
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-31 16:09:31 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-31 16:09:31 +0200
commit1d1a5a0b5e284898d72049536f3855c6492308d6 (patch)
tree3d058048286f80a876a4e0bd6949277ae1c2f02f /at91lib/boards/sam7-p
parentef274c62cb8b121ef933809ca9416c7a68ab6896 (diff)
add USART1 definitions for SAM7S-P board
Diffstat (limited to 'at91lib/boards/sam7-p')
-rw-r--r--at91lib/boards/sam7-p/board.h5
1 files changed, 5 insertions, 0 deletions
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).
personal git repositories of Harald Welte. Your mileage may vary