STM32G474xx HAL用户手册
宏定义
COMP消隐源
COMP导出常量

宏定义

#define COMP_BLANKINGSRC_NONE   (0x00000000UL)
#define COMP_BLANKINGSRC_TIM1_OC5_COMP1   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM1_OC5_COMP2   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM1_OC5_COMP3   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM1_OC5_COMP4   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM1_OC5_COMP5   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM1_OC5_COMP6   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM1_OC5_COMP7   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM2_OC3_COMP1   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM2_OC3_COMP2   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM2_OC3_COMP5   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM2_OC4_COMP3   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM2_OC4_COMP6   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM3_OC3_COMP1   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM3_OC3_COMP2   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM3_OC3_COMP3   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM3_OC3_COMP5   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM3_OC3_COMP7   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM3_OC4_COMP4   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM8_OC5_COMP1   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM8_OC5_COMP2   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM8_OC5_COMP3   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM8_OC5_COMP4   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM8_OC5_COMP5   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM8_OC5_COMP6   ( COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM8_OC5_COMP7   ( COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM15_OC1_COMP4   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM15_OC2_COMP6   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM15_OC2_COMP7   (COMP_CSR_BLANKING_2 )
#define COMP_BLANKINGSRC_TIM20_OC5   (COMP_CSR_BLANKING_2 | COMP_CSR_BLANKING_0)
#define COMP_BLANKINGSRC_TIM15_OC1   (COMP_CSR_BLANKING_2 | COMP_CSR_BLANKING_1 )
#define COMP_BLANKINGSRC_TIM4_OC3   (COMP_CSR_BLANKING_2 | COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)

宏定义说明

#define COMP_BLANKINGSRC_NONE   (0x00000000UL)

比较器输出无消隐

定义于文件 stm32g4xx_hal_comp.h 的第 203 行。

#define COMP_BLANKINGSRC_TIM15_OC1   (COMP_CSR_BLANKING_2 | COMP_CSR_BLANKING_1 )

比较器输出消隐源 TIM15 OC1(所有COMP实例通用)

定义于文件 stm32g4xx_hal_comp.h 的第 233 行。

#define COMP_BLANKINGSRC_TIM15_OC1_COMP4   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM15 OC1(特定于COMP实例:COMP4)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 229 行。

#define COMP_BLANKINGSRC_TIM15_OC2_COMP6   ( COMP_CSR_BLANKING_1 | COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM15 OC2(特定于COMP实例:COMP6)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 230 行。

#define COMP_BLANKINGSRC_TIM15_OC2_COMP7   (COMP_CSR_BLANKING_2 )

比较器输出消隐源 TIM15 OC3(特定于COMP实例:COMP7)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 231 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP1   ( COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP1)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 204 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP2   ( COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP2)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 205 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP3   ( COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP3)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 206 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP4   (COMP_CSR_BLANKING_2 )

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP4)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 207 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP5   (COMP_CSR_BLANKING_2 )

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP5)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 208 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP6   (COMP_CSR_BLANKING_2 )

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP6)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件 stm32g4xx_hal_comp.h 的第 209 行。

#define COMP_BLANKINGSRC_TIM1_OC5_COMP7   ( COMP_CSR_BLANKING_0)

比较器输出消隐源 TIM1 OC5(特定于COMP实例:COMP7)。注:关于COMPx和TIMx实例的可用性,请参阅数据手册

定义于文件