Struct esp32s2::systimer::target1_conf::W
source · pub struct W(_);
Expand description
Register TARGET1_CONF
writer
Implementations
sourceimpl W
impl W
sourcepub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, 0>
pub fn target1_period(&mut self) -> TARGET1_PERIOD_W<'_, 0>
Bits 0:29 - Set alarm period for system timer target 1, only valid in periodic alarms mode.
sourcepub fn target1_period_mode(&mut self) -> TARGET1_PERIOD_MODE_W<'_, 30>
pub fn target1_period_mode(&mut self) -> TARGET1_PERIOD_MODE_W<'_, 30>
Bit 30 - Set work mode for system timer target 1. 0: work in a timedelay alarm mode; 1: work in periodic alarms mode.
sourcepub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W<'_, 31>
pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W<'_, 31>
Bit 31 - System timer target 1 work enable.
Methods from Deref<Target = W<TARGET1_CONF_SPEC>>
Trait Implementations
sourceimpl From<W<TARGET1_CONF_SPEC>> for W
impl From<W<TARGET1_CONF_SPEC>> for W
sourcefn from(writer: W<TARGET1_CONF_SPEC>) -> Self
fn from(writer: W<TARGET1_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