RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros

Macros

#define OPAMP_PGA_GAIN_2_OR_MINUS_1   0x00000000U
 
#define OPAMP_PGA_GAIN_4_OR_MINUS_3   OPAMP_CSR_PGGAIN_0
 
#define OPAMP_PGA_GAIN_8_OR_MINUS_7   OPAMP_CSR_PGGAIN_1
 
#define OPAMP_PGA_GAIN_16_OR_MINUS_15   (OPAMP_CSR_PGGAIN_0 | OPAMP_CSR_PGGAIN_1)
 

Detailed Description

Macro Definition Documentation

◆ OPAMP_PGA_GAIN_16_OR_MINUS_15

#define OPAMP_PGA_GAIN_16_OR_MINUS_15   (OPAMP_CSR_PGGAIN_0 | OPAMP_CSR_PGGAIN_1)

PGA gain could be 16 or -15

◆ OPAMP_PGA_GAIN_2_OR_MINUS_1

#define OPAMP_PGA_GAIN_2_OR_MINUS_1   0x00000000U

PGA gain could be 2 or -1

◆ OPAMP_PGA_GAIN_4_OR_MINUS_3

#define OPAMP_PGA_GAIN_4_OR_MINUS_3   OPAMP_CSR_PGGAIN_0

PGA gain could be 4 or -3

◆ OPAMP_PGA_GAIN_8_OR_MINUS_7

#define OPAMP_PGA_GAIN_8_OR_MINUS_7   OPAMP_CSR_PGGAIN_1

PGA gain could be 8 or -7