Struct daisy::pac::rcc::c1_ahb2enr::W
pub struct W(/* private fields */);
Expand description
Register C1_AHB2ENR
writer
Implementations§
§impl W
impl W
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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>>§
pub 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§
§impl From<W<C1_AHB2ENR_SPEC>> for W
impl From<W<C1_AHB2ENR_SPEC>> for W
§fn 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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more