aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-nrf/src/saadc.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs
index c2787e02b..94744c444 100644
--- a/embassy-nrf/src/saadc.rs
+++ b/embassy-nrf/src/saadc.rs
@@ -14,11 +14,11 @@ use crate::{pac, peripherals};
14 14
15use pac::{saadc, SAADC}; 15use pac::{saadc, SAADC};
16 16
17// We treat the positive and negative channels with the same enum values to keep our type tidy and given they are the same
18pub(crate) use saadc::ch::pselp::PSELP_A as InputChannel;
19
17pub use saadc::{ 20pub use saadc::{
18 ch::{ 21 ch::config::{GAIN_A as Gain, REFSEL_A as Reference, RESP_A as Resistor, TACQ_A as Time},
19 config::{GAIN_A as Gain, REFSEL_A as Reference, RESP_A as Resistor, TACQ_A as Time},
20 pselp::PSELP_A as InputChannel, // We treat the positive and negative channels with the same enum values to keep our type tidy and given they are the same
21 },
22 oversample::OVERSAMPLE_A as Oversample, 22 oversample::OVERSAMPLE_A as Oversample,
23 resolution::VAL_A as Resolution, 23 resolution::VAL_A as Resolution,
24}; 24};