Struct stm32_metapac::rcc::regs::Ahb3smenr
#[repr(transparent)]pub struct Ahb3smenr(pub u32);
Expand description
RCC AHB3 peripheral clocks enable in Sleep and Stop modes register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb3smenr
impl Ahb3smenr
pub const fn lpgpio1smen(&self) -> bool
pub const fn lpgpio1smen(&self) -> bool
LPGPIO1 enable during Sleep and Stop modes Set and cleared by software.
pub fn set_lpgpio1smen(&mut self, val: bool)
pub fn set_lpgpio1smen(&mut self, val: bool)
LPGPIO1 enable during Sleep and Stop modes Set and cleared by software.
pub const fn pwrsmen(&self) -> bool
pub const fn pwrsmen(&self) -> bool
PWR clock enable during Sleep and Stop modes Set and cleared by software.
pub fn set_pwrsmen(&mut self, val: bool)
pub fn set_pwrsmen(&mut self, val: bool)
PWR clock enable during Sleep and Stop modes Set and cleared by software.
pub const fn adc4smen(&self) -> bool
pub const fn adc4smen(&self) -> bool
ADC4 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_adc4smen(&mut self, val: bool)
pub fn set_adc4smen(&mut self, val: bool)
ADC4 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn dac1smen(&self) -> bool
pub const fn dac1smen(&self) -> bool
DAC1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_dac1smen(&mut self, val: bool)
pub fn set_dac1smen(&mut self, val: bool)
DAC1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn lpdma1smen(&self) -> bool
pub const fn lpdma1smen(&self) -> bool
LPDMA1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_lpdma1smen(&mut self, val: bool)
pub fn set_lpdma1smen(&mut self, val: bool)
LPDMA1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn adf1smen(&self) -> bool
pub const fn adf1smen(&self) -> bool
ADF1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub fn set_adf1smen(&mut self, val: bool)
pub fn set_adf1smen(&mut self, val: bool)
ADF1 clock enable during Sleep and Stop modes Set and cleared by software. Note: This bit must be set to allow the peripheral to wake up from Stop modes.
pub const fn gtzc2smen(&self) -> bool
pub const fn gtzc2smen(&self) -> bool
GTZC2 clock enable during Sleep and Stop modes Set and cleared by software.
pub fn set_gtzc2smen(&mut self, val: bool)
pub fn set_gtzc2smen(&mut self, val: bool)
GTZC2 clock enable during Sleep and Stop modes Set and cleared by software.
pub const fn sram4smen(&self) -> bool
pub const fn sram4smen(&self) -> bool
SRAM4 clocks enable during Sleep and Stop modes Set and cleared by software.
pub fn set_sram4smen(&mut self, val: bool)
pub fn set_sram4smen(&mut self, val: bool)
SRAM4 clocks enable during Sleep and Stop modes Set and cleared by software.