Expand description

Timer %s configuration register

Structs

Register T%sCONFIG reader

Timer %s configuration register

Register T%sCONFIG writer

Type Definitions

Field ALARM_EN reader - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.

Field ALARM_EN writer - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.

Field AUTORELOAD reader - When set, timer %s auto-reload at alarm is enabled.

Field AUTORELOAD writer - When set, timer %s auto-reload at alarm is enabled.

Field DIVIDER reader - Timer %s clock (T%s_clk) prescaler value.

Field DIVIDER writer - Timer %s clock (T%s_clk) prescaler value.

Field EN reader - When set, the timer %s time-base counter is enabled.

Field EN writer - When set, the timer %s time-base counter is enabled.

Field INCREASE reader - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement.

Field INCREASE writer - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement.

Field USE_XTAL reader - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group.

Field USE_XTAL writer - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group.