pub type R = R<CONFIG_SPEC>;
Expand description
Register CONFIG
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn use_xtal(&self) -> USE_XTAL_R
pub fn use_xtal(&self) -> USE_XTAL_R
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(&self) -> ALARM_EN_R
pub fn alarm_en(&self) -> ALARM_EN_R
Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.
Sourcepub fn autoreload(&self) -> AUTORELOAD_R
pub fn autoreload(&self) -> AUTORELOAD_R
Bit 29 - When set, timer %s auto-reload at alarm is enabled.
Sourcepub fn increase(&self) -> INCREASE_R
pub fn increase(&self) -> INCREASE_R
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.