pub struct W(_);
Expand description
Register T%sCONFIG
writer
Implementations
sourceimpl W
impl W
sourcepub fn t0_use_xtal(&mut self) -> T0_USE_XTAL_W<'_, 9>
pub fn t0_use_xtal(&mut self) -> T0_USE_XTAL_W<'_, 9>
Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group.
sourcepub fn t0_alarm_en(&mut self) -> T0_ALARM_EN_W<'_, 10>
pub fn t0_alarm_en(&mut self) -> T0_ALARM_EN_W<'_, 10>
Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.
sourcepub fn t0_divcnt_rst(&mut self) -> T0_DIVCNT_RST_W<'_, 12>
pub fn t0_divcnt_rst(&mut self) -> T0_DIVCNT_RST_W<'_, 12>
Bit 12 - When set, Timer %s ’s clock divider counter will be reset.
sourcepub fn t0_divider(&mut self) -> T0_DIVIDER_W<'_, 13>
pub fn t0_divider(&mut self) -> T0_DIVIDER_W<'_, 13>
Bits 13:28 - Timer %s clock (T%s_clk) prescaler value.
sourcepub fn t0_autoreload(&mut self) -> T0_AUTORELOAD_W<'_, 29>
pub fn t0_autoreload(&mut self) -> T0_AUTORELOAD_W<'_, 29>
Bit 29 - When set, timer %s auto-reload at alarm is enabled.
sourcepub fn t0_increase(&mut self) -> T0_INCREASE_W<'_, 30>
pub fn t0_increase(&mut self) -> T0_INCREASE_W<'_, 30>
Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement.
Methods from Deref<Target = W<TCONFIG_SPEC>>
Trait Implementations
sourceimpl From<W<TCONFIG_SPEC>> for W
impl From<W<TCONFIG_SPEC>> for W
sourcefn from(writer: W<TCONFIG_SPEC>) -> Self
fn from(writer: W<TCONFIG_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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