Struct stm32_metapac::rcc::regs::Ahb3enr
#[repr(transparent)]pub struct Ahb3enr(pub u32);
Expand description
RCC AHB3 clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ahb3enr
impl Ahb3enr
pub fn set_hashen(&mut self, val: bool)
pub fn set_hashen(&mut self, val: bool)
HASH peripheral clock enable Set and reset by software.
pub fn set_crypen(&mut self, val: bool)
pub fn set_crypen(&mut self, val: bool)
CRYP peripheral clock enable Set and reset by software.
pub const fn saesen(&self) -> bool
pub const fn saesen(&self) -> bool
SAES peripheral clock enable Set and reset by software. This bit controls the enable of the clock delivered to the SAES.
pub fn set_saesen(&mut self, val: bool)
pub fn set_saesen(&mut self, val: bool)
SAES peripheral clock enable Set and reset by software. This bit controls the enable of the clock delivered to the SAES.
Trait Implementations§
impl Copy for Ahb3enr
impl Eq for Ahb3enr
impl StructuralPartialEq for Ahb3enr
Auto Trait Implementations§
impl Freeze for Ahb3enr
impl RefUnwindSafe for Ahb3enr
impl Send for Ahb3enr
impl Sync for Ahb3enr
impl Unpin for Ahb3enr
impl UnwindSafe for Ahb3enr
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
)