Type Alias esp32h2::systimer::target2_conf::W
source · pub type W = W<TARGET2_CONF_SPEC>;
Expand description
Register TARGET2_CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn target2_period(&mut self) -> TARGET2_PERIOD_W<'_, TARGET2_CONF_SPEC>
pub fn target2_period(&mut self) -> TARGET2_PERIOD_W<'_, TARGET2_CONF_SPEC>
Bits 0:25 - target2 period
sourcepub fn target2_period_mode(
&mut self
) -> TARGET2_PERIOD_MODE_W<'_, TARGET2_CONF_SPEC>
pub fn target2_period_mode( &mut self ) -> TARGET2_PERIOD_MODE_W<'_, TARGET2_CONF_SPEC>
Bit 30 - Set target2 to period mode
sourcepub fn target2_timer_unit_sel(
&mut self
) -> TARGET2_TIMER_UNIT_SEL_W<'_, TARGET2_CONF_SPEC>
pub fn target2_timer_unit_sel( &mut self ) -> TARGET2_TIMER_UNIT_SEL_W<'_, TARGET2_CONF_SPEC>
Bit 31 - select which unit to compare