Struct esp32_hal::pac::pwm0::cap_timer_cfg::R
pub struct R(_);
Expand description
Register CAP_TIMER_CFG
reader
Implementations§
§impl R
impl R
pub fn cap_timer_en(&self) -> BitReaderRaw<bool>
pub fn cap_timer_en(&self) -> BitReaderRaw<bool>
Bit 0
pub fn cap_synci_en(&self) -> BitReaderRaw<bool>
pub fn cap_synci_en(&self) -> BitReaderRaw<bool>
Bit 1
pub fn cap_synci_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn cap_synci_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 2:4
Methods from Deref<Target = R<CAP_TIMER_CFG_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<CAP_TIMER_CFG_SPEC>> for R
impl From<R<CAP_TIMER_CFG_SPEC>> for R
§fn from(reader: R<CAP_TIMER_CFG_SPEC>) -> R
fn from(reader: R<CAP_TIMER_CFG_SPEC>) -> R
Converts to this type from the input type.