Struct esp32s3_hal::pac::systimer::target2_conf::R
pub struct R(_);
Expand description
Register TARGET2_CONF
reader
Implementations§
§impl R
impl R
pub fn target2_period(&self) -> FieldReaderRaw<u32, u32>
pub fn target2_period(&self) -> FieldReaderRaw<u32, u32>
Bits 0:25 - target2 period
pub fn target2_period_mode(&self) -> BitReaderRaw<bool>
pub fn target2_period_mode(&self) -> BitReaderRaw<bool>
Bit 30 - Set target2 to period mode
pub fn target2_timer_unit_sel(&self) -> BitReaderRaw<bool>
pub fn target2_timer_unit_sel(&self) -> BitReaderRaw<bool>
Bit 31 - select which unit to compare
Methods from Deref<Target = R<TARGET2_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<TARGET2_CONF_SPEC>> for R
impl From<R<TARGET2_CONF_SPEC>> for R
§fn from(reader: R<TARGET2_CONF_SPEC>) -> R
fn from(reader: R<TARGET2_CONF_SPEC>) -> R
Converts to this type from the input type.