pub struct RxDma<PAYLOAD, RXCH> {
pub channel: RXCH,
/* private fields */
}Expand description
DMA Receiver
Fields§
§channel: RXCHImplementations§
Source§impl RxDma<Rx<USART1>, C5>
impl RxDma<Rx<USART1>, C5>
Sourcepub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER,
) -> FrameReader<BUFFER, Self, N>
pub fn frame_reader<BUFFER, const N: usize>( self, buffer: BUFFER, ) -> FrameReader<BUFFER, Self, N>
Create a frame reader that can either react on the Character match interrupt or Transfer Complete from the DMA.
Source§impl RxDma<Rx<USART2>, C6>
impl RxDma<Rx<USART2>, C6>
Sourcepub fn frame_reader<BUFFER, const N: usize>(
self,
buffer: BUFFER,
) -> FrameReader<BUFFER, Self, N>
pub fn frame_reader<BUFFER, const N: usize>( self, buffer: BUFFER, ) -> FrameReader<BUFFER, Self, N>
Create a frame reader that can either react on the Character match interrupt or Transfer Complete from the DMA.
Trait Implementations§
Auto Trait Implementations§
impl<PAYLOAD, RXCH> Freeze for RxDma<PAYLOAD, RXCH>
impl<PAYLOAD, RXCH> RefUnwindSafe for RxDma<PAYLOAD, RXCH>where
PAYLOAD: RefUnwindSafe,
RXCH: RefUnwindSafe,
impl<PAYLOAD, RXCH> Send for RxDma<PAYLOAD, RXCH>
impl<PAYLOAD, RXCH> Sync for RxDma<PAYLOAD, RXCH>
impl<PAYLOAD, RXCH> Unpin for RxDma<PAYLOAD, RXCH>
impl<PAYLOAD, RXCH> UnwindSafe for RxDma<PAYLOAD, RXCH>where
PAYLOAD: UnwindSafe,
RXCH: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more