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

Serial receiver

Implementations

Returns true if the line idle status is set This reads the ISR register’s IDLE bit. This bit is set by hardware when an Idle Line is detected. And can be cleared by calling clear_idle_interrupt.

This flag is set by hardware even when interrupts are disabled (IDLEIE=0 in CR1)

Returns true if the rx register is not empty (and can be read)

Clear idle line interrupt flag

Checks for reception errors that may have occurred.

Note that multiple errors can be signaled at the same time. In that case, calling this function repeatedly will return the remaining errors.

Clears any signaled errors without returning them.

DMA operations.

Returns true if the line idle status is set This reads the ISR register’s IDLE bit. This bit is set by hardware when an Idle Line is detected. And can be cleared by calling clear_idle_interrupt.

This flag is set by hardware even when interrupts are disabled (IDLEIE=0 in CR1)

Returns true if the rx register is not empty (and can be read)

Clear idle line interrupt flag

Checks for reception errors that may have occurred.

Note that multiple errors can be signaled at the same time. In that case, calling this function repeatedly will return the remaining errors.

Clears any signaled errors without returning them.

DMA operations.

Returns true if the line idle status is set This reads the ISR register’s IDLE bit. This bit is set by hardware when an Idle Line is detected. And can be cleared by calling clear_idle_interrupt.

This flag is set by hardware even when interrupts are disabled (IDLEIE=0 in CR1)

Returns true if the rx register is not empty (and can be read)

Clear idle line interrupt flag

Checks for reception errors that may have occurred.

Note that multiple errors can be signaled at the same time. In that case, calling this function repeatedly will return the remaining errors.

Clears any signaled errors without returning them.

DMA operations.

Returns true if the line idle status is set This reads the ISR register’s IDLE bit. This bit is set by hardware when an Idle Line is detected. And can be cleared by calling clear_idle_interrupt.

This flag is set by hardware even when interrupts are disabled (IDLEIE=0 in CR1)

Returns true if the rx register is not empty (and can be read)

Clear idle line interrupt flag

Checks for reception errors that may have occurred.

Note that multiple errors can be signaled at the same time. In that case, calling this function repeatedly will return the remaining errors.

Clears any signaled errors without returning them.

DMA operations.

Returns true if the line idle status is set This reads the ISR register’s IDLE bit. This bit is set by hardware when an Idle Line is detected. And can be cleared by calling clear_idle_interrupt.

This flag is set by hardware even when interrupts are disabled (IDLEIE=0 in CR1)

Returns true if the rx register is not empty (and can be read)

Clear idle line interrupt flag

Checks for reception errors that may have occurred.

Note that multiple errors can be signaled at the same time. In that case, calling this function repeatedly will return the remaining errors.

Clears any signaled errors without returning them.

DMA operations.

Trait Implementations

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

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.