STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
TIM_Update_Source

Macros

#define TIM_UpdateSource_Global   ((uint16_t)0x0000)
 
#define TIM_UpdateSource_Regular   ((uint16_t)0x0001)
 
#define IS_TIM_UPDATE_SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_UPDATE_SOURCE (   SOURCE)
Value:
(((SOURCE) == TIM_UpdateSource_Global) || \
((SOURCE) == TIM_UpdateSource_Regular))
#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.