pub struct W(_);
Expand description
Register AHBENR
writer
Implementations§
source§impl W
impl W
sourcepub fn dma1en(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 0>
pub fn dma1en(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 0>
Bit 0 - DMA1 clock enable
sourcepub fn dma2en(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 1>
pub fn dma2en(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 1>
Bit 1 - DMA2 clock enable
sourcepub fn sramen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 2>
pub fn sramen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 2>
Bit 2 - SRAM interface clock enable
sourcepub fn flitfen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 4>
pub fn flitfen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 4>
Bit 4 - FLITF clock enable
sourcepub fn crcen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 6>
pub fn crcen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 6>
Bit 6 - CRC clock enable
sourcepub fn fsmcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 8>
pub fn fsmcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 8>
Bit 8 - FSMC clock enable
sourcepub fn sdioen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 10>
pub fn sdioen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMA1EN_A, BitM, 10>
Bit 10 - SDIO clock enable
Methods from Deref<Target = W<AHBENR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.