pub struct W(_);
Expand description
Register T0CONFIG
writer
Implementations§
source§impl W
impl W
sourcepub fn use_xtal(&mut self) -> USE_XTAL_W<'_, 9>
pub fn use_xtal(&mut self) -> 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 alarm_en(&mut self) -> ALARM_EN_W<'_, 10>
pub fn alarm_en(&mut self) -> ALARM_EN_W<'_, 10>
Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.
sourcepub fn divcnt_rst(&mut self) -> DIVCNT_RST_W<'_, 12>
pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W<'_, 12>
Bit 12 - When set, Timer %s ’s clock divider counter will be reset.
sourcepub fn divider(&mut self) -> DIVIDER_W<'_, 13>
pub fn divider(&mut self) -> DIVIDER_W<'_, 13>
Bits 13:28 - Timer %s clock (T%s_clk) prescaler value.
sourcepub fn autoreload(&mut self) -> AUTORELOAD_W<'_, 29>
pub fn autoreload(&mut self) -> AUTORELOAD_W<'_, 29>
Bit 29 - When set, timer %s auto-reload at alarm is enabled.
sourcepub fn increase(&mut self) -> INCREASE_W<'_, 30>
pub fn increase(&mut self) -> 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.