Microchip® Advanced Software Framework

OPAMP 2 configuration structure.

Configuration structure for OPAMP 2.

#include <opamp.h>

Data Fields

struct opamp_config_common config_common
 If true, the comparator will continue to sample during sleep mode when triggered. More...
 
enum opamp2_neg_mux negative_input
 Negative input MUX selection. More...
 
enum opamp2_pos_mux positive_input
 Positive input MUX selection. More...
 
enum opamp2_res1_mux r1_connection
 Resistor 1 MUX selection. More...
 

struct opamp_config_common opamp2_config::config_common

If true, the comparator will continue to sample during sleep mode when triggered.

Referenced by opamp2_get_config_defaults(), and opamp2_set_config().

enum opamp2_neg_mux opamp2_config::negative_input

Negative input MUX selection.

Referenced by opamp2_get_config_defaults(), and opamp2_set_config().

enum opamp2_pos_mux opamp2_config::positive_input

Positive input MUX selection.

Referenced by opamp2_get_config_defaults(), and opamp2_set_config().

enum opamp2_res1_mux opamp2_config::r1_connection

Resistor 1 MUX selection.

Referenced by opamp2_get_config_defaults(), and opamp2_set_config().