libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
f3/opamp.h File Reference
Include dependency graph for f3/opamp.h:

Go to the source code of this file.

Macros

#define OPAMP1   (OPAMP_BASE + 0x38)
 
#define OPAMP2   (OPAMP_BASE + 0x3C)
 
#define OPAMP3   (OPAMP_BASE + 0x40)
 
#define OPAMP4   (OPAMP_BASE + 0x44)
 
#define OPAMP1_CSR   OPAMP_CSR(OPAMP1)
 
#define OPAMP2_CSR   OPAMP_CSR(OPAMP2)
 
#define OPAMP3_CSR   OPAMP_CSR(OPAMP3)
 
#define OPAMP4_CSR   OPAMP_CSR(OPAMP4)
 
#define OPAMP1_CSR_VPS_SEL_PA7   (0x0)
 
#define OPAMP1_CSR_VPS_SEL_PA5   (0x1)
 
#define OPAMP1_CSR_VPS_SEL_PA3   (0x2)
 
#define OPAMP1_CSR_VPS_SEL_PA1   (0x3)
 
#define OPAMP2_CSR_VPS_SEL_PD14   (0x0)
 
#define OPAMP2_CSR_VPS_SEL_PB14   (0x1)
 
#define OPAMP2_CSR_VPS_SEL_PB0   (0x2)
 
#define OPAMP2_CSR_VPS_SEL_PA7   (0x3)
 
#define OPAMP3_CSR_VPS_SEL_PB13   (0x0)
 
#define OPAMP3_CSR_VPS_SEL_PA5   (0x1)
 
#define OPAMP3_CSR_VPS_SEL_PA1   (0x2)
 
#define OPAMP3_CSR_VPS_SEL_PB0   (0x3)
 
#define OPAMP4_CSR_VPS_SEL_PD11   (0x0)
 
#define OPAMP4_CSR_VPS_SEL_PB11   (0x1)
 
#define OPAMP4_CSR_VPS_SEL_PA4   (0x2)
 
#define OPAMP4_CSR_VPS_SEL_PB13   (0x3)
 
#define OPAMP1_CSR_VMS_SEL_PC5   (0x0)
 
#define OPAMP1_CSR_VMS_SEL_PA3   (0x1)
 
#define OPAMP2_CSR_VMS_SEL_PC5   (0x0)
 
#define OPAMP2_CSR_VMS_SEL_PA5   (0x1)
 
#define OPAMP3_CSR_VMS_SEL_PB10   (0x0)
 
#define OPAMP3_CSR_VMS_SEL_PB2   (0x1)
 
#define OPAMP4_CSR_VMS_SEL_PB10   (0x0)
 
#define OPAMP4_CSR_VMS_SEL_PD8   (0x1)
 
#define OPAMP1_CSR_VM_SEL_PC5   (0x0)
 
#define OPAMP1_CSR_VM_SEL_PA3   (0x1)
 
#define OPAMP2_CSR_VM_SEL_PC5   (0x0)
 
#define OPAMP2_CSR_VM_SEL_PA5   (0x1)
 
#define OPAMP3_CSR_VM_SEL_PB10   (0x0)
 
#define OPAMP3_CSR_VM_SEL_PB2   (0x1)
 
#define OPAMP4_CSR_VM_SEL_PB10   (0x0)
 
#define OPAMP4_CSR_VM_SEL_PD8   (0x1)
 
#define OPAMP1_CSR_VP_SEL_PA7   (0x0)
 
#define OPAMP1_CSR_VP_SEL_PA5   (0x1)
 
#define OPAMP1_CSR_VP_SEL_PA3   (0x2)
 
#define OPAMP1_CSR_VP_SEL_PA1   (0x3)
 
#define OPAMP2_CSR_VP_SEL_PD14   (0x0)
 
#define OPAMP2_CSR_VP_SEL_PB14   (0x1)
 
#define OPAMP2_CSR_VP_SEL_PB0   (0x2)
 
#define OPAMP2_CSR_VP_SEL_PA7   (0x3)
 
#define OPAMP3_CSR_VP_SEL_PB13   (0x0)
 
#define OPAMP3_CSR_VP_SEL_PA5   (0x1)
 
#define OPAMP3_CSR_VP_SEL_PA1   (0x2)
 
#define OPAMP3_CSR_VP_SEL_PB0   (0x3)
 
#define OPAMP4_CSR_VP_SEL_PD11   (0x0)
 
#define OPAMP4_CSR_VP_SEL_PB11   (0x1)
 
#define OPAMP4_CSR_VP_SEL_PA4   (0x2)
 
#define OPAMP4_CSR_VP_SEL_PB13   (0x3)