diff options
Diffstat (limited to 'cyw43-pio/src/lib.rs')
| -rw-r--r-- | cyw43-pio/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cyw43-pio/src/lib.rs b/cyw43-pio/src/lib.rs index b0be19358..41ac6816d 100644 --- a/cyw43-pio/src/lib.rs +++ b/cyw43-pio/src/lib.rs | |||
| @@ -6,13 +6,13 @@ | |||
| 6 | use core::slice; | 6 | use core::slice; |
| 7 | 7 | ||
| 8 | use cyw43::SpiBusCyw43; | 8 | use cyw43::SpiBusCyw43; |
| 9 | use embassy_rp::Peri; | ||
| 9 | use embassy_rp::dma::Channel; | 10 | use embassy_rp::dma::Channel; |
| 10 | use embassy_rp::gpio::{Drive, Level, Output, Pull, SlewRate}; | 11 | use embassy_rp::gpio::{Drive, Level, Output, Pull, SlewRate}; |
| 11 | use embassy_rp::pio::program::pio_asm; | 12 | use embassy_rp::pio::program::pio_asm; |
| 12 | use embassy_rp::pio::{Common, Config, Direction, Instance, Irq, PioPin, ShiftDirection, StateMachine}; | 13 | use embassy_rp::pio::{Common, Config, Direction, Instance, Irq, PioPin, ShiftDirection, StateMachine}; |
| 13 | use embassy_rp::Peri; | ||
| 14 | use fixed::types::extra::U8; | ||
| 15 | use fixed::FixedU32; | 14 | use fixed::FixedU32; |
| 15 | use fixed::types::extra::U8; | ||
| 16 | 16 | ||
| 17 | /// SPI comms driven by PIO. | 17 | /// SPI comms driven by PIO. |
| 18 | pub struct PioSpi<'d, PIO: Instance, const SM: usize, DMA: Channel> { | 18 | pub struct PioSpi<'d, PIO: Instance, const SM: usize, DMA: Channel> { |
