Type Alias esp32c3::systimer::target2_conf::R
source · pub type R = R<TARGET2_CONF_SPEC>;
Expand description
Register TARGET2_CONF
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn target2_period(&self) -> TARGET2_PERIOD_R
pub fn target2_period(&self) -> TARGET2_PERIOD_R
Bits 0:25 - target2 period
sourcepub fn target2_period_mode(&self) -> TARGET2_PERIOD_MODE_R
pub fn target2_period_mode(&self) -> TARGET2_PERIOD_MODE_R
Bit 30 - Set target2 to period mode
sourcepub fn target2_timer_unit_sel(&self) -> TARGET2_TIMER_UNIT_SEL_R
pub fn target2_timer_unit_sel(&self) -> TARGET2_TIMER_UNIT_SEL_R
Bit 31 - select which unit to compare