Struct stm32h7xx_hal::serial::Rx
source · pub struct Rx<USART> { /* private fields */ }
Expand description
Serial receiver
Implementations§
source§impl Rx<USART1>
impl Rx<USART1>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<USART2>
impl Rx<USART2>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<USART3>
impl Rx<USART3>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<USART6>
impl Rx<USART6>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<UART4>
impl Rx<UART4>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<UART5>
impl Rx<UART5>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<UART7>
impl Rx<UART7>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit
source§impl Rx<UART8>
impl Rx<UART8>
sourcepub fn enable_dma_rx(&mut self)
pub fn enable_dma_rx(&mut self)
Enables the Rx DMA stream.
sourcepub fn disable_dma_rx(&mut self)
pub fn disable_dma_rx(&mut self)
Disables the Rx DMA stream.
sourcepub fn is_idle(&self) -> bool
pub fn is_idle(&self) -> bool
Return true if the line idle status is set
The line idle status bit is set when the peripheral detects the receive line is idle.
The bit is cleared by software, by calling clear_idle()
.
sourcepub fn clear_idle(&mut self)
pub fn clear_idle(&mut self)
Clear the line idle status bit