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
Trait Implementations§
impl Copy for Rqr
impl Eq for Rqr
impl StructuralPartialEq for Rqr
Auto Trait Implementations§
impl Freeze for Rqr
impl RefUnwindSafe for Rqr
impl Send for Rqr
impl Sync for Rqr
impl Unpin for Rqr
impl UnwindSafe for Rqr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)