Struct stm32_hal2::pac::rcc::c1_ahb2enr::W
source · [−]pub struct W(_);
Expand description
Register C1_AHB2ENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn dcmien(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 0>
pub fn dcmien(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 0>
Bit 0 - DCMI peripheral clock
sourcepub fn crypten(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 4>
pub fn crypten(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 4>
Bit 4 - CRYPT peripheral clock enable
sourcepub fn hashen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 5>
pub fn hashen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 5>
Bit 5 - HASH peripheral clock enable
sourcepub fn rngen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 6>
pub fn rngen(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 6>
Bit 6 - RNG peripheral clocks enable
sourcepub fn sdmmc2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 9>
pub fn sdmmc2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 9>
Bit 9 - SDMMC2 and SDMMC2 delay clock enable
sourcepub fn sram1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 29>
pub fn sram1en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 29>
Bit 29 - SRAM1 block enable
sourcepub fn sram2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 30>
pub fn sram2en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 30>
Bit 30 - SRAM2 block enable
sourcepub fn sram3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 31>
pub fn sram3en(
&mut self
) -> BitWriterRaw<'_, u32, C1_AHB2ENR_SPEC, DCMIEN_A, BitM, 31>
Bit 31 - SRAM3 block enable
Methods from Deref<Target = W<C1_AHB2ENR_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_AHB2ENR_SPEC>> for W
impl From<W<C1_AHB2ENR_SPEC>> for W
sourcefn from(writer: W<C1_AHB2ENR_SPEC>) -> W
fn from(writer: W<C1_AHB2ENR_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