Struct stm32f4xx_hal::serial::Rx [−][src]
pub struct Rx<USART, WORD = u8> { /* fields omitted */ }
Expand description
Serial receiver
Implementations
Start listening for an rx not empty interrupt event
Note, you will also have to enable the corresponding interrupt in the NVIC to start receiving events.
Start listening for a line idle interrupt event
Note, you will also have to enable the corresponding interrupt in the NVIC to start receiving events.
Stop listening for the line idle interrupt event
Return true if the rx register is not empty (and can be read)
Clear idle line interrupt flag
Trait Implementations
Reads 9-bit words from the UART/USART
If the UART/USART was configured with WordLength::DataBits9
, the returned value will contain
9 received data bits and all other bits set to zero. Otherwise, the returned value will contain
8 received data bits and all other bits set to zero.