pub struct Tx<USART> { /* private fields */ }
Expand description
Serial transmitter
Trait Implementations§
Source§impl<USART> Write for Tx<USART>
impl<USART> Write for Tx<USART>
Source§impl<USART> Write<u8> for Tx<USART>where
USART: Deref<Target = RegisterBlock>,
impl<USART> Write<u8> for Tx<USART>where
USART: Deref<Target = RegisterBlock>,
Source§fn flush(&mut self) -> Result<(), Error<<Tx<USART> as Write<u8>>::Error>>
fn flush(&mut self) -> Result<(), Error<<Tx<USART> as Write<u8>>::Error>>
Ensures that none of the previously written words are still buffered
impl<USART> Send for Tx<USART>
Auto Trait Implementations§
impl<USART> Freeze for Tx<USART>
impl<USART> !RefUnwindSafe for Tx<USART>
impl<USART> !Sync for Tx<USART>
impl<USART> Unpin for Tx<USART>where
USART: Unpin,
impl<USART> !UnwindSafe for Tx<USART>
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