MG32L003 Standard Peripherals Firmware Library

宏定义
TIM_Channel
MG32L003_StdPeriph_Driver » BASETIM MG32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

## 宏定义
#define | TIM_Channel_1 ((uint16_t)0x0000)
#define | TIM_Channel_2 ((uint16_t)0x0004)
#define | TIM_Channel_3 ((uint16_t)0x0008)
#define | TIM_Channel_4 ((uint16_t)0x000C)
#define | IS_TIM_CHANNEL(CHANNEL)
#define | IS_TIM_PWMI_CHANNEL(CHANNEL)
#define | IS_TIM_COMPLEMENTARY_CHANNEL(CHANNEL)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_CHANNEL

#define IS_TIM_CHANNEL | ( |  | CHANNEL | ) |

值:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2) || \
((CHANNEL) == TIM_Channel_3) || \
((CHANNEL) == TIM_Channel_4))

## ◆ IS_TIM_COMPLEMENTARY_CHANNEL

#define IS_TIM_COMPLEMENTARY_CHANNEL | ( |  | CHANNEL | ) |

值:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2) || \
((CHANNEL) == TIM_Channel_3))

## ◆ IS_TIM_PWMI_CHANNEL

#define IS_TIM_PWMI_CHANNEL | ( |  | CHANNEL | ) |

值:
(((CHANNEL) == TIM_Channel_1) || \
((CHANNEL) == TIM_Channel_2))