pub struct Tx<U> { /* private fields */ }Expand description
UART Transmitter
Implementations§
Source§impl<U: UartPeriph> Tx<U>
impl<U: UartPeriph> Tx<U>
pub fn into_poll( self, retry_times: u32, flush_retry_times: u32, ) -> UartPollTx<U>
pub fn into_interrupt( self, buf_size: usize, transmit_retry_times: u32, flush_retry_times: u32, ) -> (UartInterruptTx<U>, UartInterruptTxHandler<U>)
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