summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-12 15:50:37 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-12 15:59:26 +0100
commitb2eaa6c69cf34705fa37eda0a385e61d9c876bf3 (patch)
tree2432fa728a6e515a8f26b033ccb98abe32509ba7 /bsps
parentrecord: Add more system events (diff)
downloadrtems-b2eaa6c69cf34705fa37eda0a385e61d9c876bf3.tar.bz2
bsp/lpc24xx: Add alternative SSP2 pins
Diffstat (limited to 'bsps')
-rw-r--r--bsps/arm/lpc24xx/include/bsp/io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bsps/arm/lpc24xx/include/bsp/io.h b/bsps/arm/lpc24xx/include/bsp/io.h
index c6fa4f47a1..b5b724b16b 100644
--- a/bsps/arm/lpc24xx/include/bsp/io.h
+++ b/bsps/arm/lpc24xx/include/bsp/io.h
@@ -949,15 +949,23 @@ static inline unsigned lpc24xx_pin_get_first_index(
#define LPC24XX_PIN_SSP_2_SCK_P1_0 \
LPC24XX_PIN(1, 0, LPC24XX_PIN_FUNCTION_00, 4)
+#define LPC24XX_PIN_SSP_2_SCK_P5_2 \
+ LPC24XX_PIN(5, 2, LPC24XX_PIN_FUNCTION_00, 2)
#define LPC24XX_PIN_SSP_2_SSEL_P1_8 \
LPC24XX_PIN(1, 8, LPC24XX_PIN_FUNCTION_00, 4)
+#define LPC24XX_PIN_SSP_2_SSEL_P5_3 \
+ LPC24XX_PIN(5, 3, LPC24XX_PIN_FUNCTION_00, 2)
#define LPC24XX_PIN_SSP_2_MISO_P1_4 \
LPC24XX_PIN(1, 4, LPC24XX_PIN_FUNCTION_00, 4)
+#define LPC24XX_PIN_SSP_2_MISO_P5_1 \
+ LPC24XX_PIN(5, 1, LPC24XX_PIN_FUNCTION_00, 2)
#define LPC24XX_PIN_SSP_2_MOSI_P1_1 \
LPC24XX_PIN(1, 1, LPC24XX_PIN_FUNCTION_00, 4)
+#define LPC24XX_PIN_SSP_2_MOSI_P5_0 \
+ LPC24XX_PIN(5, 0, LPC24XX_PIN_FUNCTION_00, 2)
/** @} */