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 const fn gpioalpen(&self) -> bool
pub const fn gpioalpen(&self) -> bool
GPIOA clock enable during sleep mode Set and reset by software.
pub fn set_gpioalpen(&mut self, val: bool)
pub fn set_gpioalpen(&mut self, val: bool)
GPIOA clock enable during sleep mode Set and reset by software.
pub const fn gpioblpen(&self) -> bool
pub const fn gpioblpen(&self) -> bool
GPIOB clock enable during sleep mode Set and reset by software.
pub fn set_gpioblpen(&mut self, val: bool)
pub fn set_gpioblpen(&mut self, val: bool)
GPIOB clock enable during sleep mode Set and reset by software.
pub const fn gpioclpen(&self) -> bool
pub const fn gpioclpen(&self) -> bool
GPIOC clock enable during sleep mode Set and reset by software.
pub fn set_gpioclpen(&mut self, val: bool)
pub fn set_gpioclpen(&mut self, val: bool)
GPIOC clock enable during sleep mode Set and reset by software.
pub const fn gpiodlpen(&self) -> bool
pub const fn gpiodlpen(&self) -> bool
GPIOD clock enable during sleep mode Set and reset by software.
pub fn set_gpiodlpen(&mut self, val: bool)
pub fn set_gpiodlpen(&mut self, val: bool)
GPIOD clock enable during sleep mode Set and reset by software.
pub const fn gpiohlpen(&self) -> bool
pub const fn gpiohlpen(&self) -> bool
GPIOH clock enable during sleep mode Set and reset by software.
pub fn set_gpiohlpen(&mut self, val: bool)
pub fn set_gpiohlpen(&mut self, val: bool)
GPIOH clock enable during sleep mode Set and reset by software.
pub const fn adc1lpen(&self) -> bool
pub const fn adc1lpen(&self) -> bool
ADC1 peripherals clock enable during sleep mode Set and reset by software.
pub fn set_adc1lpen(&mut self, val: bool)
pub fn set_adc1lpen(&mut self, val: bool)
ADC1 peripherals clock enable during sleep mode Set and reset by software.
pub fn set_dac1lpen(&mut self, val: bool)
pub fn set_dac1lpen(&mut self, val: bool)
DAC clock enable during sleep mode Set and reset by software.
pub fn set_hashlpen(&mut self, val: bool)
pub fn set_hashlpen(&mut self, val: bool)
HASH clock enable during sleep mode Set and reset by software.
pub fn set_rnglpen(&mut self, val: bool)
pub fn set_rnglpen(&mut self, val: bool)
RNG clock enable during sleep mode Set and reset by software.
pub const fn sram2lpen(&self) -> bool
pub const fn sram2lpen(&self) -> bool
SRAM2 clock enable during sleep 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 during sleep 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
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)
clone_to_uninit
)