STM8L15x Standard Peripherals Drivers: COMP_Inverting_Input_Selection

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

COMP_Inverting_Input_Selection

Defines

#define IS_COMP_INVERTING_INPUT(INPUT)

Enumerations

enum  COMP_InvertingInput_Typedef {
  COMP_InvertingInput_IO = ((uint8_t)0x08), COMP_InvertingInput_VREFINT = ((uint8_t)0x10), COMP_InvertingInput_3_4VREFINT = ((uint8_t)0x18), COMP_InvertingInput_1_2VREFINT = ((uint8_t)0x20),
  COMP_InvertingInput_1_4VREFINT = ((uint8_t)0x28), COMP_InvertingInput_DAC1 = ((uint8_t)0x30), COMP_InvertingInput_DAC2 = ((uint8_t)0x38)
}

Define Documentation

#define IS_COMP_INVERTING_INPUT (   INPUT)
Value:
(((INPUT) == COMP_InvertingInput_IO) || \
                                        ((INPUT) == COMP_InvertingInput_VREFINT) || \
                                        ((INPUT) == COMP_InvertingInput_3_4VREFINT) || \
                                        ((INPUT) == COMP_InvertingInput_1_2VREFINT) || \
                                        ((INPUT) == COMP_InvertingInput_1_4VREFINT) || \
                                        ((INPUT) == COMP_InvertingInput_DAC1) || \
                                        ((INPUT) == COMP_InvertingInput_DAC2))

Definition at line 91 of file stm8l15x_comp.h.

Referenced by COMP_Init().


Enumeration Type Documentation

Enumerator:
COMP_InvertingInput_IO 

Input/Output on comparator inverting input enable.

COMP_InvertingInput_VREFINT 

VREFINT on comparator inverting input enable.

COMP_InvertingInput_3_4VREFINT 

3/4 VREFINT on comparator inverting input enable.

COMP_InvertingInput_1_2VREFINT 

1/2 VREFINT on comparator inverting input enable.

COMP_InvertingInput_1_4VREFINT 

1/4 VREFINT on comparator inverting input enable.

COMP_InvertingInput_DAC1 

DAC1 output on comparator inverting input enable.

COMP_InvertingInput_DAC2 

DAC2 output on comparator inverting input enable.

Definition at line 80 of file stm8l15x_comp.h.

STM8S Firmware Library: Overview

 

 

 

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