Struct esp32c6::mcpwm0::cap_timer_cfg::R
source · pub struct R(_);
Expand description
Register CAP_TIMER_CFG
reader
Implementations§
source§impl R
impl R
sourcepub fn cap_timer_en(&self) -> CAP_TIMER_EN_R
pub fn cap_timer_en(&self) -> CAP_TIMER_EN_R
Bit 0 - When set, capture timer incrementing under APB_clk is enabled.
sourcepub fn cap_synci_en(&self) -> CAP_SYNCI_EN_R
pub fn cap_synci_en(&self) -> CAP_SYNCI_EN_R
Bit 1 - When set, capture timer sync is enabled.
sourcepub fn cap_synci_sel(&self) -> CAP_SYNCI_SEL_R
pub fn cap_synci_sel(&self) -> CAP_SYNCI_SEL_R
Bits 2:4 - capture module sync input selection. 0: none, 1: timer0 sync_out, 2: timer1 sync_out, 3: timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix
Methods from Deref<Target = R<CAP_TIMER_CFG_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more