Struct stm32_metapac::usart::regs::Rqr
#[repr(transparent)]pub struct Rqr(pub u32);
Expand description
Request register
Tuple Fields§
§0: u32
Implementations§
§impl Rqr
impl Rqr
pub const fn abrrq(&self) -> bool
pub const fn abrrq(&self) -> bool
Auto baud rate request. Resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame.
pub fn set_abrrq(&mut self, val: bool)
pub fn set_abrrq(&mut self, val: bool)
Auto baud rate request. Resets the ABRF flag in the USART_ISR and request an automatic baud rate measurement on the next received data frame.
pub const fn sbkrq(&self) -> bool
pub const fn sbkrq(&self) -> bool
Send break request. Sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
pub fn set_sbkrq(&mut self, val: bool)
pub fn set_sbkrq(&mut self, val: bool)
Send break request. Sets the SBKF flag and request to send a BREAK on the line, as soon as the transmit machine is available
pub const fn mmrq(&self) -> bool
pub const fn mmrq(&self) -> bool
Mute mode request. Puts the USART in mute mode and sets the RWU flag.
pub fn set_mmrq(&mut self, val: bool)
pub fn set_mmrq(&mut self, val: bool)
Mute mode request. Puts the USART in mute mode and sets the RWU flag.
pub const fn rxfrq(&self) -> bool
pub const fn rxfrq(&self) -> bool
Receive data flush request. Clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition
pub fn set_rxfrq(&mut self, val: bool)
pub fn set_rxfrq(&mut self, val: bool)
Receive data flush request. Clears the RXNE flag. This allows to discard the received data without reading it, and avoid an overrun condition