Type Alias RawU32Slice

Source
pub type RawU32Slice = RawSlice<u32>;

Aliased Type§

struct RawU32Slice { /* private fields */ }

Trait Implementations§

Source§

impl ReadBuffer for RawU32Slice

This allows using Self in DMA APIs which expect a embedded_dma::ReadBuffer.

However, the user still must ensure that any alignment rules for DMA buffers required by the hardware are met and than any MPU/MMU configuration necessary is also performed for this to work properly.

Source§

type Word = u32

Source§

unsafe fn read_buffer(&self) -> (*const Self::Word, usize)

Provide a buffer usable for DMA reads. Read more