aboutsummaryrefslogtreecommitdiff
path: root/examples/lpc43xx/hackrf-jellybean/jellybean_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lpc43xx/hackrf-jellybean/jellybean_conf.h')
-rw-r--r--examples/lpc43xx/hackrf-jellybean/jellybean_conf.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/examples/lpc43xx/hackrf-jellybean/jellybean_conf.h b/examples/lpc43xx/hackrf-jellybean/jellybean_conf.h
index a5ad8d0..dc791b3 100644
--- a/examples/lpc43xx/hackrf-jellybean/jellybean_conf.h
+++ b/examples/lpc43xx/hackrf-jellybean/jellybean_conf.h
@@ -27,9 +27,9 @@ extern "C"
#include <libopencm3/lpc43xx/scu.h>
-/************************/
-/* JellyBean SCU PinMux */
-/************************/
+/*
+ * JellyBean SCU PinMux
+ */
/* GPIO Output PinMux */
#define SCU_PINMUX_LED1 (P4_1) /* GPIO2[1] on P4_1 */
@@ -44,12 +44,17 @@ extern "C"
#define SCU_PINMUX_BOOT2 (P2_8) /* GPIO5[7] on P2_8 */
#define SCU_PINMUX_BOOT3 (P2_9) /* GPIO1[10] on P2_9 */
-/* TODO add other Pins */
+/* SSP1 Peripheral PinMux */
+#define SCU_SSP1_MISO (P1_3) /* P1_3 */
+#define SCU_SSP1_MOSI (P1_4) /* P1_4 */
+#define SCU_SSP1_SCK (P1_19) /* P1_19 */
+#define SCU_SSP1_SSEL (P1_20) /* P1_20 */
-/**********************/
-/* JellyBean GPIO Pin */
-/**********************/
+/* TODO add other Pins */
+/*
+ * JellyBean GPIO Pin
+ */
/* GPIO Output */
#define PIN_LED1 (BIT1) /* GPIO2[1] on P4_1 */
#define PIN_LED2 (BIT2) /* GPIO2[2] on P4_2 */