STM32F37 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups

Macros

#define COMP_Output_None   ((uint32_t)0x00000000)
 
#define COMP_Output_TIM5IC4   ((uint32_t)0x00000600)
 
#define COMP_Output_TIM4IC1   ((uint32_t)0x00000200)
 
#define COMP_Output_TIM5OCREFCLR   COMP_CSR_COMP1OUTSEL
 
#define COMP_Output_TIM4OCREFCLR   ((uint32_t)0x00000300)
 
#define COMP_Output_TIM15BKIN   COMP_CSR_COMP1OUTSEL_0
 
#define COMP_Output_TIM16BKIN   COMP_CSR_COMP1OUTSEL_0
 
#define COMP_Output_TIM2IC4   COMP_CSR_COMP1OUTSEL_2
 
#define COMP_Output_TIM2OCREFCLR   ((uint32_t)0x00000500)
 
#define COMP_Output_TIM3IC1   ((uint32_t)0x00000600)
 
#define COMP_Output_TIM3OCREFCLR   COMP_CSR_COMP1OUTSEL
 
#define IS_COMP_OUTPUT(OUTPUT)
 

Detailed Description

Macro Definition Documentation

#define COMP_Output_None   ((uint32_t)0x00000000)

COMP output isn't connected to other peripherals

#define COMP_Output_TIM15BKIN   COMP_CSR_COMP1OUTSEL_0

COMP output connected to TIM15 Break Input (BKIN)

#define COMP_Output_TIM16BKIN   COMP_CSR_COMP1OUTSEL_0

COMP output connected to TIM16 Break Input (BKIN)

#define COMP_Output_TIM2IC4   COMP_CSR_COMP1OUTSEL_2

COMP output connected to TIM2 Input Capture 4

#define COMP_Output_TIM2OCREFCLR   ((uint32_t)0x00000500)

COMP output connected to TIM2 OCREF Clear

#define COMP_Output_TIM3IC1   ((uint32_t)0x00000600)

COMP output connected to TIM3 Input Capture 1

#define COMP_Output_TIM3OCREFCLR   COMP_CSR_COMP1OUTSEL

COMP output connected to TIM3 OCREF Clear

#define COMP_Output_TIM4IC1   ((uint32_t)0x00000200)

COMP output connected to TIM4 Input Capture 1

#define COMP_Output_TIM4OCREFCLR   ((uint32_t)0x00000300)

COMP output connected to TIM4 OCREF Clear

#define COMP_Output_TIM5IC4   ((uint32_t)0x00000600)

COMP output connected to TIM5 Input Capture 4

#define COMP_Output_TIM5OCREFCLR   COMP_CSR_COMP1OUTSEL

COMP output connected to TIM5 OCREF Clear

#define IS_COMP_OUTPUT (   OUTPUT)
Value:
(((OUTPUT) == COMP_Output_None) || \
((OUTPUT) == COMP_Output_TIM5IC4) || \
((OUTPUT) == COMP_Output_TIM4IC1) || \
((OUTPUT) == COMP_Output_TIM5OCREFCLR) || \
((OUTPUT) == COMP_Output_TIM4OCREFCLR) || \
((OUTPUT) == COMP_Output_TIM15BKIN) || \
((OUTPUT) == COMP_Output_TIM16BKIN) || \
((OUTPUT) == COMP_Output_TIM2IC4) || \
((OUTPUT) == COMP_Output_TIM2OCREFCLR) || \
((OUTPUT) == COMP_Output_TIM3IC1) || \
((OUTPUT) == COMP_Output_TIM3OCREFCLR))