Struct stm32_metapac::rcc::regs::C2ahb1smenr
#[repr(transparent)]pub struct C2ahb1smenr(pub u32);
Expand description
CPU2 AHB1 peripheral clocks enable in Sleep and Stop modes register
Tuple Fields§
§0: u32
Implementations§
§impl C2ahb1smenr
impl C2ahb1smenr
pub fn set_dma1smen(&mut self, val: bool)
pub fn set_dma1smen(&mut self, val: bool)
CPU2 DMA1 clocks enable during Sleep and Stop modes
pub fn set_dma2smen(&mut self, val: bool)
pub fn set_dma2smen(&mut self, val: bool)
CPU2 DMA2 clocks enable during Sleep and Stop modes
pub const fn dmamux1smen(&self) -> bool
pub const fn dmamux1smen(&self) -> bool
CPU2 DMAMUX clocks enable during Sleep and Stop modes
pub fn set_dmamux1smen(&mut self, val: bool)
pub fn set_dmamux1smen(&mut self, val: bool)
CPU2 DMAMUX 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 clock enable during CPU1 CSleep mode
pub fn set_crcsmen(&mut self, val: bool)
pub fn set_crcsmen(&mut self, val: bool)
CPU2 CRCSMEN
pub const fn tscsmen(&self) -> bool
pub const fn tscsmen(&self) -> bool
CPU2 Touch Sensing Controller clocks enable during Sleep and Stop modes
pub fn set_tscsmen(&mut self, val: bool)
pub fn set_tscsmen(&mut self, val: bool)
CPU2 Touch Sensing Controller clocks enable during Sleep and Stop modes
Trait Implementations§
§impl Clone for C2ahb1smenr
impl Clone for C2ahb1smenr
§fn clone(&self) -> C2ahb1smenr
fn clone(&self) -> C2ahb1smenr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for C2ahb1smenr
impl Default for C2ahb1smenr
§fn default() -> C2ahb1smenr
fn default() -> C2ahb1smenr
Returns the “default value” for a type. Read more
§impl PartialEq for C2ahb1smenr
impl PartialEq for C2ahb1smenr
impl Copy for C2ahb1smenr
impl Eq for C2ahb1smenr
impl StructuralPartialEq for C2ahb1smenr
Auto Trait Implementations§
impl Freeze for C2ahb1smenr
impl RefUnwindSafe for C2ahb1smenr
impl Send for C2ahb1smenr
impl Sync for C2ahb1smenr
impl Unpin for C2ahb1smenr
impl UnwindSafe for C2ahb1smenr
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
)