Struct Ahb1enr
#[repr(transparent)]pub struct Ahb1enr(pub u32);Expand description
RCC AHB1 clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1enr
impl Ahb1enr
pub const fn set_gpdma1en(&mut self, val: bool)
pub const fn set_gpdma1en(&mut self, val: bool)
GPDMA1 clock enable.
pub const fn set_otgfsen(&mut self, val: bool)
pub const fn set_otgfsen(&mut self, val: bool)
OTGFS peripheral clocks enable.
pub const fn set_adf1en(&mut self, val: bool)
pub const fn set_adf1en(&mut self, val: bool)
ADF clocks enable.
Trait Implementations§
impl Copy for Ahb1enr
impl Eq for Ahb1enr
impl StructuralPartialEq for Ahb1enr
Auto Trait Implementations§
impl Freeze for Ahb1enr
impl RefUnwindSafe for Ahb1enr
impl Send for Ahb1enr
impl Sync for Ahb1enr
impl Unpin for Ahb1enr
impl UnsafeUnpin for Ahb1enr
impl UnwindSafe for Ahb1enr
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