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.
Trait Implementations§
impl Copy for Ahb3smenr
impl Eq for Ahb3smenr
impl StructuralPartialEq for Ahb3smenr
Auto Trait Implementations§
impl Freeze for Ahb3smenr
impl RefUnwindSafe for Ahb3smenr
impl Send for Ahb3smenr
impl Sync for Ahb3smenr
impl Unpin for Ahb3smenr
impl UnwindSafe for Ahb3smenr
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
)