summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/lpc24xx/include/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/include/io.h')
-rw-r--r--c/src/lib/libbsp/arm/lpc24xx/include/io.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/include/io.h b/c/src/lib/libbsp/arm/lpc24xx/include/io.h
index f798f54768..60670ac460 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/include/io.h
+++ b/c/src/lib/libbsp/arm/lpc24xx/include/io.h
@@ -322,12 +322,18 @@ rtems_status_code lpc24xx_pin_config(
* @{
*/
-#define LPC24XX_PIN_CAN_0_RD \
+#define LPC24XX_PIN_CAN_0_RD_P0_0 \
LPC24XX_PIN(0, 0, LPC24XX_PIN_FUNCTION_01, 1)
-#define LPC24XX_PIN_CAN_0_TD \
+#define LPC24XX_PIN_CAN_0_RD_P0_21 \
+ LPC24XX_PIN(0, 21, LPC24XX_PIN_FUNCTION_11, 4)
+
+#define LPC24XX_PIN_CAN_0_TD_P0_1 \
LPC24XX_PIN(0, 1, LPC24XX_PIN_FUNCTION_01, 1)
+#define LPC24XX_PIN_CAN_0_TD_P0_22 \
+ LPC24XX_PIN(0, 22, LPC24XX_PIN_FUNCTION_11, 4)
+
/** @} */
/**
@@ -336,12 +342,18 @@ rtems_status_code lpc24xx_pin_config(
* @{
*/
-#define LPC24XX_PIN_CAN_1_RD \
+#define LPC24XX_PIN_CAN_1_RD_P0_4 \
LPC24XX_PIN(0, 4, LPC24XX_PIN_FUNCTION_10, 2)
-#define LPC24XX_PIN_CAN_1_TD \
+#define LPC24XX_PIN_CAN_1_RD_P2_7 \
+ LPC24XX_PIN(2, 7, LPC24XX_PIN_FUNCTION_01, 1)
+
+#define LPC24XX_PIN_CAN_1_TD_P0_5 \
LPC24XX_PIN(0, 5, LPC24XX_PIN_FUNCTION_10, 2)
+#define LPC24XX_PIN_CAN_1_TD_P2_8 \
+ LPC24XX_PIN(2, 8, LPC24XX_PIN_FUNCTION_01, 1)
+
/** @} */
/**