aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa/src
diff options
context:
space:
mode:
authorMathis Deroo <[email protected]>2025-12-09 09:39:27 -0800
committerMathis Deroo <[email protected]>2025-12-09 10:52:12 -0800
commitbea34ace6b4d8af29d2deb169ddb3d7c258498ee (patch)
treee18e19d6cf1edae7ef5a9869f134e6c3da811d46 /embassy-mcxa/src
parentf81eeee3c1bfa1cab534181ff6349a0998fc26ea (diff)
Add support of ADC2 and ADC3 instances
Signed-off-by: Mathis Deroo <[email protected]>
Diffstat (limited to 'embassy-mcxa/src')
-rw-r--r--embassy-mcxa/src/adc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-mcxa/src/adc.rs b/embassy-mcxa/src/adc.rs
index 900a3a40a..f4ac133d7 100644
--- a/embassy-mcxa/src/adc.rs
+++ b/embassy-mcxa/src/adc.rs
@@ -630,7 +630,7 @@ macro_rules! impl_instance {
630 }; 630 };
631} 631}
632 632
633impl_instance!(0, 1); //ADC2 and ADC3 missing in the PAC ?? 633impl_instance!(0, 1, 2, 3);
634 634
635pub trait AdcPin<Instance>: GpioPin + sealed::Sealed + PeripheralType { 635pub trait AdcPin<Instance>: GpioPin + sealed::Sealed + PeripheralType {
636 /// Set the given pin to the correct muxing state 636 /// Set the given pin to the correct muxing state