Class ACP

Nested Relationships

Nested Types

Inheritance Relationships

Derived Types

Class Documentation

class ACP

Generic ACP definitions.

Definition of enumerations, configuration structures and signal Ids used for ACP models, common to all architectures.

Subclassed by ArchAVR_ACP, ArchXT_ACP

Public Types

enum Channel

Enum definition for the ACP channel configuration

Values:

enumerator Channel_Pin

External pin analog input.

enumerator Channel_AcompRef

Internal DAC voltage.

enumerator Channel_IntRef

Internal reference voltage.

enum SignalId

Values:

enumerator Signal_Output

Raised when the output state of the comparator has change. The data is the new state.

enumerator Signal_DAC

Raised when the internal DAC value (if the peripheral has one) has changed. The data is the DAC voltage value

struct channel_config_t : public base_reg_config_t

Public Members

Channel type

Channel type.

pin_id_t pin

Pin ID used for external pin analog inputs.