aboutsummaryrefslogtreecommitdiff
path: root/embassy-mcxa/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-mcxa/src/lib.rs')
-rw-r--r--embassy-mcxa/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-mcxa/src/lib.rs b/embassy-mcxa/src/lib.rs
index 7de5839be..22bc40e35 100644
--- a/embassy-mcxa/src/lib.rs
+++ b/embassy-mcxa/src/lib.rs
@@ -20,6 +20,7 @@ pub mod ostimer;
20pub mod reset_reason; 20pub mod reset_reason;
21pub mod rtc; 21pub mod rtc;
22 22
23use crate::interrupt::InterruptExt;
23pub use crate::pac::NVIC_PRIO_BITS; 24pub use crate::pac::NVIC_PRIO_BITS;
24 25
25#[rustfmt::skip] 26#[rustfmt::skip]
@@ -338,8 +339,6 @@ embassy_hal_internal::peripherals!(
338// Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. 339// Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it.
339 340
340// Re-export interrupt traits and types 341// Re-export interrupt traits and types
341pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output};
342pub use interrupt::InterruptExt;
343#[cfg(feature = "unstable-pac")] 342#[cfg(feature = "unstable-pac")]
344pub use mcxa_pac as pac; 343pub use mcxa_pac as pac;
345#[cfg(not(feature = "unstable-pac"))] 344#[cfg(not(feature = "unstable-pac"))]