Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MabezDev committed Aug 23, 2024
1 parent 48dae54 commit 764788b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion esp-hal/src/spi/master.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,12 @@ pub mod dma {
}

/// A DMA capable SPI instance.
///
/// Using `SpiDma` is not recommended unless you wish
/// to manage buffers yourself. It's recommended to use
/// [`SpiDmaBus`] via `with_buffers` to get access
/// to a DMA capable SPI bus that implements the
/// embedded-hal traits.
pub struct SpiDma<'d, T, C, D, M>
where
C: DmaChannel,
Expand Down Expand Up @@ -1559,7 +1565,7 @@ pub mod dma {
/// A DMA-capable SPI bus.
///
/// This structure is responsible for managing SPI transfers using DMA
/// buffers.
/// buffers. Implements the embedded-hal traits.
pub struct SpiDmaBus<'d, T, C, D, M>
where
T: InstanceDma,
Expand Down

0 comments on commit 764788b

Please sign in to comment.