aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 518fe01d2..fe27aadba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,17 +30,17 @@ pub fn pac() -> &'static pac::Peripherals {
30 } 30 }
31} 31}
32 32
33#[cfg(feature = "unstable-pac")]
34pub use mcxa_pac as pac;
35#[cfg(not(feature = "unstable-pac"))]
36pub(crate) use mcxa_pac as pac;
37
38// Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it. 33// Use cortex-m-rt's #[interrupt] attribute directly; PAC does not re-export it.
39 34
40// Re-export interrupt traits and types 35// Re-export interrupt traits and types
41pub use adc::Adc1 as Adc1Token; 36pub use adc::Adc1 as Adc1Token;
42pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output, pins::*}; 37pub use gpio::pins::*;
38pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output};
43pub use interrupt::InterruptExt; 39pub use interrupt::InterruptExt;
40#[cfg(feature = "unstable-pac")]
41pub use mcxa_pac as pac;
42#[cfg(not(feature = "unstable-pac"))]
43pub(crate) use mcxa_pac as pac;
44pub use ostimer::Ostimer0 as Ostimer0Token; 44pub use ostimer::Ostimer0 as Ostimer0Token;
45pub use rtc::Rtc0 as Rtc0Token; 45pub use rtc::Rtc0 as Rtc0Token;
46pub use uart::Lpuart2 as Uart2Token; 46pub use uart::Lpuart2 as Uart2Token;