Struct Ahb1lpenr
#[repr(transparent)]pub struct Ahb1lpenr(pub u32);Expand description
RCC AHB1 low-power clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1lpenr
impl Ahb1lpenr
pub const fn set_hsplpen(&mut self, val: bool)
pub const fn set_hsplpen(&mut self, val: bool)
HSP clock enable in low-power mode.
pub const fn gpdma1lpen(&self) -> bool
pub const fn gpdma1lpen(&self) -> bool
GPDMA1 clock enable in low-power mode.
pub const fn set_gpdma1lpen(&mut self, val: bool)
pub const fn set_gpdma1lpen(&mut self, val: bool)
GPDMA1 clock enable in low-power mode.
pub const fn set_otgfslpen(&mut self, val: bool)
pub const fn set_otgfslpen(&mut self, val: bool)
OTGFS clock enable in low-power mode.
pub const fn set_adf1lpen(&mut self, val: bool)
pub const fn set_adf1lpen(&mut self, val: bool)
ADF clock enable in low-power mode.
Trait Implementations§
impl Copy for Ahb1lpenr
impl Eq for Ahb1lpenr
impl StructuralPartialEq for Ahb1lpenr
Auto Trait Implementations§
impl Freeze for Ahb1lpenr
impl RefUnwindSafe for Ahb1lpenr
impl Send for Ahb1lpenr
impl Sync for Ahb1lpenr
impl Unpin for Ahb1lpenr
impl UnsafeUnpin for Ahb1lpenr
impl UnwindSafe for Ahb1lpenr
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