Struct Ahb5enr
#[repr(transparent)]pub struct Ahb5enr(pub u32);Expand description
RCC AHB5 clock enable register.
Tuple Fields§
§0: u32Implementations§
§impl Ahb5enr
impl Ahb5enr
pub const fn set_hpdma1en(&mut self, val: bool)
pub const fn set_hpdma1en(&mut self, val: bool)
HPDMA1 peripheral clock enable.
pub const fn set_xspi1en(&mut self, val: bool)
pub const fn set_xspi1en(&mut self, val: bool)
XSPI1 peripheral clocks enable.
pub const fn set_sdmmc1en(&mut self, val: bool)
pub const fn set_sdmmc1en(&mut self, val: bool)
SDMMC1 and DB_SDMMC1 peripheral clocks enable.
Trait Implementations§
impl Copy for Ahb5enr
impl Eq for Ahb5enr
impl StructuralPartialEq for Ahb5enr
Auto Trait Implementations§
impl Freeze for Ahb5enr
impl RefUnwindSafe for Ahb5enr
impl Send for Ahb5enr
impl Sync for Ahb5enr
impl Unpin for Ahb5enr
impl UnsafeUnpin for Ahb5enr
impl UnwindSafe for Ahb5enr
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