Struct stm32_hal2::pac::rcc::c1_apb1henr::W
source · [−]pub struct W(_);
Expand description
Register C1_APB1HENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn crsen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 1>
pub fn crsen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 1>
Bit 1 - Clock Recovery System peripheral clock enable
sourcepub fn swpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 2>
pub fn swpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 2>
Bit 2 - SWPMI Peripheral Clocks Enable
sourcepub fn opampen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 4>
pub fn opampen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 4>
Bit 4 - OPAMP peripheral clock enable
sourcepub fn mdiosen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 5>
pub fn mdiosen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 5>
Bit 5 - MDIOS peripheral clock enable
sourcepub fn fdcanen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 8>
pub fn fdcanen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HENR_SPEC, CRSEN_A, BitM, 8>
Bit 8 - FDCAN Peripheral Clocks Enable
Methods from Deref<Target = W<C1_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<C1_APB1HENR_SPEC>> for W
impl From<W<C1_APB1HENR_SPEC>> for W
sourcefn from(writer: W<C1_APB1HENR_SPEC>) -> W
fn from(writer: W<C1_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