Struct stm32_hal2::pac::rcc::c1_apb1hlpenr::W
source · [−]pub struct W(_);
Expand description
Register C1_APB1HLPENR
writer
Implementations
sourceimpl W
impl W
sourcepub fn crslpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 1>
pub fn crslpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 1>
Bit 1 - Clock Recovery System peripheral clock enable during CSleep mode
sourcepub fn swpmilpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 2>
pub fn swpmilpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 2>
Bit 2 - SWPMI Peripheral Clocks Enable During CSleep Mode
sourcepub fn opamplpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 4>
pub fn opamplpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 4>
Bit 4 - OPAMP peripheral clock enable during CSleep mode
sourcepub fn mdioslpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 5>
pub fn mdioslpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 5>
Bit 5 - MDIOS peripheral clock enable during CSleep mode
sourcepub fn fdcanlpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 8>
pub fn fdcanlpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 8>
Bit 8 - FDCAN Peripheral Clocks Enable During CSleep Mode
sourcepub fn tim23lpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 24>
pub fn tim23lpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 24>
Bit 24 - TIM23 block enable during CSleep Mode
sourcepub fn tim24lpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 25>
pub fn tim24lpen(
&mut self
) -> BitWriterRaw<'_, u32, C1_APB1HLPENR_SPEC, CRSLPEN_A, BitM, 25>
Bit 25 - TIM24 block enable during CSleep Mode
Methods from Deref<Target = W<C1_APB1HLPENR_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_APB1HLPENR_SPEC>> for W
impl From<W<C1_APB1HLPENR_SPEC>> for W
sourcefn from(writer: W<C1_APB1HLPENR_SPEC>) -> W
fn from(writer: W<C1_APB1HLPENR_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