Struct esp32::mcpwm0::cap_ch0_cfg::R
source · pub struct R(_);
Expand description
Register CAP_CH0_CFG
reader
Implementations§
source§impl R
impl R
sourcepub fn cap0_mode(&self) -> CAP0_MODE_R
pub fn cap0_mode(&self) -> CAP0_MODE_R
Bits 1:2
sourcepub fn cap0_prescale(&self) -> CAP0_PRESCALE_R
pub fn cap0_prescale(&self) -> CAP0_PRESCALE_R
Bits 3:10
sourcepub fn cap0_in_invert(&self) -> CAP0_IN_INVERT_R
pub fn cap0_in_invert(&self) -> CAP0_IN_INVERT_R
Bit 11
Methods from Deref<Target = R<CAP_CH0_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