CC1G=B_0x0, B2G=B_0x0, BG=B_0x0, COMG=B_0x0, TG=B_0x0, UG=B_0x0
TIM1 event generation register
UG | Update generation 0 (B_0x0): No action 1 (B_0x1): Reinitialize the counter and generates an update of the registers. Note that the prescaler counter is cleared too (anyway the prescaler ratio is not affected). The counter is cleared if the center-aligned mode is selected or if DIR=0 (upcounting), else it takes the auto-reload value (TIMx_ARR) if DIR=1 (downcounting). |
CC1G | Capture/compare 1 generation 0 (B_0x0): No action 1 (B_0x1): A capture/compare event is generated on channel 1: |
CC2G | Capture/compare 2 generation |
CC3G | Capture/compare 3 generation |
CC4G | Capture/compare 4 generation |
COMG | Capture/compare control update generation 0 (B_0x0): No action 1 (B_0x1): CCxE, CCxNE and OCxM bits update (providing CCPC bit is set) |
TG | Trigger generation 0 (B_0x0): No action 1 (B_0x1): The TIF flag is set in TIMx_SR register. Related interrupt or DMA transfer can occur if enabled. |
BG | Break generation 0 (B_0x0): No action 1 (B_0x1): A break event is generated. MOE bit is cleared and BIF flag is set. Related interrupt or DMA transfer can occur if enabled. |
B2G | Break 2 generation 0 (B_0x0): No action 1 (B_0x1): A break 2 event is generated. MOE bit is cleared and B2IF flag is set. Related interrupt can occur if enabled. |