Type Alias esp32c3::systimer::target0_conf::R
source · pub type R = R<TARGET0_CONF_SPEC>;
Expand description
Register TARGET0_CONF
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn target0_period(&self) -> TARGET0_PERIOD_R
pub fn target0_period(&self) -> TARGET0_PERIOD_R
Bits 0:25 - target0 period
sourcepub fn target0_period_mode(&self) -> TARGET0_PERIOD_MODE_R
pub fn target0_period_mode(&self) -> TARGET0_PERIOD_MODE_R
Bit 30 - Set target0 to period mode
sourcepub fn target0_timer_unit_sel(&self) -> TARGET0_TIMER_UNIT_SEL_R
pub fn target0_timer_unit_sel(&self) -> TARGET0_TIMER_UNIT_SEL_R
Bit 31 - select which unit to compare