ADC Enumerations - PalouseRobosub/SUBLIBinal GitHub Wiki

ADC Enumerations

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

Enumerations:


ADC_Channel

Definition

    typedef enum {
        ADC_CH_0,
        ADC_CH_1,
        ADC_CH_2,
        ADC_CH_3,
        ADC_CH_4,
        ADC_CH_5,
        ADC_CH_9 = 9,
        ADC_CH_10,
        ADC_CH_11
    } ADC_Channel;

This enumeration is used to specify which channel we are reading from on an ADC. This enumeration is used within a node and dictates which channel of the ADC the specified node belongs to.

top