Expand description
Timer 0 configuration register
Structs§
- CONFIG_
SPEC - Timer 0 configuration register
Type Aliases§
- ALARM_
EN_ R - Field
ALARM_EN
reader - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs. - ALARM_
EN_ W - Field
ALARM_EN
writer - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs. - AUTORELOAD_
R - Field
AUTORELOAD
reader - When set, timer %s auto-reload at alarm is enabled. - AUTORELOAD_
W - Field
AUTORELOAD
writer - When set, timer %s auto-reload at alarm is enabled. - DIVIDER_
R - Field
DIVIDER
reader - Timer %s clock (T%s_clk) prescaler value. - DIVIDER_
W - Field
DIVIDER
writer - Timer %s clock (T%s_clk) prescaler value. - EDGE_
INT_ EN_ R - Field
EDGE_INT_EN
reader - When set, an alarm will generate an edge type interrupt. - EDGE_
INT_ EN_ W - Field
EDGE_INT_EN
writer - When set, an alarm will generate an edge type interrupt. - EN_R
- Field
EN
reader - When set, the timer %s time-base counter is enabled. - EN_W
- Field
EN
writer - When set, the timer %s time-base counter is enabled. - INCREASE_
R - 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. - INCREASE_
W - 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. - LEVEL_
INT_ EN_ R - Field
LEVEL_INT_EN
reader - When set, an alarm will generate a level type interrupt. - LEVEL_
INT_ EN_ W - Field
LEVEL_INT_EN
writer - When set, an alarm will generate a level type interrupt. - R
- Register
CONFIG
reader - USE_
XTAL_ R - 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. - USE_
XTAL_ W - 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. - W
- Register
CONFIG
writer