pub struct W(_);
Expand description
Register AHBEN
writer
Implementations
sourceimpl W
impl W
sourcepub fn dmaen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn dmaen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 0 - DMA clock enable
sourcepub fn sramen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn sramen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 2 - SRAM interface clock enable
sourcepub fn fmcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn fmcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 4 - FMC clock enable
sourcepub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 6 - CRC clock enable
sourcepub fn paen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn paen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 17 - GPIO port A clock enable
sourcepub fn pben(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn pben(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 18 - GPIO port B clock enable
sourcepub fn pcen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn pcen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 19 - GPIO port C clock enable
sourcepub fn pden(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn pden(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 20 - GPIO port D clock enable
sourcepub fn pfen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn pfen(&mut self) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 22 - GPIO port F clock enable
sourcepub fn tsien(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
pub fn tsien(
&mut self
) -> BitWriterRaw<'_, u32, AHBEN_SPEC, DMAEN_A, BitM, 0_u8>
Bit 24 - TSI clock enable
Methods from Deref<Target = W<AHBEN_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.
Trait Implementations
sourceimpl From<W<AHBEN_SPEC>> for W
impl From<W<AHBEN_SPEC>> for W
sourcefn from(writer: W<AHBEN_SPEC>) -> W
fn from(writer: W<AHBEN_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more