Struct ArchAVR_ACPConfig

Nested Relationships

Nested Types

Struct Documentation

struct ArchAVR_ACPConfig

Configuration structure for ArchAVR_ACP.

Public Members

std::vector<mux_config_t> mux_pins

List of the mux options for the negative input.

pin_id_t pos_pin

Positive input pin ID.

pin_id_t neg_pin

Negative input pin ID.

regbit_t rb_disable

Regbit for the disable bit (ACD)

regbit_t rb_mux_enable

Regbit for the mux enable bit (ACME)

regbit_t rb_adc_enable

Regbit for the ADC enable bit (ADEN)

regbit_t rb_mux

Regbit for the mux select field (ADMUX)

regbit_t rb_bandgap_select

Regbit for the bandgap select bit (ACBG)

regbit_t rb_int_mode

Regbit for the interrupt mode select field (ACIS)

regbit_t rb_output

Regbit for the output bit (ACO)

regbit_t rb_int_enable

Regbit for the interrupt enable bit (ACIE)

regbit_t rb_int_flag

Regbit for the interrupt flag (ACI)

int_vect_t iv_cmp

Vector index for the interrupt.

struct mux_config_t : public base_reg_config_t

Public Members

pin_id_t pin