Struct Ahb2enr
#[repr(transparent)]pub struct Ahb2enr(pub u32);Expand description
RCC AHB2 clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb2enr
impl Ahb2enr
pub const fn set_cordicen(&mut self, val: bool)
pub const fn set_cordicen(&mut self, val: bool)
CORDIC clock enable.
pub const fn set_fmac1en(&mut self, val: bool)
pub const fn set_fmac1en(&mut self, val: bool)
FMAC clock enable.
pub const fn ahbsram1en(&self) -> bool
pub const fn ahbsram1en(&self) -> bool
AHBSRAM1 clock enable.
pub const fn set_ahbsram1en(&mut self, val: bool)
pub const fn set_ahbsram1en(&mut self, val: bool)
AHBSRAM1 clock enable.
pub const fn ahbsram2en(&self) -> bool
pub const fn ahbsram2en(&self) -> bool
AHBSRAM2 clock enable.
pub const fn set_ahbsram2en(&mut self, val: bool)
pub const fn set_ahbsram2en(&mut self, val: bool)
AHBSRAM2 clock enable.
pub const fn ahbsram3en(&self) -> bool
pub const fn ahbsram3en(&self) -> bool
AHBSRAM3 clock enable.
pub const fn set_ahbsram3en(&mut self, val: bool)
pub const fn set_ahbsram3en(&mut self, val: bool)
AHBSRAM3 clock enable.
Trait Implementations§
impl Copy for Ahb2enr
impl Eq for Ahb2enr
impl StructuralPartialEq for Ahb2enr
Auto Trait Implementations§
impl Freeze for Ahb2enr
impl RefUnwindSafe for Ahb2enr
impl Send for Ahb2enr
impl Sync for Ahb2enr
impl Unpin for Ahb2enr
impl UnsafeUnpin for Ahb2enr
impl UnwindSafe for Ahb2enr
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