RM0461
Bit 0 UIF: Update interrupt flag
23.4.6
TIM1 event generation register (TIM1_EGR)
Address offset: 0x14
Reset value: 0x0000
15
14
13
Res.
Res.
Res.
Res.
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 B2G: Break 2 generation
This bit is set by software in order to generate an event, it is automatically cleared by
hardware.
0: No action
1: A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt
Bit 7 BG: Break generation
This bit is set by software in order to generate an event, it is automatically cleared by
hardware.
0: No action
1: A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or
Bit 6 TG: Trigger generation
This bit is set by software in order to generate an event, it is automatically cleared by
hardware.
0: No action
1: The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if
Bit 5 COMG: Capture/Compare control update generation
This bit can be set by software, it is automatically cleared by hardware
0: No action
1: When CCPC bit is set, it allows CCxE, CCxNE and OCxM bits to be updated.
Note: This bit acts only on channels having a complementary output.
Bit 4 CC4G: Capture/Compare 4 generation
Refer to CC1G description
Bit 3 CC3G: Capture/Compare 3 generation
Refer to CC1G description
This bit is set by hardware on an update event. It is cleared by software.
0: No update occurred.
1: Update interrupt pending. This bit is set by hardware when the registers are updated:
– At overflow or underflow regarding the repetition counter value (update if repetition
counter = 0) and if the UDIS=0 in the TIMx_CR1 register.
– When CNT is reinitialized by software using the UG bit in TIMx_EGR register, if URS=0
and UDIS=0 in the TIMx_CR1 register.
– When CNT is reinitialized by a trigger event (refer to
control register
(TIM1_SMCR)), if URS=0 and UDIS=0 in the TIMx_CR1 register.
12
11
10
9
Res.
Res.
Res.
can occur if enabled.
DMA transfer can occur if enabled.
enabled.
8
7
6
B2G
BG
TG
COMG
w
w
w
RM0461 Rev 5
Advanced-control timer (TIM1)
Section 23.4.3: TIM1 slave mode
5
4
3
2
CC4G
CC3G
CC2G
w
w
w
w
1
0
CC1G
UG
w
w
689/1306
718
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?
Questions and answers