Struct Cr3
#[repr(transparent)]pub struct Cr3(pub u32);Expand description
Control register 3
Tuple Fields§
§0: u32Implementations§
§impl Cr3
impl Cr3
pub const fn set_onebit(&mut self, val: bool)
pub const fn set_onebit(&mut self, val: bool)
One sample bit method enable (not available on LPUART)
pub const fn set_ovrdis(&mut self, val: bool)
pub const fn set_ovrdis(&mut self, val: bool)
Overrun Disable
pub const fn set_scarcnt(&mut self, val: u8)
pub const fn set_scarcnt(&mut self, val: u8)
Smartcard auto-retry count (not available on LPUART)
pub const fn set_ucesm(&mut self, val: bool)
pub const fn set_ucesm(&mut self, val: bool)
USART clock enable in Stop mode (only on STM32L0, L4 and F76x/77x)
pub const fn tcbgtie(&self) -> bool
pub const fn tcbgtie(&self) -> bool
Transmission complete before guard time interrupt enable (only on STM32F301/318, F72x/73x, F76x/77x, L0x0, L0x1 and L4; not available on LPUART)
pub const fn set_tcbgtie(&mut self, val: bool)
pub const fn set_tcbgtie(&mut self, val: bool)
Transmission complete before guard time interrupt enable (only on STM32F301/318, F72x/73x, F76x/77x, L0x0, L0x1 and L4; not available on LPUART)
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl Freeze for Cr3
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnsafeUnpin 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