Struct Ahb4lpenr
#[repr(transparent)]pub struct Ahb4lpenr(pub u32);Expand description
RCC AHB4 low-power clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb4lpenr
impl Ahb4lpenr
pub const fn set_gpioalpen(&mut self, val: bool)
pub const fn set_gpioalpen(&mut self, val: bool)
GPIOA peripheral clock enable in low-power mode.
pub const fn set_gpioblpen(&mut self, val: bool)
pub const fn set_gpioblpen(&mut self, val: bool)
GPIOB peripheral clock enable in low-power mode.
pub const fn set_gpioclpen(&mut self, val: bool)
pub const fn set_gpioclpen(&mut self, val: bool)
GPIOC peripheral clock enable in low-power mode.
pub const fn set_gpiodlpen(&mut self, val: bool)
pub const fn set_gpiodlpen(&mut self, val: bool)
GPIOD peripheral clock enable in low-power mode.
pub const fn set_gpioelpen(&mut self, val: bool)
pub const fn set_gpioelpen(&mut self, val: bool)
GPIOE peripheral clock enable in low-power mode.
pub const fn set_gpioflpen(&mut self, val: bool)
pub const fn set_gpioflpen(&mut self, val: bool)
GPIOF peripheral clock enable in low-power mode.
pub const fn set_gpioglpen(&mut self, val: bool)
pub const fn set_gpioglpen(&mut self, val: bool)
GPIOG peripheral clock enable in low-power mode.
pub const fn set_gpiohlpen(&mut self, val: bool)
pub const fn set_gpiohlpen(&mut self, val: bool)
GPIOH peripheral clock enable in low-power mode.
pub const fn set_gpioilpen(&mut self, val: bool)
pub const fn set_gpioilpen(&mut self, val: bool)
GPIOI peripheral clock enable in low-power mode.
pub const fn set_crclpen(&mut self, val: bool)
pub const fn set_crclpen(&mut self, val: bool)
CRC clock enable in low-power mode.
pub const fn bkpramlpen(&self) -> bool
pub const fn bkpramlpen(&self) -> bool
Backup RAM clock enable in low-power mode.
pub const fn set_bkpramlpen(&mut self, val: bool)
pub const fn set_bkpramlpen(&mut self, val: bool)
Backup RAM clock enable in low-power mode.
Trait Implementations§
impl Copy for Ahb4lpenr
impl Eq for Ahb4lpenr
impl StructuralPartialEq for Ahb4lpenr
Auto Trait Implementations§
impl Freeze for Ahb4lpenr
impl RefUnwindSafe for Ahb4lpenr
impl Send for Ahb4lpenr
impl Sync for Ahb4lpenr
impl Unpin for Ahb4lpenr
impl UnsafeUnpin for Ahb4lpenr
impl UnwindSafe for Ahb4lpenr
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