[−][src]Struct esp32_hal::serial::Tx
Serial transmitter
Implementations
impl<UART: Instance> Tx<UART>
[src]
pub fn count(&self) -> u8
[src]
Get count of bytes in the transmitter FIFO
pub fn is_idle(&self) -> bool
[src]
Check if the transmitter is idle
Trait Implementations
impl<UART: Instance> Write<u8> for Tx<UART>
[src]
type Error = Infallible
Write error
fn flush(&mut self) -> Result<(), Self::Error>
[src]
fn write(&mut self, byte: u8) -> Result<(), Self::Error>
[src]
impl<UART: Instance> Write for Tx<UART> where
Tx<UART>: Write<u8>,
[src]
Tx<UART>: Write<u8>,
Auto Trait Implementations
impl<UART> Send for Tx<UART> where
UART: Send,
UART: Send,
impl<UART> Sync for Tx<UART> where
UART: Sync,
UART: Sync,
impl<UART> Unpin for Tx<UART> where
UART: Unpin,
UART: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,