pub struct Tx<U> { /* private fields */ }Expand description
UART Transmitter
Implementations§
Source§impl<U: UartPeriphExt> Tx<U>
impl<U: UartPeriphExt> Tx<U>
pub fn into_poll<W: Waiter>( self, timeout: W, flush_timeout: W, ) -> UartPollTx<U, W>
pub fn into_interrupt<W: Waiter>( self, buf_size: usize, timeout: W, flush_timeout: W, ) -> (UartInterruptTx<U, W>, UartInterruptTxHandler<U>)
pub fn into_dma_ringbuf<CH, W>( self, dma_ch: CH, buf_size: usize, timeout: W, flush_timeout: W, ) -> (UartDmaBufTx<U, CH, W>, DmaRingbufTxLoader<u8, CH>)
Auto Trait Implementations§
impl<U> Freeze for Tx<U>where
U: Freeze,
impl<U> RefUnwindSafe for Tx<U>where
U: RefUnwindSafe,
impl<U> Send for Tx<U>where
U: Send,
impl<U> Sync for Tx<U>where
U: Sync,
impl<U> Unpin for Tx<U>where
U: Unpin,
impl<U> UnwindSafe for Tx<U>where
U: 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