2.2 Built-in Modes
The OPAMP module includes software configurable internal connections, enabling most common op-amp modes. The different modes are briefly introduced in Table 2-1. For more details related to implementation of the built-in modes, refer to the datasheet.
| Mode | Figure | 
|---|---|
| Voltage
                                Follower
                             A unity gain amplifier. Vout = Vin  | 
                         | 
| Inverting/Non-Inverting PGA
                             A software configurable Programmable Gain Amplifier (PGA) using the internal resistor ladder. Vout = Vin (1 + R2/R1)  | 
                         | 
| Cascaded Inverting/Non-Inverting PGA
                             The OPAMPs can be internally connected in cascade to provide a larger varity of gains. Vout = Vin (1 + R2/R1)(1 + R2/R1)(1 + R2/R1)  | 
                         | 
| Differential Amplifier
                             A Voltage Follower and a non-inverting PGA connected in cascade. Vdiff = (V2 - V1) R2/R1  | 
                         | 
| Instrumentation Amplifier
                             A Differential Amplifier with input buffer amplifiers. Vout = (V2 - V1) Gain + Ref  | 
                         | 
| Transimpedance Amplifier
                             For converting current to voltage. Vout = -Iin (R1 + R2)  | 
                         | 
| Programmable Hysteresis
                             Inverting or Non-Inverting comparator with programmable hysteresis. Threshold = ±Vcc R2/R1 + Ref  | 
                         | 
