Introduction
The Basic Timer is a compact and efficient 32-bit timer peripheral that adopts a pure 32-bit counter architecture without prescaler functionality. Once enabled, the timer starts counting up from its initial value. When the count reaches the user-configured reload register value, it automatically generates a timer update event, clears the counter, and restarts counting, thereby implementing auto-reload continuous cyclic timing functionality.
Features
The features of the basic timer are listed below.
32-bit resolution
Up-counting mode
Interrupt support
Auto-reload support
Name |
LS: TIM0 ~ TIM7 |
HP: TIM10 ~ TIM13 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 ~ TIM13 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM7 |
TIM10 ~ TIM14 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 ~ TIM14 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM7 |
TIM10 ~ TIM14 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 ~ TIM14 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM7 |
TIM10 ~ TIM14 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 ~ TIM14 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM7 |
TIM10 ~ TIM14 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 ~ TIM14 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM7 |
TIM10/TIM11 |
|---|---|---|
Clock Source |
SDM 32kHz |
XTAL 40MHz |
Note
The clock source of TIM10 and TIM11 is derived from XTAL 40MHz, divided by 40.
Name |
TIM0 ~ TIM3 |
|---|---|
Clock Source |
SDM 32kHz (default) or XTAL 40MHz |
Name |
TIM0 ~ TIM3 |
|---|---|
Clock Source |
SDM 32kHz (default) or XTAL 40MHz |
Block Diagram
The basic timer mainly consists of a 32-bit counter and a preload register. The block diagram is shown below.