Type Alias esp32s2::systimer::step::W

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

Register STEP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer_xtal_step(&mut self) -> TIMER_XTAL_STEP_W<'_, STEP_SPEC>

Bits 0:9 - Set system timer increment step when using XTAL_CLK.

source

pub fn timer_pll_step(&mut self) -> TIMER_PLL_STEP_W<'_, STEP_SPEC>

Bits 10:19 - Set system timer increment step when using PLL_CLK

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