Skip to Content

TIM IRQ Block Description

This block handles hardware timer interrupts in STM microcontrollers.



TIM IRQ block

Table of Contents

Inputs

This block has no inputs.

Outputs

Output NameTypeDescription
TIM IRQboolTimer interrupt trigger signal.

Block Parameters

ParameterDescription
TimerThe timer number designated to generate hardware interrupts.
Timer clock (MHz)The core frequency of the timer clock expressed in MHz.
PrescalerThe hardware prescaler value for the timer.
PeriodThe auto-reload period value for the timer counter.
Show timer counterEnables the display of detailed timer counter status and registers.


TIM IRQ parameters info



TIM IRQ parameters

CubeMX Configuration for a Given MCU Model

No.NamePathSettingDescriptionScreenshot
1Clock SourcePinout & Configuration > TIM* > Mode > Clock SourceInternal ClockSelects the operational clock source for the timer peripheral.CubeMX clock source
2Global interrupt / Update interruptPinout & Configuration > TIM* > NVIC Settings > Global interrupt / Update interruptEnabledEnables hardware interrupts for the timer. Certain timers feature either a Global or Update interrupt channel; one of these options must be toggled active.CubeMX global interrupt
CubeMX update interrupt

See Also

Last updated on