aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf/pin_defs_nrf5.h
diff options
context:
space:
mode:
authorDamien George2019-09-05 19:19:01 +1000
committerDamien George2019-09-05 22:13:04 +1000
commitb766a6971eaa377ceb7d5a308b0cd4219e313ad3 (patch)
tree61fe82f36cd9d9678821b07f1bd1dd04bc9795a5 /ports/nrf/pin_defs_nrf5.h
parent9cad134a2f861a0f8864b70ab80c9d6cc61c2932 (diff)
nrf: Add ADC channel mapping to alt function table.
Diffstat (limited to 'ports/nrf/pin_defs_nrf5.h')
-rw-r--r--ports/nrf/pin_defs_nrf5.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/pin_defs_nrf5.h b/ports/nrf/pin_defs_nrf5.h
index 99020ded7..db05aef99 100644
--- a/ports/nrf/pin_defs_nrf5.h
+++ b/ports/nrf/pin_defs_nrf5.h
@@ -57,5 +57,8 @@ enum {
// NRF_SPI_Type *SPIM;
// NRF_SPIS_Type *SPIS;
+enum {
+ PIN_ADC1 = (1 << 0),
+};
typedef NRF_GPIO_Type pin_gpio_t;