Struct Ckprotr
#[repr(transparent)]pub struct Ckprotr(pub u32);Expand description
RCC clock protection register.
Tuple Fields§
§0: u32Implementations§
§impl Ckprotr
impl Ckprotr
pub const fn set_xspickp(&mut self, val: bool)
pub const fn set_xspickp(&mut self, val: bool)
XSPI clock protection.
pub const fn set_fmcckp(&mut self, val: bool)
pub const fn set_fmcckp(&mut self, val: bool)
FMC clock protection.
pub const fn set_xspiswp(&mut self, val: Xspiswp)
pub const fn set_xspiswp(&mut self, val: Xspiswp)
XSPI kernel clock switch position.
pub const fn set_fmcswp(&mut self, val: Fmcswp)
pub const fn set_fmcswp(&mut self, val: Fmcswp)
FMC kernel clock switch position.
Trait Implementations§
impl Copy for Ckprotr
impl Eq for Ckprotr
impl StructuralPartialEq for Ckprotr
Auto Trait Implementations§
impl Freeze for Ckprotr
impl RefUnwindSafe for Ckprotr
impl Send for Ckprotr
impl Sync for Ckprotr
impl Unpin for Ckprotr
impl UnsafeUnpin for Ckprotr
impl UnwindSafe for Ckprotr
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