pub struct UartInterruptTx<U, OS: OsInterface> { /* private fields */ }Implementations§
Source§impl<U, OS> UartInterruptTx<U, OS>where
U: UartPeriph,
OS: OsInterface,
impl<U, OS> UartInterruptTx<U, OS>where
U: UartPeriph,
OS: OsInterface,
pub fn new( uart: [U; 2], buf_size: usize, baudrate: u32, timeout: MicrosDurationU32, ) -> (Self, UartInterruptTxHandler<U, OS>)
Trait Implementations§
Source§impl<U: UartPeriph, OS: OsInterface> ErrorType for UartInterruptTx<U, OS>
impl<U: UartPeriph, OS: OsInterface> ErrorType for UartInterruptTx<U, OS>
Source§impl<U: UartPeriph, OS: OsInterface> Write for UartInterruptTx<U, OS>
impl<U: UartPeriph, OS: OsInterface> Write for UartInterruptTx<U, OS>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Self::Error>
fn flush(&mut self) -> Result<(), Self::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.