aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/lib.rs
diff options
context:
space:
mode:
authorpennae <[email protected]>2023-07-21 21:31:44 +0200
committerpennae <[email protected]>2023-08-01 18:31:28 +0200
commitb166ed6b78db0737005a65c1e444ce7563de7da3 (patch)
treeb06b0742ceb839e5739e92ea4c001617eb2f5d8c /embassy-rp/src/lib.rs
parent54d31c98fe44533c955c494ea58dd16810367c4f (diff)
rp: generalize adc inputs from pins to channels
this lets us treat pins and the temperature sensor uniformly using the same interface. uniformity in turn lets us add more adc features without combinatorial explosion of methods and types needed to handle them all.
Diffstat (limited to 'embassy-rp/src/lib.rs')
-rw-r--r--embassy-rp/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs
index 45156458d..49bd3533e 100644
--- a/embassy-rp/src/lib.rs
+++ b/embassy-rp/src/lib.rs
@@ -183,6 +183,7 @@ embassy_hal_internal::peripherals! {
183 FLASH, 183 FLASH,
184 184
185 ADC, 185 ADC,
186 ADC_TEMP_SENSOR,
186 187
187 CORE1, 188 CORE1,
188 189