RawU16Slice

Type Alias RawU16Slice 

Source
pub type RawU16Slice = RawSlice<u16>;

Aliased Type§

pub struct RawU16Slice { /* private fields */ }

Trait Implementations§

Source§

impl ReadBuffer for RawU16Slice

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 = u16

Source§

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

Provide a buffer usable for DMA reads. Read more