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 gpioelpen(&self) -> bool
pub const fn gpioelpen(&self) -> bool
GPIOE clock enable during sleep mode Set and reset by software.
pub fn set_gpioelpen(&mut self, val: bool)
pub fn set_gpioelpen(&mut self, val: bool)
GPIOE clock enable during sleep mode Set and reset by software.
pub const fn gpioflpen(&self) -> bool
pub const fn gpioflpen(&self) -> bool
GPIOF clock enable during sleep mode Set and reset by software.
pub fn set_gpioflpen(&mut self, val: bool)
pub fn set_gpioflpen(&mut self, val: bool)
GPIOF clock enable during sleep mode Set and reset by software.
pub const fn gpioglpen(&self) -> bool
pub const fn gpioglpen(&self) -> bool
GPIOG clock enable during sleep mode Set and reset by software.
pub fn set_gpioglpen(&mut self, val: bool)
pub fn set_gpioglpen(&mut self, val: bool)
GPIOG 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 gpioilpen(&self) -> bool
pub const fn gpioilpen(&self) -> bool
GPIOI clock enable during sleep mode Set and reset by software.
pub fn set_gpioilpen(&mut self, val: bool)
pub fn set_gpioilpen(&mut self, val: bool)
GPIOI clock enable during sleep mode Set and reset by software.
pub const fn adc12lpen(&self) -> bool
pub const fn adc12lpen(&self) -> bool
ADC1 and 2 peripherals clock enable during sleep mode Set and reset by software.
pub fn set_adc12lpen(&mut self, val: bool)
pub fn set_adc12lpen(&mut self, val: bool)
ADC1 and 2 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 const fn dcmi_pssilpen(&self) -> bool
pub const fn dcmi_pssilpen(&self) -> bool
digital camera interface clock enable during sleep mode (DCMI or PSSI depending which interface is active) Set and reset by software.
pub fn set_dcmi_pssilpen(&mut self, val: bool)
pub fn set_dcmi_pssilpen(&mut self, val: bool)
digital camera interface clock enable during sleep mode (DCMI or PSSI depending which interface is active) Set and reset by software.
pub fn set_aeslpen(&mut self, val: bool)
pub fn set_aeslpen(&mut self, val: bool)
AES 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 fn set_pkalpen(&mut self, val: bool)
pub fn set_pkalpen(&mut self, val: bool)
PKA clock enable during sleep mode Set and reset by software.
pub fn set_saeslpen(&mut self, val: bool)
pub fn set_saeslpen(&mut self, val: bool)
SAES 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.
pub const fn sram3lpen(&self) -> bool
pub const fn sram3lpen(&self) -> bool
SRAM3 clock enable during sleep mode Set and reset by software.
pub fn set_sram3lpen(&mut self, val: bool)
pub fn set_sram3lpen(&mut self, val: bool)
SRAM3 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
)