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

source

pub fn target0_period(&self) -> TARGET0_PERIOD_R

Bits 0:25 - target0 period

source

pub fn target0_period_mode(&self) -> TARGET0_PERIOD_MODE_R

Bit 30 - Set target0 to period mode

source

pub fn target0_timer_unit_sel(&self) -> TARGET0_TIMER_UNIT_SEL_R

Bit 31 - select which unit to compare