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.