Struct stm32_metapac::rcc::regs::C2ahb3smenr
#[repr(transparent)]pub struct C2ahb3smenr(pub u32);
Expand description
CPU2 AHB3 peripheral clocks enable in Sleep and Stop modes register
Tuple Fields§
§0: u32
Implementations§
§impl C2ahb3smenr
impl C2ahb3smenr
pub fn set_pkasmen(&mut self, val: bool)
pub fn set_pkasmen(&mut self, val: bool)
PKA accelerator clocks enable during CPU2 sleep modes
pub fn set_aes2smen(&mut self, val: bool)
pub fn set_aes2smen(&mut self, val: bool)
AES2 accelerator clocks enable during CPU2 sleep modes
pub fn set_rngsmen(&mut self, val: bool)
pub fn set_rngsmen(&mut self, val: bool)
True RNG clocks enable during CPU2 sleep modes
pub const fn sram2smen(&self) -> bool
pub const fn sram2smen(&self) -> bool
SRAM2a and SRAM2b memory interface clocks enable during CPU2 sleep modes
pub fn set_sram2smen(&mut self, val: bool)
pub fn set_sram2smen(&mut self, val: bool)
SRAM2a and SRAM2b memory interface clocks enable during CPU2 sleep modes
pub fn set_flashsmen(&mut self, val: bool)
pub fn set_flashsmen(&mut self, val: bool)
Flash interface clocks enable during CPU2 sleep modes
Trait Implementations§
§impl Clone for C2ahb3smenr
impl Clone for C2ahb3smenr
§fn clone(&self) -> C2ahb3smenr
fn clone(&self) -> C2ahb3smenr
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 C2ahb3smenr
impl Default for C2ahb3smenr
§fn default() -> C2ahb3smenr
fn default() -> C2ahb3smenr
Returns the “default value” for a type. Read more
§impl PartialEq for C2ahb3smenr
impl PartialEq for C2ahb3smenr
impl Copy for C2ahb3smenr
impl Eq for C2ahb3smenr
impl StructuralPartialEq for C2ahb3smenr
Auto Trait Implementations§
impl Freeze for C2ahb3smenr
impl RefUnwindSafe for C2ahb3smenr
impl Send for C2ahb3smenr
impl Sync for C2ahb3smenr
impl Unpin for C2ahb3smenr
impl UnwindSafe for C2ahb3smenr
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
)