WB32F10x Standard Peripherals Firmware Library

Macros
TIM_Channel
WB32F10x_StdPeriph_Driver » TIM » TIM_Exported_Constants

## Macros
#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)

## Detailed Description

## Macro Definition Documentation

## ◆ IS_TIM_CHANNEL

#define IS_TIM_CHANNEL | ( |  | CHANNEL | ) |

Value:
(((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 | ) |

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

## ◆ IS_TIM_PWMI_CHANNEL

#define IS_TIM_PWMI_CHANNEL | ( |  | CHANNEL | ) |

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