TIM IRQ Block Description
This block handles hardware timer interrupts in STM microcontrollers.

Table of Contents
Inputs
This block has no inputs.
Outputs
| Output Name | Type | Description |
|---|---|---|
| TIM IRQ | bool | Timer interrupt trigger signal. |
Block Parameters
| Parameter | Description |
|---|---|
| Timer | The timer number designated to generate hardware interrupts. |
| Timer clock (MHz) | The core frequency of the timer clock expressed in MHz. |
| Prescaler | The hardware prescaler value for the timer. |
| Period | The auto-reload period value for the timer counter. |
| Show timer counter | Enables the display of detailed timer counter status and registers. |


CubeMX Configuration for a Given MCU Model
H7
| No. | Name | Path | Setting | Description | Screenshot |
|---|---|---|---|---|---|
| 1 | Clock Source | Pinout & Configuration > TIM* > Mode > Clock Source | Internal Clock | Selects the operational clock source for the timer peripheral. | ![]() |
| 2 | Global interrupt / Update interrupt | Pinout & Configuration > TIM* > NVIC Settings > Global interrupt / Update interrupt | Enabled | Enables hardware interrupts for the timer. Certain timers feature either a Global or Update interrupt channel; one of these options must be toggled active. | ![]() ![]() |
See Also
Last updated on


