Struct Bdcr
#[repr(transparent)]pub struct Bdcr(pub u32);Expand description
RCC backup domain control register.
Tuple Fields§
§0: u32Implementations§
§impl Bdcr
impl Bdcr
pub const fn set_lserdy(&mut self, val: bool)
pub const fn set_lserdy(&mut self, val: bool)
LSE oscillator ready.
pub const fn set_lsebyp(&mut self, val: bool)
pub const fn set_lsebyp(&mut self, val: bool)
LSE oscillator bypass.
pub const fn set_lsedrv(&mut self, val: Lsedrv)
pub const fn set_lsedrv(&mut self, val: Lsedrv)
LSE oscillator drive capability.
pub const fn set_lsecsson(&mut self, val: bool)
pub const fn set_lsecsson(&mut self, val: bool)
CSS on LSE enable.
pub const fn set_lsecssd(&mut self, val: bool)
pub const fn set_lsecssd(&mut self, val: bool)
CSS on LSE failure detection.
pub const fn set_lsesysen(&mut self, val: bool)
pub const fn set_lsesysen(&mut self, val: bool)
LSE system clock (LSESYS) enable.
pub const fn set_rtcsel(&mut self, val: Rtcsel)
pub const fn set_rtcsel(&mut self, val: Rtcsel)
RTC and TAMP clock source selection.
pub const fn set_lsesysrdy(&mut self, val: bool)
pub const fn set_lsesysrdy(&mut self, val: bool)
LSE system clock (LSESYS) ready.
pub const fn set_lsegfon(&mut self, val: bool)
pub const fn set_lsegfon(&mut self, val: bool)
LSE clock glitch filter enable.
pub const fn set_lscoen(&mut self, val: bool)
pub const fn set_lscoen(&mut self, val: bool)
Low-speed clock output (LSCO) enable.
pub const fn set_lscosel(&mut self, val: Lscosel)
pub const fn set_lscosel(&mut self, val: Lscosel)
Low-speed clock output selection.
Trait Implementations§
impl Copy for Bdcr
impl Eq for Bdcr
impl StructuralPartialEq for Bdcr
Auto Trait Implementations§
impl Freeze for Bdcr
impl RefUnwindSafe for Bdcr
impl Send for Bdcr
impl Sync for Bdcr
impl Unpin for Bdcr
impl UnwindSafe for Bdcr
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