Macros
Collaboration diagram for OPAMP_InvertingInput:

Macros

#define IS_OPAMP_INVERTING_INPUT(INPUT)
 
#define OPAMP_InvertingInput_IO1   ((uint32_t)0x00000000)
 
#define OPAMP_InvertingInput_IO2   OPAMP_CSR_VMSEL_0
 
#define OPAMP_InvertingInput_PGA   OPAMP_CSR_VMSEL_1
 
#define OPAMP_InvertingInput_Vout   OPAMP_CSR_VMSEL
 

Detailed Description

Macro Definition Documentation

#define IS_OPAMP_INVERTING_INPUT (   INPUT)
Value:
(((INPUT) == OPAMP_InvertingInput_IO1) || \
((INPUT) == OPAMP_InvertingInput_IO2) || \
((INPUT) == OPAMP_InvertingInput_PGA) || \
#define OPAMP_InvertingInput_IO2
#define OPAMP_InvertingInput_PGA
#define OPAMP_InvertingInput_Vout
#define OPAMP_InvertingInput_IO1

Definition at line 102 of file stm32f30x_opamp.h.

#define OPAMP_InvertingInput_IO1   ((uint32_t)0x00000000)

IO1 (PC5 for OPAMP1 and OPAMP2, PB10 for OPAMP3 and OPAMP4) connected to OPAMPx inverting input

Definition at line 93 of file stm32f30x_opamp.h.

#define OPAMP_InvertingInput_IO2   OPAMP_CSR_VMSEL_0

IO2 (PA3 for OPAMP1, PA5 for OPAMP2, PB2 for OPAMP3, PD8 for OPAMP4) connected to OPAMPx inverting input

Definition at line 96 of file stm32f30x_opamp.h.

#define OPAMP_InvertingInput_PGA   OPAMP_CSR_VMSEL_1

Resistor feedback output connected to OPAMPx inverting input (PGA mode)

Definition at line 99 of file stm32f30x_opamp.h.

#define OPAMP_InvertingInput_Vout   OPAMP_CSR_VMSEL

Vout connected to OPAMPx inverting input (follower mode)

Definition at line 100 of file stm32f30x_opamp.h.



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