General-purpose timers (TIM)
TIM_Update_Source
ï‚· #define: TIM_UpdateSource_Global ((uint16_t)0x0000)
Source of update is the counter overflow/underflow or the setting of UG bit, or an update
generation through the slave mode controller.
ï‚· #define: TIM_UpdateSource_Regular ((uint16_t)0x0001)
Source of update is counter overflow/underflow.