pub struct W(_);
Expand description
Register AHB1ENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn dma2en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 22>
pub fn dma2en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 22>
Bit 22 - DMA2 clock enable
sourcepub fn dma1en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 21>
pub fn dma1en(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 21>
Bit 21 - DMA1 clock enable
sourcepub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 12>
pub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 12>
Bit 12 - CRC clock enable
sourcepub fn gpiohen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 7>
pub fn gpiohen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 7>
Bit 7 - IO port H clock enable
sourcepub fn gpioeen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 4>
pub fn gpioeen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 4>
Bit 4 - IO port E clock enable
sourcepub fn gpioden(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 3>
pub fn gpioden(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 3>
Bit 3 - IO port D clock enable
sourcepub fn gpiocen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 2>
pub fn gpiocen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 2>
Bit 2 - IO port C clock enable
sourcepub fn gpioben(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 1>
pub fn gpioben(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 1>
Bit 1 - IO port B clock enable
sourcepub fn gpioaen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 0>
pub fn gpioaen(
&mut self
) -> BitWriterRaw<'_, u32, AHB1ENR_SPEC, GPIOAEN_A, BitM, 0>
Bit 0 - IO port A clock enable
Methods from Deref<Target = W<AHB1ENR_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<AHB1ENR_SPEC>> for W
impl From<W<AHB1ENR_SPEC>> for W
sourcefn from(writer: W<AHB1ENR_SPEC>) -> W
fn from(writer: W<AHB1ENR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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