pub struct UartDmaBufTx<U, CH, OS: OsInterface> { /* private fields */ }Implementations§
Source§impl<U, CH, OS> UartDmaBufTx<U, CH, OS>
impl<U, CH, OS> UartDmaBufTx<U, CH, OS>
pub fn new( uart: U, dma_ch: CH, buf_size: usize, baudrate: u32, timeout: MicrosDurationU32, ) -> (Self, DmaRingbufTxLoader<u8, CH, OS>)
Trait Implementations§
Source§impl<U, CH, OS> ErrorType for UartDmaBufTx<U, CH, OS>where
OS: OsInterface,
impl<U, CH, OS> ErrorType for UartDmaBufTx<U, CH, OS>where
OS: OsInterface,
Source§impl<U, CH, OS> Write for UartDmaBufTx<U, CH, OS>where
CH: DmaChannel,
OS: OsInterface,
impl<U, CH, OS> Write for UartDmaBufTx<U, CH, OS>where
CH: DmaChannel,
OS: OsInterface,
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.