Type Alias esp32c3::systimer::target_conf::R

source ·
pub type R = R<TARGET_CONF_SPEC>;
Expand description

Register TARGET%s_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn period(&self) -> PERIOD_R

Bits 0:25 - target0 period

source

pub fn period_mode(&self) -> PERIOD_MODE_R

Bit 30 - Set target0 to period mode

source

pub fn timer_unit_sel(&self) -> TIMER_UNIT_SEL_R

Bit 31 - select which unit to compare