pub struct W(_);
Expand description
Register APB1HENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn crsen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 1>
pub fn crsen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 1>
Bit 1 - Clock Recovery System peripheral clock enable
sourcepub fn swpmien(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 2>
pub fn swpmien(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 2>
Bit 2 - SWPMI Peripheral Clocks Enable
sourcepub fn opampen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 4>
pub fn opampen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 4>
Bit 4 - OPAMP peripheral clock enable
sourcepub fn mdiosen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 5>
pub fn mdiosen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 5>
Bit 5 - MDIOS peripheral clock enable
sourcepub fn fdcanen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 8>
pub fn fdcanen(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 8>
Bit 8 - FDCAN Peripheral Clocks Enable
sourcepub fn tim23en(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 24>
pub fn tim23en(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 24>
Bit 24 - TIM23 block enable
sourcepub fn tim24en(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 25>
pub fn tim24en(
&mut self
) -> BitWriterRaw<'_, u32, APB1HENR_SPEC, CRSEN_A, BitM, 25>
Bit 25 - TIM24 block enable
Methods from Deref<Target = W<APB1HENR_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<APB1HENR_SPEC>> for W
impl From<W<APB1HENR_SPEC>> for W
sourcefn from(writer: W<APB1HENR_SPEC>) -> W
fn from(writer: W<APB1HENR_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