Struct esp32c2::systimer::target2_conf::W
source · pub struct W(_);
Expand description
Register TARGET2_CONF
writer
Implementations
sourceimpl W
impl W
sourcepub fn target2_period(&mut self) -> TARGET2_PERIOD_W<'_, 0>
pub fn target2_period(&mut self) -> TARGET2_PERIOD_W<'_, 0>
Bits 0:25 - target2 period
sourcepub fn target2_period_mode(&mut self) -> TARGET2_PERIOD_MODE_W<'_, 30>
pub fn target2_period_mode(&mut self) -> TARGET2_PERIOD_MODE_W<'_, 30>
Bit 30 - Set target2 to period mode
sourcepub fn target2_timer_unit_sel(&mut self) -> TARGET2_TIMER_UNIT_SEL_W<'_, 31>
pub fn target2_timer_unit_sel(&mut self) -> TARGET2_TIMER_UNIT_SEL_W<'_, 31>
Bit 31 - select which unit to compare
Methods from Deref<Target = W<TARGET2_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<TARGET2_CONF_SPEC>> for W
impl From<W<TARGET2_CONF_SPEC>> for W
sourcefn from(writer: W<TARGET2_CONF_SPEC>) -> Self
fn from(writer: W<TARGET2_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more