Struct esp32c2_hal::pac::rtc_cntl::timer1::W
pub struct W(_);
Expand description
Register TIMER1
writer
Implementations§
§impl W
impl W
pub fn cpu_stall_en(
&mut self
) -> BitWriterRaw<'_, u32, TIMER1_SPEC, bool, BitM, 0>
pub fn cpu_stall_en(
&mut self
) -> BitWriterRaw<'_, u32, TIMER1_SPEC, bool, BitM, 0>
Bit 0 - CPU stall enable bit
pub fn cpu_stall_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 5, 1>
pub fn cpu_stall_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 5, 1>
Bits 1:5 - CPU stall wait cycles in fast_clk_rtc
pub fn ck8m_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 8, 6>
pub fn ck8m_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 8, 6>
Bits 6:13 - CK8M wait cycles in slow_clk_rtc
pub fn xtl_buf_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u16, u16, Unsafe, 10, 14>
pub fn xtl_buf_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u16, u16, Unsafe, 10, 14>
Bits 14:23 - XTAL wait cycles in slow_clk_rtc
pub fn pll_buf_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 8, 24>
pub fn pll_buf_wait(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER1_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - PLL wait cycles in slow_clk_rtc
Methods from Deref<Target = W<TIMER1_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<TIMER1_SPEC>> for W
impl From<W<TIMER1_SPEC>> for W
§fn from(writer: W<TIMER1_SPEC>) -> W
fn from(writer: W<TIMER1_SPEC>) -> W
Converts to this type from the input type.