Table 256. Effect Of Low-Power Modes On Tim1/Tim8/Tim20; Table 257. Interrupt Requests - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

Advanced-control timers (TIM1/TIM8/TIM20)
For more details, refer to section Debug support (DBG).
27.4
TIM1/TIM8/TIM20 low-power modes
Mode
Sleep
Stop
Standby
27.5
TIM1/TIM8/TIM20 interrupts
The TIM1/TIM8/TIM20 can generate multiple interrupts, as shown in
Interrupt
acronym
TIM_UP
Update
Capture/compare 1
Capture/compare 2
TIM_CC
Capture/compare 3
Capture/compare 4
Commutation (COM)
TIM_TRG_COM
Trigger
Index
TIM_DIR_IDX
Direction
Break
TIM_BRK
Break2
System Break
TIM_IERR
Index Error
TIM_TER
Transition Error
1130/2083

Table 256. Effect of low-power modes on TIM1/TIM8/TIM20

No effect, peripheral is active. The interrupts can cause the device to exit from Sleep
mode.
The timer operation is stopped and the register content is kept. No interrupt can be
generated.
The timer is powered-down and must be reinitialized after exiting the Standby mode.

Table 257. Interrupt requests

Interrupt event
Event flag
UIF
CC1IF
CC2IF
CC3IF
CC4IF
COMIF
TIF
IDXF
DIRF
BIF
B2IF
SBIF
IERRF
TERRF
Description
Enable
control bit
UIE
write 0 in UIF
CC1IE
write 0 in CC1IF
CC2IE
write 0 in CC2IF
CC3IE
write 0 in CC3IF
CC4IE
write 0 in CC4IF
COMIE
write 0 in COMIF
TIE
write 0 in TIF
IDXIE
write 0 in IDXF
DIRIE
write 0 in DIRF
write 0 in BIF
BIE
write 0 in B2IF
write 0 in SBIF
IERRIE
write 0 in IERRF
TERRIE
write 0 in TERRF
RM0440 Rev 1
Table
257.
Exit
Interrupt clear
from
method
Sleep
mode
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
RM0440
Exit from
Stop and
Standby
mode
No
No
No
No
No
No
No
No
No
No
No
No
No
No

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Table of Contents

Save PDF