Struct esp32c2_hal::pac::rtc_cntl::ulp_cp_timer_1::W
pub struct W(_);
Expand description
Register ULP_CP_TIMER_1
writer
Implementations
impl W
impl W
pub fn ulp_cp_timer_slp_cycle(
&mut self
) -> FieldWriterRaw<'_, u32, ULP_CP_TIMER_1_SPEC, u32, u32, Unsafe, 24, 8>
pub fn ulp_cp_timer_slp_cycle(
&mut self
) -> FieldWriterRaw<'_, u32, ULP_CP_TIMER_1_SPEC, u32, u32, Unsafe, 24, 8>
Bits 8:31 - sleep cycles for ULP-coprocessor timer
Methods from Deref<Target = W<ULP_CP_TIMER_1_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.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations
impl From<W<ULP_CP_TIMER_1_SPEC>> for W
impl From<W<ULP_CP_TIMER_1_SPEC>> for W
fn from(writer: W<ULP_CP_TIMER_1_SPEC>) -> W
fn from(writer: W<ULP_CP_TIMER_1_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