diff options
| author | Felipe Balbi <[email protected]> | 2025-11-07 10:07:33 -0800 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2025-11-07 10:08:16 -0800 |
| commit | e75066820ad320495ca70570641c90d75247b19b (patch) | |
| tree | da2aeddb9164dbc2829b54185d1f180efbad6daf /src/lib.rs | |
| parent | cb2ac2790f4b037056f9571abeb4d62360199426 (diff) | |
cargo +nightly fmt
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 12 |
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")] | ||
| 34 | pub use mcxa_pac as pac; | ||
| 35 | #[cfg(not(feature = "unstable-pac"))] | ||
| 36 | pub(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 |
| 41 | pub use adc::Adc1 as Adc1Token; | 36 | pub use adc::Adc1 as Adc1Token; |
| 42 | pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output, pins::*}; | 37 | pub use gpio::pins::*; |
| 38 | pub use gpio::{AnyPin, Flex, Gpio as GpioToken, Input, Level, Output}; | ||
| 43 | pub use interrupt::InterruptExt; | 39 | pub use interrupt::InterruptExt; |
| 40 | #[cfg(feature = "unstable-pac")] | ||
| 41 | pub use mcxa_pac as pac; | ||
| 42 | #[cfg(not(feature = "unstable-pac"))] | ||
| 43 | pub(crate) use mcxa_pac as pac; | ||
| 44 | pub use ostimer::Ostimer0 as Ostimer0Token; | 44 | pub use ostimer::Ostimer0 as Ostimer0Token; |
| 45 | pub use rtc::Rtc0 as Rtc0Token; | 45 | pub use rtc::Rtc0 as Rtc0Token; |
| 46 | pub use uart::Lpuart2 as Uart2Token; | 46 | pub use uart::Lpuart2 as Uart2Token; |
