Analog Comparator Enumerations - PalouseRobosub/SUBLIBinal GitHub Wiki

Comparator Enumerations

This page contains information about the comparator enumerations used within SUBLIBinal. Please select the enumeration from the list below to be redirected to the appropriate documentation.

Enumerations


Comparator_Channel

Definition

typedef enum {
   COMP_CH_1,
   COMP_CH_2,
   COMP_CH_3
} Comparator_Channel;

This enumeration is used to specify which comparator channel the user wishes to configure for use. All three comparator channels may be in use simultaneously, but they will all be forced to use the same voltage reference.

top