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.