Struct stm32_metapac::rcc::regs::Ahbsmenr
#[repr(transparent)]pub struct Ahbsmenr(pub u32);
Expand description
AHB peripheral clock enable in Sleep mode register
Tuple Fields§
§0: u32
Implementations§
§impl Ahbsmenr
impl Ahbsmenr
pub fn set_dma1smen(&mut self, val: bool)
pub fn set_dma1smen(&mut self, val: bool)
DMA1 clock enable during Sleep mode
pub fn set_dma2smen(&mut self, val: bool)
pub fn set_dma2smen(&mut self, val: bool)
DMA2 clock enable during Sleep mode
pub fn set_flashsmen(&mut self, val: bool)
pub fn set_flashsmen(&mut self, val: bool)
Flash memory interface clock enable during Sleep mode
pub fn set_sramsmen(&mut self, val: bool)
pub fn set_sramsmen(&mut self, val: bool)
SRAM clock enable during Sleep mode
pub fn set_crcsmen(&mut self, val: bool)
pub fn set_crcsmen(&mut self, val: bool)
CRC clock enable during Sleep mode
pub fn set_aessmen(&mut self, val: bool)
pub fn set_aessmen(&mut self, val: bool)
AES hardware accelerator clock enable during Sleep mode
pub fn set_rngsmen(&mut self, val: bool)
pub fn set_rngsmen(&mut self, val: bool)
Random number generator clock enable during Sleep mode
Trait Implementations§
impl Copy for Ahbsmenr
impl Eq for Ahbsmenr
impl StructuralPartialEq for Ahbsmenr
Auto Trait Implementations§
impl Freeze for Ahbsmenr
impl RefUnwindSafe for Ahbsmenr
impl Send for Ahbsmenr
impl Sync for Ahbsmenr
impl Unpin for Ahbsmenr
impl UnwindSafe for Ahbsmenr
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
)