WB32L003 Standard Peripherals Firmware Library

宏定义
TIM_Update_Source
WB32L003_StdPeriph_Driver » BASETIM WB32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

## 宏定义
#define | TIM_UpdateSource_Global ((uint16_t)0x0000)
#define | TIM_UpdateSource_Regular ((uint16_t)0x0001)
#define | IS_TIM_UPDATE_SOURCE(SOURCE)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_UPDATE_SOURCE

#define IS_TIM_UPDATE_SOURCE | ( |  | SOURCE | ) |

值:
(((SOURCE) == TIM_UpdateSource_Global) || \
((SOURCE) == TIM_UpdateSource_Regular))
TIM_UpdateSource_Regular
#define TIM_UpdateSource_Regular
Definition: wb32l003_tim.h:664
TIM_UpdateSource_Global
#define TIM_UpdateSource_Global
Definition: wb32l003_tim.h:659

## ◆ TIM_UpdateSource_Global

#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.

## ◆ TIM_UpdateSource_Regular

#define TIM_UpdateSource_Regular ((uint16_t)0x0001)

Source of update is counter overflow/underflow.