Type Alias esp32c3::systimer::target0_conf::W

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

Register TARGET0_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn target0_period(&mut self) -> TARGET0_PERIOD_W<'_, TARGET0_CONF_SPEC>

Bits 0:25 - target0 period

source

pub fn target0_period_mode( &mut self ) -> TARGET0_PERIOD_MODE_W<'_, TARGET0_CONF_SPEC>

Bit 30 - Set target0 to period mode

source

pub fn target0_timer_unit_sel( &mut self ) -> TARGET0_TIMER_UNIT_SEL_W<'_, TARGET0_CONF_SPEC>

Bit 31 - select which unit to compare