pub struct Rx<USART> { /* private fields */ }
Expand description

Serial receiver

Implementations

Check for, and return, any errors

The read methods can only return one error at a time, but there might actually be multiple errors. This method will return and clear a currently active error. Once it returns Ok(()), it should be possible to proceed with the next read call unimpeded.

Checks to see if the USART peripheral has detected an idle line and clears the flag

Checks to see if the USART peripheral has detected an receiver timeout and clears the flag

Checks to see if the USART peripheral has detected an character match and clears the flag

Check for, and return, any errors

The read methods can only return one error at a time, but there might actually be multiple errors. This method will return and clear a currently active error. Once it returns Ok(()), it should be possible to proceed with the next read call unimpeded.

Checks to see if the USART peripheral has detected an idle line and clears the flag

Checks to see if the USART peripheral has detected an receiver timeout and clears the flag

Checks to see if the USART peripheral has detected an character match and clears the flag

Trait Implementations

Checks to see if the USART peripheral has detected an character match and clears the flag

Checks to see if the USART peripheral has detected an character match and clears the flag

Check to see if the peripheral has detected some sort of error while performing an operation Read more

Check to see if the peripheral has detected some sort of error while performing an operation Read more

Read error

Reads a single word from the serial interface

Read error

Reads a single word from the serial interface

Check to see if the peripheral has detected a receiver timeout and clears the flag Read more

Check to see if the peripheral has detected a receiver timeout and clears the flag Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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.