Struct stm32_metapac::rcc::regs::Ahb4enr
#[repr(transparent)]pub struct Ahb4enr(pub u32);
Expand description
RCC AHB4 peripheral clock register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb4enr
impl Ahb4enr
pub fn set_otfdec1en(&mut self, val: bool)
pub fn set_otfdec1en(&mut self, val: bool)
OTFDEC1 clock enable Set and reset by software.
pub fn set_sdmmc1en(&mut self, val: bool)
pub fn set_sdmmc1en(&mut self, val: bool)
SDMMC1 and SDMMC1 delay peripheral clock enable reset
pub const fn sdmmc2en(&self) -> bool
pub const fn sdmmc2en(&self) -> bool
SDMMC2 and SDMMC2 delay peripheral clock enabled Set and reset by software.
pub fn set_sdmmc2en(&mut self, val: bool)
pub fn set_sdmmc2en(&mut self, val: bool)
SDMMC2 and SDMMC2 delay peripheral clock enabled Set and reset by software.
pub const fn octospi1en(&self) -> bool
pub const fn octospi1en(&self) -> bool
OCTOSPI1 clock enable Set and reset by software.
pub fn set_octospi1en(&mut self, val: bool)
pub fn set_octospi1en(&mut self, val: bool)
OCTOSPI1 clock enable Set and reset by software.
Trait Implementations§
impl Copy for Ahb4enr
impl Eq for Ahb4enr
impl StructuralPartialEq for Ahb4enr
Auto Trait Implementations§
impl Freeze for Ahb4enr
impl RefUnwindSafe for Ahb4enr
impl Send for Ahb4enr
impl Sync for Ahb4enr
impl Unpin for Ahb4enr
impl UnwindSafe for Ahb4enr
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
)