OPAMP 0 to 2 common configuration structure.
Common configuration structure for OPAMP 0 to 2.
#include <opamp.h>
Data Fields | |
bool | analog_out |
If true , OPAMP output is connected to the ADC or AC input. More... | |
enum opamp_bias_selection | bias_value |
Bias mode selection. More... | |
bool | on_demand |
If true , the OPAMPx is enabled when a peripheral is requesting the OPAMPx to be used as an input. More... | |
enum opamp_pot_mux | potentiometer_selection |
Potentiometer selection. More... | |
bool | r1_enable |
If true , R1 connected to RES1MUX. More... | |
bool | r2_out |
If true , resistor ladder to output. More... | |
bool | r2_vcc |
If true , resistor ladder to VCC More... | |
bool | run_in_standby |
If true , the OPAMPx is not stopped during sleep mode when triggered. More... | |
bool opamp_config_common::analog_out |
If true
, OPAMP output is connected to the ADC or AC input.
Referenced by _opamp_get_config_common_defaults(), configure_opamp2(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
enum opamp_bias_selection opamp_config_common::bias_value |
Bias mode selection.
Referenced by _opamp_get_config_common_defaults(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
bool opamp_config_common::on_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.
Referenced by _opamp_get_config_common_defaults(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
enum opamp_pot_mux opamp_config_common::potentiometer_selection |
Potentiometer selection.
Referenced by _opamp_get_config_common_defaults(), configure_opamp2(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
bool opamp_config_common::r1_enable |
If true
, R1 connected to RES1MUX.
Referenced by _opamp_get_config_common_defaults(), configure_non_inverting_pga_opamp0(), configure_opamp2(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
bool opamp_config_common::r2_out |
If true
, resistor ladder to output.
Referenced by _opamp_get_config_common_defaults(), configure_non_inverting_pga_opamp0(), configure_opamp2(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
bool opamp_config_common::r2_vcc |
If true
, resistor ladder to VCC
Referenced by _opamp_get_config_common_defaults(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().
bool opamp_config_common::run_in_standby |
If true
, the OPAMPx is not stopped during sleep mode when triggered.
Referenced by _opamp_get_config_common_defaults(), opamp0_set_config(), opamp1_set_config(), and opamp2_set_config().