Struct stm32_metapac::rcc::regs::Ahb2lpenr
#[repr(transparent)]pub struct Ahb2lpenr(pub u32);
Expand description
RCC AHB2 low-power clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ahb2lpenr
impl Ahb2lpenr
pub const fn pssilpen(&self) -> bool
pub const fn pssilpen(&self) -> bool
PSSI peripheral clock enable in low-power mode Set and reset by software.
pub fn set_pssilpen(&mut self, val: bool)
pub fn set_pssilpen(&mut self, val: bool)
PSSI peripheral clock enable in low-power mode Set and reset by software.
pub const fn sdmmc2lpen(&self) -> bool
pub const fn sdmmc2lpen(&self) -> bool
SDMMC2 and SDMMC2 delay clock enable in low-power mode Set and reset by software.
pub fn set_sdmmc2lpen(&mut self, val: bool)
pub fn set_sdmmc2lpen(&mut self, val: bool)
SDMMC2 and SDMMC2 delay clock enable in low-power mode Set and reset by software.
pub const fn cordiclpen(&self) -> bool
pub const fn cordiclpen(&self) -> bool
CORDIC clock enable in low-power mode Set and reset by software.
pub fn set_cordiclpen(&mut self, val: bool)
pub fn set_cordiclpen(&mut self, val: bool)
CORDIC clock enable in low-power mode Set and reset by software.
pub const fn sram1lpen(&self) -> bool
pub const fn sram1lpen(&self) -> bool
SRAM1 clock enable in low-power mode Set and reset by software.
pub fn set_sram1lpen(&mut self, val: bool)
pub fn set_sram1lpen(&mut self, val: bool)
SRAM1 clock enable in low-power mode Set and reset by software.
pub const fn sram2lpen(&self) -> bool
pub const fn sram2lpen(&self) -> bool
SRAM2 clock enable in low-power mode Set and reset by software.
pub fn set_sram2lpen(&mut self, val: bool)
pub fn set_sram2lpen(&mut self, val: bool)
SRAM2 clock enable in low-power mode Set and reset by software.
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
)