11.6.1.4 Struct opamp_config_common

Common configuration structure for OPAMP 0 to 2.

Table 11-4. Members
TypeNameDescription
boolanalog_out

If true, OPAMP output is connected to the ADC or AC input

enum opamp_bias_selectionbias_value

Bias mode selection

boolon_demand

If true, the OPAMPx is enabled when a peripheral is requesting the OPAMPx to be used as an input. The OPAMPx is disabled if no peripheral is requesting it as an input.

enum opamp_pot_muxpotentiometer_selection

Potentiometer selection

boolr1_enable

If true, R1 connected to RES1MUX

boolr2_out

If true, resistor ladder to output

boolr2_vcc

If true, resistor ladder to VCC

boolrun_in_standby

If true, the OPAMPx is not stopped during sleep mode when triggered