diff options
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 c27d508b0..182a53aea 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::Peri; | ||
| 7 | use embassy_hal_internal::drop::OnDrop; | 6 | use embassy_hal_internal::drop::OnDrop; |
| 7 | use embassy_hal_internal::Peri; | ||
| 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; | ||
| 12 | use crate::clocks::periph_helpers::{Div4, Lpi2cClockSel, Lpi2cConfig}; | 11 | use crate::clocks::periph_helpers::{Div4, Lpi2cClockSel, Lpi2cConfig}; |
| 13 | use crate::clocks::{PoweredClock, enable_and_reset}; | 12 | use crate::clocks::{enable_and_reset, PoweredClock}; |
| 14 | use crate::interrupt::typelevel::Interrupt; | 13 | 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)] |
