Struct stm32_hal2::pac::rcc::c1_ahb4enr::W
source · [−]pub struct W(_);
Expand description
Register C1_AHB4ENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn gpioaen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 0>
pub fn gpioaen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 0>
Bit 0 - 0GPIO peripheral clock enable
sourcepub fn gpioben(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 1>
pub fn gpioben(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 1>
Bit 1 - 0GPIO peripheral clock enable
sourcepub fn gpiocen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 2>
pub fn gpiocen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 2>
Bit 2 - 0GPIO peripheral clock enable
sourcepub fn gpioden(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 3>
pub fn gpioden(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 3>
Bit 3 - 0GPIO peripheral clock enable
sourcepub fn gpioeen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 4>
pub fn gpioeen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 4>
Bit 4 - 0GPIO peripheral clock enable
sourcepub fn gpiofen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 5>
pub fn gpiofen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 5>
Bit 5 - 0GPIO peripheral clock enable
sourcepub fn gpiogen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 6>
pub fn gpiogen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 6>
Bit 6 - 0GPIO peripheral clock enable
sourcepub fn gpiohen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 7>
pub fn gpiohen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 7>
Bit 7 - 0GPIO peripheral clock enable
sourcepub fn gpioien(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 8>
pub fn gpioien(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 8>
Bit 8 - 0GPIO peripheral clock enable
sourcepub fn gpiojen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 9>
pub fn gpiojen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 9>
Bit 9 - 0GPIO peripheral clock enable
sourcepub fn gpioken(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 10>
pub fn gpioken(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 10>
Bit 10 - 0GPIO peripheral clock enable
sourcepub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 19>
pub fn crcen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 19>
Bit 19 - CRC peripheral clock enable
sourcepub fn bdmaen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 21>
pub fn bdmaen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 21>
Bit 21 - BDMA and DMAMUX2 Clock Enable
sourcepub fn adc3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 24>
pub fn adc3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 24>
Bit 24 - ADC3 Peripheral Clocks Enable
sourcepub fn hsemen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 25>
pub fn hsemen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 25>
Bit 25 - HSEM peripheral clock enable
sourcepub fn bkpramen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 28>
pub fn bkpramen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB4ENR_SPEC, GPIOAEN_A, BitM, 28>
Bit 28 - Backup RAM Clock Enable
Methods from Deref<Target = W<C1_AHB4ENR_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<C1_AHB4ENR_SPEC>> for W
impl From<W<C1_AHB4ENR_SPEC>> for W
sourcefn from(writer: W<C1_AHB4ENR_SPEC>) -> W
fn from(writer: W<C1_AHB4ENR_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