Struct esp32c2_hal::pac::rtc_cntl::time_update::W
pub struct W(_);
Expand description
Register TIME_UPDATE
writer
Implementations
impl W
impl W
pub fn timer_sys_stall(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 27>
pub fn timer_sys_stall(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 27>
Bit 27 - Enable to record system stall time
pub fn timer_xtl_off(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 28>
pub fn timer_xtl_off(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 28>
Bit 28 - Enable to record 40M XTAL OFF time
pub fn timer_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 29>
pub fn timer_sys_rst(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 29>
Bit 29 - enable to record system reset time
pub fn time_update(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 31>
pub fn time_update(
&mut self
) -> BitWriterRaw<'_, u32, TIME_UPDATE_SPEC, bool, BitM, 31>
Bit 31 - Set 1: to update register with RTC timer
Methods from Deref<Target = W<TIME_UPDATE_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<TIME_UPDATE_SPEC>> for W
impl From<W<TIME_UPDATE_SPEC>> for W
fn from(writer: W<TIME_UPDATE_SPEC>) -> W
fn from(writer: W<TIME_UPDATE_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