STM8L15x Standard Peripherals Drivers: COMP2_Output_Selection

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

COMP2_Output_Selection

Defines

#define IS_COMP_OUTPUT(OUTPUT)

Enumerations

enum  COMP_OutputSelect_Typedef { COMP_OutputSelect_TIM2IC2 = ((uint8_t)0x00), COMP_OutputSelect_TIM3IC2 = ((uint8_t)0x40), COMP_OutputSelect_TIM1BRK = ((uint8_t)0x80), COMP_OutputSelect_TIM1OCREFCLR = ((uint8_t)0xC0) }

Define Documentation

#define IS_COMP_OUTPUT (   OUTPUT)
Value:
(((OUTPUT) == COMP_OutputSelect_TIM2IC2) || \
                                ((OUTPUT) == COMP_OutputSelect_TIM3IC2) || \
                                ((OUTPUT) == COMP_OutputSelect_TIM1BRK) || \
                                ((OUTPUT) == COMP_OutputSelect_TIM1OCREFCLR))

Definition at line 113 of file stm8l15x_comp.h.

Referenced by COMP_Init().


Enumeration Type Documentation

Enumerator:
COMP_OutputSelect_TIM2IC2 

COMP2 output connected to TIM2 Input Capture 2

COMP_OutputSelect_TIM3IC2 

COMP2 output connected to TIM3 Input Capture 2

COMP_OutputSelect_TIM1BRK 

COMP2 output connected to TIM1 Break Input

COMP_OutputSelect_TIM1OCREFCLR 

COMP2 output connected to TIM1 OCREF Clear

Definition at line 105 of file stm8l15x_comp.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com