Type Alias esp32c3::rtc_cntl::timer2::W

source ·
pub type W = W<TIMER2_SPEC>;
Expand description

Register TIMER2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W<'_, TIMER2_SPEC>

Bits 24:31 - minimal cycles in slow_clk_rtc for CK8M in power down state

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual