Struct Serial
Source pub struct Serial<USART, PINS> { }
Expand description
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Starts listening for an interrupt event
Stop listening for an interrupt event
Return true if the line idle status is set
Return true if the tx register is empty (and can accept data)
Return true if the rx register is not empty (and can be read)
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Read error
Reads a single word from the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Write error
Ensures that none of the previously written words are still buffered
Writes a single word to the serial interface
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.