Struct stm32_metapac::usart::regs::Cr3
#[repr(transparent)]pub struct Cr3(pub u32);
Expand description
Control register 3
Tuple Fields§
§0: u32
Implementations§
§impl Cr3
impl Cr3
pub fn set_onebit(&mut self, val: bool)
pub fn set_onebit(&mut self, val: bool)
One sample bit method enable
pub fn set_ovrdis(&mut self, val: bool)
pub fn set_ovrdis(&mut self, val: bool)
Overrun Disable
pub fn set_scarcnt(&mut self, val: u8)
pub fn set_scarcnt(&mut self, val: u8)
Smartcard auto-retry count
pub fn set_txftie(&mut self, val: bool)
pub fn set_txftie(&mut self, val: bool)
TXFIFO threshold interrupt enable
pub fn set_rxftcfg(&mut self, val: u8)
pub fn set_rxftcfg(&mut self, val: u8)
Receive FIFO threshold configuration
pub fn set_rxftie(&mut self, val: bool)
pub fn set_rxftie(&mut self, val: bool)
RXFIFO threshold interrupt enable
pub fn set_txftcfg(&mut self, val: u8)
pub fn set_txftcfg(&mut self, val: u8)
TXFIFO threshold configuration
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralEq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnwindSafe for Cr3
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
Mutably borrows from an owned value. Read more