diff options
| -rw-r--r-- | embassy-nrf/src/pdm.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-nrf/src/pdm.rs b/embassy-nrf/src/pdm.rs index 4cee566c8..217884d1c 100644 --- a/embassy-nrf/src/pdm.rs +++ b/embassy-nrf/src/pdm.rs | |||
| @@ -17,8 +17,6 @@ use crate::gpio::{AnyPin, Pin as GpioPin}; | |||
| 17 | use crate::interrupt::typelevel::Interrupt; | 17 | use crate::interrupt::typelevel::Interrupt; |
| 18 | use crate::pac::pdm::mode::{EDGE_A, OPERATION_A}; | 18 | use crate::pac::pdm::mode::{EDGE_A, OPERATION_A}; |
| 19 | pub use crate::pac::pdm::pdmclkctrl::FREQ_A as Frequency; | 19 | pub use crate::pac::pdm::pdmclkctrl::FREQ_A as Frequency; |
| 20 | use crate::{interrupt, Peripheral}; | ||
| 21 | |||
| 22 | #[cfg(any( | 20 | #[cfg(any( |
| 23 | feature = "nrf52840", | 21 | feature = "nrf52840", |
| 24 | feature = "nrf52833", | 22 | feature = "nrf52833", |
| @@ -26,6 +24,7 @@ use crate::{interrupt, Peripheral}; | |||
| 26 | feature = "_nrf9160", | 24 | feature = "_nrf9160", |
| 27 | ))] | 25 | ))] |
| 28 | pub use crate::pac::pdm::ratio::RATIO_A as Ratio; | 26 | pub use crate::pac::pdm::ratio::RATIO_A as Ratio; |
| 27 | use crate::{interrupt, Peripheral}; | ||
| 29 | 28 | ||
| 30 | /// Interrupt handler. | 29 | /// Interrupt handler. |
| 31 | pub struct InterruptHandler<T: Instance> { | 30 | pub struct InterruptHandler<T: Instance> { |
