pub struct TxDma<PAYLOAD, TXCH> {
pub channel: TXCH,
/* private fields */
}Expand description
DMA Transmitter
Fields§
§channel: TXCHImplementations§
Source§impl TxDma<Tx<USART1>, C4>
impl TxDma<Tx<USART1>, C4>
Sourcepub fn frame_sender<BUFFER, const N: usize>(
self,
) -> FrameSender<BUFFER, Self, N>
pub fn frame_sender<BUFFER, const N: usize>( self, ) -> FrameSender<BUFFER, Self, N>
Creates a new DMA frame sender
Source§impl TxDma<Tx<USART2>, C7>
impl TxDma<Tx<USART2>, C7>
Sourcepub fn frame_sender<BUFFER, const N: usize>(
self,
) -> FrameSender<BUFFER, Self, N>
pub fn frame_sender<BUFFER, const N: usize>( self, ) -> FrameSender<BUFFER, Self, N>
Creates a new DMA frame sender
Auto Trait Implementations§
impl<PAYLOAD, TXCH> Freeze for TxDma<PAYLOAD, TXCH>
impl<PAYLOAD, TXCH> RefUnwindSafe for TxDma<PAYLOAD, TXCH>where
PAYLOAD: RefUnwindSafe,
TXCH: RefUnwindSafe,
impl<PAYLOAD, TXCH> Send for TxDma<PAYLOAD, TXCH>
impl<PAYLOAD, TXCH> Sync for TxDma<PAYLOAD, TXCH>
impl<PAYLOAD, TXCH> Unpin for TxDma<PAYLOAD, TXCH>
impl<PAYLOAD, TXCH> UnwindSafe for TxDma<PAYLOAD, TXCH>where
PAYLOAD: UnwindSafe,
TXCH: 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