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

source

pub fn target2_period(&self) -> TARGET2_PERIOD_R

Bits 0:25 - target2 period

source

pub fn target2_period_mode(&self) -> TARGET2_PERIOD_MODE_R

Bit 30 - Set target2 to period mode

source

pub fn target2_timer_unit_sel(&self) -> TARGET2_TIMER_UNIT_SEL_R

Bit 31 - select which unit to compare