Struct esp32c2_hal::pac::systimer::target0_conf::R
pub struct R(_);
Expand description
Register TARGET0_CONF
reader
Implementations§
§impl R
impl R
pub fn target0_period(&self) -> FieldReaderRaw<u32, u32>
pub fn target0_period(&self) -> FieldReaderRaw<u32, u32>
Bits 0:25 - target0 period
pub fn target0_period_mode(&self) -> BitReaderRaw<bool>
pub fn target0_period_mode(&self) -> BitReaderRaw<bool>
Bit 30 - Set target0 to period mode
pub fn target0_timer_unit_sel(&self) -> BitReaderRaw<bool>
pub fn target0_timer_unit_sel(&self) -> BitReaderRaw<bool>
Bit 31 - select which unit to compare
Methods from Deref<Target = R<TARGET0_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<TARGET0_CONF_SPEC>> for R
impl From<R<TARGET0_CONF_SPEC>> for R
§fn from(reader: R<TARGET0_CONF_SPEC>) -> R
fn from(reader: R<TARGET0_CONF_SPEC>) -> R
Converts to this type from the input type.