Type Alias esp32c6::systimer::target1_conf::W
source · pub type W = W<TARGET1_CONF_SPEC>;
Expand description
Register TARGET1_CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, TARGET1_CONF_SPEC, 0>
pub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, TARGET1_CONF_SPEC, 0>
Bits 0:25 - target1 period
sourcepub fn target1_period_mode(
&mut self
) -> TARGET1_PERIOD_MODE_W<'_, TARGET1_CONF_SPEC, 30>
pub fn target1_period_mode( &mut self ) -> TARGET1_PERIOD_MODE_W<'_, TARGET1_CONF_SPEC, 30>
Bit 30 - Set target1 to period mode
sourcepub fn target1_timer_unit_sel(
&mut self
) -> TARGET1_TIMER_UNIT_SEL_W<'_, TARGET1_CONF_SPEC, 31>
pub fn target1_timer_unit_sel( &mut self ) -> TARGET1_TIMER_UNIT_SEL_W<'_, TARGET1_CONF_SPEC, 31>
Bit 31 - select which unit to compare