pub struct W(_);
Expand description
Register AHBENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn crypen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 24>
pub fn crypen(
&mut self
) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 24>
Bit 24 - Crypto clock enable bit
sourcepub fn crcen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 12>
pub fn crcen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 12>
Bit 12 - CRC clock enable bit
sourcepub fn mifen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 8>
pub fn mifen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 8>
Bit 8 - NVM interface clock enable bit
sourcepub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 0>
pub fn dmaen(&mut self) -> BitWriterRaw<'_, u32, AHBENR_SPEC, DMAEN_A, BitM, 0>
Bit 0 - DMA clock enable bit
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.
Trait Implementations
sourceimpl From<W<AHBENR_SPEC>> for W
impl From<W<AHBENR_SPEC>> for W
sourcefn from(writer: W<AHBENR_SPEC>) -> W
fn from(writer: W<AHBENR_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