Struct stm32_metapac::rcc::regs::Ahb5enr
#[repr(transparent)]pub struct Ahb5enr(pub u32);
Expand description
RCC AHB5 clock enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ahb5enr
impl Ahb5enr
pub fn set_hpdma1en(&mut self, val: bool)
pub fn set_hpdma1en(&mut self, val: bool)
HPDMA1 peripheral clock enable Set and reset by software.
pub fn set_dma2den(&mut self, val: bool)
pub fn set_dma2den(&mut self, val: bool)
DMA2D peripheral clock enable Set and reset by software.
pub fn set_jpegen(&mut self, val: bool)
pub fn set_jpegen(&mut self, val: bool)
JPEG peripheral clock enable Set and reset by software.
pub const fn fmcen(&self) -> bool
pub const fn fmcen(&self) -> bool
FMC and MCE3 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if FMCCKP = 1. The peripheral clocks of the FMC are the kernel clock selected by FMCSEL, and the hclk5 bus interface clock.
pub fn set_fmcen(&mut self, val: bool)
pub fn set_fmcen(&mut self, val: bool)
FMC and MCE3 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if FMCCKP = 1. The peripheral clocks of the FMC are the kernel clock selected by FMCSEL, and the hclk5 bus interface clock.
pub const fn xspi1en(&self) -> bool
pub const fn xspi1en(&self) -> bool
XSPI1 and MCE1 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if XSPICKP = 1.
pub fn set_xspi1en(&mut self, val: bool)
pub fn set_xspi1en(&mut self, val: bool)
XSPI1 and MCE1 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if XSPICKP = 1.
pub const fn sdmmc1en(&self) -> bool
pub const fn sdmmc1en(&self) -> bool
SDMMC1 and DB_SDMMC1 peripheral clocks enable Set and reset by software.
pub fn set_sdmmc1en(&mut self, val: bool)
pub fn set_sdmmc1en(&mut self, val: bool)
SDMMC1 and DB_SDMMC1 peripheral clocks enable Set and reset by software.
pub const fn xspi2en(&self) -> bool
pub const fn xspi2en(&self) -> bool
XSPI2 and MCE2 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if XSPICKP = 1.
pub fn set_xspi2en(&mut self, val: bool)
pub fn set_xspi2en(&mut self, val: bool)
XSPI2 and MCE2 peripheral clocks enable Set and reset by software. The hardware prevents writing this bit if XSPICKP = 1.
pub fn set_iomngren(&mut self, val: bool)
pub fn set_iomngren(&mut self, val: bool)
XSPIM peripheral clock enable Set and reset by software.
pub fn set_gfxmmuen(&mut self, val: bool)
pub fn set_gfxmmuen(&mut self, val: bool)
GFXMMU peripheral clock enable Set and reset by software.
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 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
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)
clone_to_uninit
)