Struct stm32_metapac::rcc::regs::Ahb2lpenr
#[repr(transparent)]pub struct Ahb2lpenr(pub u32);
Expand description
AHB2 peripheral clock enable in low power mode register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb2lpenr
impl Ahb2lpenr
pub fn set_dcmilpen(&mut self, val: bool)
pub fn set_dcmilpen(&mut self, val: bool)
Camera interface enable during Sleep mode
pub fn set_cryplpen(&mut self, val: bool)
pub fn set_cryplpen(&mut self, val: bool)
Cryptography modules clock enable during Sleep mode
pub fn set_hashlpen(&mut self, val: bool)
pub fn set_hashlpen(&mut self, val: bool)
Hash modules clock enable during Sleep mode
pub fn set_rnglpen(&mut self, val: bool)
pub fn set_rnglpen(&mut self, val: bool)
Random number generator clock enable during Sleep mode
pub const fn usb_otg_fslpen(&self) -> bool
pub const fn usb_otg_fslpen(&self) -> bool
USB OTG FS clock enable during Sleep mode
pub fn set_usb_otg_fslpen(&mut self, val: bool)
pub fn set_usb_otg_fslpen(&mut self, val: bool)
USB OTG FS clock enable during Sleep mode
Trait Implementations§
impl Copy for Ahb2lpenr
impl Eq for Ahb2lpenr
impl StructuralPartialEq for Ahb2lpenr
Auto Trait Implementations§
impl Freeze for Ahb2lpenr
impl RefUnwindSafe for Ahb2lpenr
impl Send for Ahb2lpenr
impl Sync for Ahb2lpenr
impl Unpin for Ahb2lpenr
impl UnwindSafe for Ahb2lpenr
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)