Struct esp32c2_hal::pac::rtc_cntl::timer5::W
pub struct W(_);
Expand description
Register TIMER5
writer
Implementations§
§impl W
impl W
pub fn min_slp_val(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER5_SPEC, u8, u8, Unsafe, 8, 8>
pub fn min_slp_val(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER5_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - minimal sleep cycles in slow_clk_rtc
Methods from Deref<Target = W<TIMER5_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<TIMER5_SPEC>> for W
impl From<W<TIMER5_SPEC>> for W
§fn from(writer: W<TIMER5_SPEC>) -> W
fn from(writer: W<TIMER5_SPEC>) -> W
Converts to this type from the input type.