diff options
| author | James Munns <[email protected]> | 2025-12-04 19:19:23 +0100 |
|---|---|---|
| committer | James Munns <[email protected]> | 2025-12-04 19:19:23 +0100 |
| commit | e7e4d0e03f6ccee7a8577058bfccefaf92b2689e (patch) | |
| tree | 21fedd516fc5bd2cc54f893a9ef119ee3d847afd /embassy-mcxa/src/i2c/controller.rs | |
| parent | 6530bcd8bcff9169f39732ba93a612f9262b809e (diff) | |
rustfmt
Diffstat (limited to 'embassy-mcxa/src/i2c/controller.rs')
| -rw-r--r-- | embassy-mcxa/src/i2c/controller.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embassy-mcxa/src/i2c/controller.rs b/embassy-mcxa/src/i2c/controller.rs index 182a53aea..c27d508b0 100644 --- a/embassy-mcxa/src/i2c/controller.rs +++ b/embassy-mcxa/src/i2c/controller.rs | |||
| @@ -3,15 +3,15 @@ | |||
| 3 | use core::future::Future; | 3 | use core::future::Future; |
| 4 | use core::marker::PhantomData; | 4 | use core::marker::PhantomData; |
| 5 | 5 | ||
| 6 | use embassy_hal_internal::drop::OnDrop; | ||
| 7 | use embassy_hal_internal::Peri; | 6 | use embassy_hal_internal::Peri; |
| 7 | use embassy_hal_internal::drop::OnDrop; | ||
| 8 | use mcxa_pac::lpi2c0::mtdr::Cmd; | 8 | use mcxa_pac::lpi2c0::mtdr::Cmd; |
| 9 | 9 | ||
| 10 | use super::{Async, Blocking, Error, Instance, InterruptHandler, Mode, Result, SclPin, SdaPin}; | 10 | use super::{Async, Blocking, Error, Instance, InterruptHandler, Mode, Result, SclPin, SdaPin}; |
| 11 | use crate::AnyPin; | ||
| 11 | use crate::clocks::periph_helpers::{Div4, Lpi2cClockSel, Lpi2cConfig}; | 12 | use crate::clocks::periph_helpers::{Div4, Lpi2cClockSel, Lpi2cConfig}; |
| 12 | use crate::clocks::{enable_and_reset, PoweredClock}; | 13 | use crate::clocks::{PoweredClock, enable_and_reset}; |
| 13 | use crate::interrupt::typelevel::Interrupt; | 14 | use crate::interrupt::typelevel::Interrupt; |
| 14 | use crate::AnyPin; | ||
| 15 | 15 | ||
| 16 | /// Bus speed (nominal SCL, no clock stretching) | 16 | /// Bus speed (nominal SCL, no clock stretching) |
| 17 | #[derive(Clone, Copy, Default, PartialEq)] | 17 | #[derive(Clone, Copy, Default, PartialEq)] |
