Struct stm32_metapac::rcc::regs::C1Ahb2lpenr
#[repr(transparent)]pub struct C1Ahb2lpenr(pub u32);
Expand description
RCC AHB2 Sleep Clock Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Ahb2lpenr
impl C1Ahb2lpenr
pub fn set_dcmilpen(&mut self, val: bool)
pub fn set_dcmilpen(&mut self, val: bool)
DCMI peripheral clock enable during csleep mode
pub fn set_cryplpen(&mut self, val: bool)
pub fn set_cryplpen(&mut self, val: bool)
CRYP peripheral clock enable during CSleep mode
pub fn set_hashlpen(&mut self, val: bool)
pub fn set_hashlpen(&mut self, val: bool)
HASH peripheral clock enable during CSleep mode
pub fn set_rnglpen(&mut self, val: bool)
pub fn set_rnglpen(&mut self, val: bool)
RNG peripheral clock enable during CSleep mode
pub const fn sdmmc2lpen(&self) -> bool
pub const fn sdmmc2lpen(&self) -> bool
SDMMC2 and SDMMC2 Delay Clock Enable During CSleep Mode
pub fn set_sdmmc2lpen(&mut self, val: bool)
pub fn set_sdmmc2lpen(&mut self, val: bool)
SDMMC2 and SDMMC2 Delay Clock Enable During CSleep Mode
pub fn set_fmaclpen(&mut self, val: bool)
pub fn set_fmaclpen(&mut self, val: bool)
FMAC enable during CSleep Mode
pub const fn cordiclpen(&self) -> bool
pub const fn cordiclpen(&self) -> bool
CORDIC enable during CSleep Mode
pub fn set_cordiclpen(&mut self, val: bool)
pub fn set_cordiclpen(&mut self, val: bool)
CORDIC enable during CSleep Mode
pub fn set_sram1lpen(&mut self, val: bool)
pub fn set_sram1lpen(&mut self, val: bool)
SRAM1 Clock Enable During CSleep Mode
pub fn set_sram2lpen(&mut self, val: bool)
pub fn set_sram2lpen(&mut self, val: bool)
SRAM2 Clock Enable During CSleep Mode
pub fn set_sram3lpen(&mut self, val: bool)
pub fn set_sram3lpen(&mut self, val: bool)
SRAM3 Clock Enable During CSleep Mode
Trait Implementations§
§impl Clone for C1Ahb2lpenr
impl Clone for C1Ahb2lpenr
§fn clone(&self) -> C1Ahb2lpenr
fn clone(&self) -> C1Ahb2lpenr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for C1Ahb2lpenr
impl Default for C1Ahb2lpenr
§fn default() -> C1Ahb2lpenr
fn default() -> C1Ahb2lpenr
Returns the “default value” for a type. Read more
§impl PartialEq for C1Ahb2lpenr
impl PartialEq for C1Ahb2lpenr
impl Copy for C1Ahb2lpenr
impl Eq for C1Ahb2lpenr
impl StructuralPartialEq for C1Ahb2lpenr
Auto Trait Implementations§
impl Freeze for C1Ahb2lpenr
impl RefUnwindSafe for C1Ahb2lpenr
impl Send for C1Ahb2lpenr
impl Sync for C1Ahb2lpenr
impl Unpin for C1Ahb2lpenr
impl UnwindSafe for C1Ahb2lpenr
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
)