pub struct W(/* private fields */);
Expand description
Register AHB2ENR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn otgfsen(
&mut self,
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 7>
pub fn otgfsen( &mut self, ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 7>
Bit 7 - USB OTG FS clock enable
Sourcepub fn rngen(
&mut self,
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 6>
pub fn rngen( &mut self, ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 6>
Bit 6 - Random number generator clock enable
Sourcepub fn hashen(
&mut self,
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 5>
pub fn hashen( &mut self, ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 5>
Bit 5 - Hash modules clock enable
Sourcepub fn crypen(
&mut self,
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 4>
pub fn crypen( &mut self, ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 4>
Bit 4 - Cryptographic modules clock enable
Sourcepub fn dcmien(
&mut self,
) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 0>
pub fn dcmien( &mut self, ) -> BitWriterRaw<'_, u32, AHB2ENR_SPEC, DCMIEN_A, BitM, 0>
Bit 0 - Camera interface enable
Methods from Deref<Target = W<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§
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