aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsm/pio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsm/pio.h')
-rw-r--r--src/fsm/pio.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/fsm/pio.h b/src/fsm/pio.h
index ed9fd9c..181b08d 100644
--- a/src/fsm/pio.h
+++ b/src/fsm/pio.h
@@ -33,6 +33,8 @@
/* See pio.txt for PIO allocation details */
+#define INVERTED_1750 0
+
/* On GPIO C */
#define GPIO_PIN_QRP_n GPIO_Pin_1
#define GPIO_PIN_LED_red GPIO_Pin_2
@@ -52,12 +54,13 @@
#define GPIOC_OPENDRAIN_PINS 0
+#define GPIOC_INPUT_PINS 0
-#define GPIOC_INPUT_PINS GPIO_PIN_QRP_n | \
- GPIO_PIN_1750 | \
- GPIO_PIN_RX_n | \
- GPIO_PIN_U_n | \
- GPIO_PIN_D_n
+#define GPIOC_INPUT_PU_PINS GPIO_PIN_QRP_n | \
+ GPIO_PIN_U_n | \
+ GPIO_PIN_D_n | \
+ GPIO_PIN_RX_n | \
+ GPIO_PIN_1750
void pio_init(void);