pub struct Serial<USART, TXPIN, RXPIN> { /* fields omitted */ }
Expand description
Creates a new serial instance
Creates a new tx-only serial instance
Creates a new rx-only serial instance
Starts listening for an interrupt event
Stop listening for an interrupt event
Creates a new serial instance
Creates a new tx-only serial instance
Creates a new rx-only serial instance
Starts listening for an interrupt event
Stop listening for an interrupt event
Splits the UART Peripheral in a Tx and an Rx part
This is required for sending/receiving
Tries to read a byte from the uart
Writes a string slice into this writer, returning whether the write
succeeded. Read more
Writes a char
into this writer, returning whether the write succeeded. Read more
Glue for usage of the write!
macro with implementors of this trait. Read more
Ensures that none of the previously written words are still buffered
Tries to write a byte to the uart
Fails if the transmit buffer is full
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.