WB32L003 Standard Peripherals Firmware Library

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

## 宏定义
#define | TIM_OCMode_Timing ((uint16_t)0x0000)
#define | TIM_OCMode_Active ((uint16_t)0x0010)
#define | TIM_OCMode_Inactive ((uint16_t)0x0020)
#define | TIM_OCMode_Toggle ((uint16_t)0x0030)
#define | TIM_OCMode_PWM1 ((uint16_t)0x0060)
#define | TIM_OCMode_PWM2 ((uint16_t)0x0070)
#define | IS_TIM_OC_MODE(MODE)
#define | IS_TIM_OCM(MODE)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_OC_MODE

#define IS_TIM_OC_MODE | ( |  | MODE | ) |

值:
(((MODE) == TIM_OCMode_Timing) || \
((MODE) == TIM_OCMode_Active) || \
((MODE) == TIM_OCMode_Inactive) || \
((MODE) == TIM_OCMode_Toggle)|| \
((MODE) == TIM_OCMode_PWM1) || \
((MODE) == TIM_OCMode_PWM2))

## ◆ IS_TIM_OCM

#define IS_TIM_OCM | ( |  | MODE | ) |

值:
(((MODE) == TIM_OCMode_Timing) || \
((MODE) == TIM_OCMode_Active) || \
((MODE) == TIM_OCMode_Inactive) || \
((MODE) == TIM_OCMode_Toggle)|| \
((MODE) == TIM_OCMode_PWM1) || \
((MODE) == TIM_OCMode_PWM2) || \
((MODE) == TIM_ForcedAction_Active) || \
((MODE) == TIM_ForcedAction_InActive))