Struct stm32_metapac::rcc::regs::Ahb2lpenr
#[repr(transparent)]pub struct Ahb2lpenr(pub u32);
Expand description
RCC AHB2 Sleep Clock 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)
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_bdma1lpen(&mut self, val: bool)
pub fn set_bdma1lpen(&mut self, val: bool)
BDMA1 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 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
)