Struct stm32_metapac::rcc::regs::Ahb1smenr
#[repr(transparent)]pub struct Ahb1smenr(pub u32);
Expand description
AHB1 peripheral clocks enable in Sleep and Stop modes register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb1smenr
impl Ahb1smenr
pub fn set_dma1smen(&mut self, val: bool)
pub fn set_dma1smen(&mut self, val: bool)
DMA1 clocks enable during Sleep and Stop modes
pub fn set_dma2smen(&mut self, val: bool)
pub fn set_dma2smen(&mut self, val: bool)
DMA2 clocks enable during Sleep and Stop modes
pub const fn dmamux1smen(&self) -> bool
pub const fn dmamux1smen(&self) -> bool
DMAMUX clock enable during Sleep and Stop modes
pub fn set_dmamux1smen(&mut self, val: bool)
pub fn set_dmamux1smen(&mut self, val: bool)
DMAMUX clock enable during Sleep and Stop modes
pub const fn cordicsmen(&self) -> bool
pub const fn cordicsmen(&self) -> bool
CORDIC clock enable during sleep mode
pub fn set_cordicsmen(&mut self, val: bool)
pub fn set_cordicsmen(&mut self, val: bool)
CORDIC clock enable during sleep mode
pub fn set_fmacsmen(&mut self, val: bool)
pub fn set_fmacsmen(&mut self, val: bool)
FMACSM clock enable
pub const fn flashsmen(&self) -> bool
pub const fn flashsmen(&self) -> bool
Flash memory interface clocks enable during Sleep and Stop modes
pub fn set_flashsmen(&mut self, val: bool)
pub fn set_flashsmen(&mut self, val: bool)
Flash memory interface clocks enable during Sleep and Stop modes
pub fn set_sram1smen(&mut self, val: bool)
pub fn set_sram1smen(&mut self, val: bool)
SRAM1 interface clocks enable during Sleep and Stop modes
pub fn set_crcsmen(&mut self, val: bool)
pub fn set_crcsmen(&mut self, val: bool)
CRCSMEN
Trait Implementations§
impl Copy for Ahb1smenr
impl Eq for Ahb1smenr
impl StructuralPartialEq for Ahb1smenr
Auto Trait Implementations§
impl Freeze for Ahb1smenr
impl RefUnwindSafe for Ahb1smenr
impl Send for Ahb1smenr
impl Sync for Ahb1smenr
impl Unpin for Ahb1smenr
impl UnwindSafe for Ahb1smenr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)