Struct Ahb2lpenr
#[repr(transparent)]pub struct Ahb2lpenr(pub u32);Expand description
RCC AHB2 low-power clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb2lpenr
impl Ahb2lpenr
pub const fn cordiclpen(&self) -> bool
pub const fn cordiclpen(&self) -> bool
CORDIC clock enable in low-power mode.
pub const fn set_cordiclpen(&mut self, val: bool)
pub const fn set_cordiclpen(&mut self, val: bool)
CORDIC clock enable in low-power mode.
pub const fn set_fmac1lpen(&mut self, val: bool)
pub const fn set_fmac1lpen(&mut self, val: bool)
FMAC1 clock enable in low-power mode.
pub const fn ahbsram1lpen(&self) -> bool
pub const fn ahbsram1lpen(&self) -> bool
AHBSRAM1 clock enable in low-power mode.
pub const fn set_ahbsram1lpen(&mut self, val: bool)
pub const fn set_ahbsram1lpen(&mut self, val: bool)
AHBSRAM1 clock enable in low-power mode.
pub const fn ahbsram2lpen(&self) -> bool
pub const fn ahbsram2lpen(&self) -> bool
AHBSRAM2 clock enable in low-power mode.
pub const fn set_ahbsram2lpen(&mut self, val: bool)
pub const fn set_ahbsram2lpen(&mut self, val: bool)
AHBSRAM2 clock enable in low-power mode.
pub const fn ahbsram3lpen(&self) -> bool
pub const fn ahbsram3lpen(&self) -> bool
AHBSRAM3 clock enable in low-power mode.
pub const fn set_ahbsram3lpen(&mut self, val: bool)
pub const fn set_ahbsram3lpen(&mut self, val: bool)
AHBSRAM3 clock enable in low-power 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 UnsafeUnpin 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