Macros
Collaboration diagram for COMP_InvertingInput:

Macros

#define COMP_InvertingInput_1_2VREFINT   COMP_CSR_COMPxINSEL_0
 
#define COMP_InvertingInput_1_4VREFINT   ((uint32_t)0x00000000)
 
#define COMP_InvertingInput_3_4VREFINT   COMP_CSR_COMPxINSEL_1
 
#define COMP_InvertingInput_DAC1OUT1   COMP_CSR_COMPxINSEL_2
 
#define COMP_InvertingInput_DAC1OUT2   ((uint32_t)0x00000050)
 
#define COMP_InvertingInput_DAC2OUT1   COMP_CSR_COMPxINSEL_3
 
#define COMP_InvertingInput_IO1   ((uint32_t)0x00000060)
 
#define COMP_InvertingInput_IO2   COMP_CSR_COMPxINSEL
 
#define COMP_InvertingInput_VREFINT   ((uint32_t)0x00000030)
 
#define IS_COMP_INVERTING_INPUT(INPUT)
 

Detailed Description

Macro Definition Documentation

#define COMP_InvertingInput_1_2VREFINT   COMP_CSR_COMPxINSEL_0

1/2 VREFINT connected to comparator inverting input

Definition at line 115 of file stm32f30x_comp.h.

#define COMP_InvertingInput_1_4VREFINT   ((uint32_t)0x00000000)

1/4 VREFINT connected to comparator inverting input

Definition at line 114 of file stm32f30x_comp.h.

#define COMP_InvertingInput_3_4VREFINT   COMP_CSR_COMPxINSEL_1

3/4 VREFINT connected to comparator inverting input

Definition at line 116 of file stm32f30x_comp.h.

#define COMP_InvertingInput_DAC1OUT1   COMP_CSR_COMPxINSEL_2

DAC1_OUT1 (PA4) connected to comparator inverting input

Definition at line 118 of file stm32f30x_comp.h.

#define COMP_InvertingInput_DAC1OUT2   ((uint32_t)0x00000050)

DAC1_OUT2 (PA5) connected to comparator inverting input

Definition at line 119 of file stm32f30x_comp.h.

#define COMP_InvertingInput_DAC2OUT1   COMP_CSR_COMPxINSEL_3

DAC2_OUT1 (PA6) connected to comparator inverting input

Definition at line 131 of file stm32f30x_comp.h.

#define COMP_InvertingInput_IO1   ((uint32_t)0x00000060)

I/O1 (PA0 for COMP1, PA2 for COMP2, PD15 for COMP3, PE8 for COMP4, PD13 for COMP5, PD10 for COMP6, PC0 for COMP7) connected to comparator inverting input

Definition at line 121 of file stm32f30x_comp.h.

#define COMP_InvertingInput_IO2   COMP_CSR_COMPxINSEL

I/O2 (PB12 for COMP3, PB2 for COMP4, PB10 for COMP5, PB15 for COMP6) connected to comparator inverting input

Definition at line 127 of file stm32f30x_comp.h.

#define COMP_InvertingInput_VREFINT   ((uint32_t)0x00000030)

VREFINT connected to comparator inverting input

Definition at line 117 of file stm32f30x_comp.h.

#define IS_COMP_INVERTING_INPUT (   INPUT)
Value:
((INPUT) == COMP_InvertingInput_VREFINT) || \
((INPUT) == COMP_InvertingInput_DAC1OUT1) || \
((INPUT) == COMP_InvertingInput_DAC1OUT2) || \
((INPUT) == COMP_InvertingInput_IO1) || \
((INPUT) == COMP_InvertingInput_IO2) || \
#define COMP_InvertingInput_VREFINT
#define COMP_InvertingInput_IO2
#define COMP_InvertingInput_DAC1OUT2
#define COMP_InvertingInput_DAC1OUT1
#define COMP_InvertingInput_IO1
#define COMP_InvertingInput_1_4VREFINT
#define COMP_InvertingInput_DAC2OUT1
#define COMP_InvertingInput_1_2VREFINT
#define COMP_InvertingInput_3_4VREFINT

Definition at line 133 of file stm32f30x_comp.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30