ACP Namespace Reference

yasimavr: ACP Namespace Reference
yasimavr
Loading...
Searching...
No Matches
ACP Namespace Reference

Generic Analog Comparator definitions. More...

Classes

struct  channel_config_t
 

Enumerations

enum  Channel { Channel_Pin , Channel_AcompRef , Channel_IntRef }
 
enum  SignalId { Signal_Output , Signal_DAC }
 

Detailed Description

Generic Analog Comparator definitions.

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

Enumeration Type Documentation

◆ Channel

Enum definition for the ACP channel configuration

Enumerator
Channel_Pin 

External pin analog input.

Channel_AcompRef 

Internal DAC voltage.

Channel_IntRef 

Internal reference voltage.

◆ SignalId

Signal IDs raised by Analog Comparator models

Enumerator
Signal_Output 

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

Signal_DAC 

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