Struct stm32l4xx_hal::dma::RxDma
source · [−]pub struct RxDma<PAYLOAD, RXCH> {
pub channel: RXCH,
/* private fields */
}
Expand description
DMA Receiver
Fields
channel: RXCH
Implementations
sourceimpl RxDma<Rx<USART1>, C5>
impl RxDma<Rx<USART1>, C5>
sourcepub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER
) -> FrameReader<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
pub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER
) -> FrameReader<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
Create a frame reader that can either react on the Character match interrupt or Transfer Complete from the DMA.
sourceimpl RxDma<Rx<USART2>, C6>
impl RxDma<Rx<USART2>, C6>
sourcepub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER
) -> FrameReader<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
pub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER
) -> FrameReader<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
Create a frame reader that can either react on the Character match interrupt or Transfer Complete from the DMA.
sourceimpl<PINS> RxDma<SpiPayload<SPI, PINS>, CHANNEL>
impl<PINS> RxDma<SpiPayload<SPI, PINS>, CHANNEL>
Trait Implementations
Auto Trait Implementations
impl<PAYLOAD, RXCH> RefUnwindSafe for RxDma<PAYLOAD, RXCH> where
PAYLOAD: RefUnwindSafe,
RXCH: RefUnwindSafe,
impl<PAYLOAD, RXCH> Send for RxDma<PAYLOAD, RXCH> where
PAYLOAD: Send,
RXCH: Send,
impl<PAYLOAD, RXCH> Sync for RxDma<PAYLOAD, RXCH> where
PAYLOAD: Sync,
RXCH: Sync,
impl<PAYLOAD, RXCH> Unpin for RxDma<PAYLOAD, RXCH> where
PAYLOAD: Unpin,
RXCH: Unpin,
impl<PAYLOAD, RXCH> UnwindSafe for RxDma<PAYLOAD, RXCH> where
PAYLOAD: UnwindSafe,
RXCH: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more