62#include "lib/sensors.h"
66#define ADC_WRAPPER_SUCCESS 0x00
67#define ADC_WRAPPER_ERROR (-1)
68#define ADC_WRAPPER_EXTERNAL_VREF 5000
69#define ADC_WRAPPER_EXTERNAL_VREF_CROSSVAL 3000
71#define ANALOG_GROVE_LIGHT 0x01
72#define ANALOG_PHIDGET_ROTATION_1109 0x02
73#define ANALOG_GROVE_LOUDNESS 0x03
74#define ANALOG_VAC_SENSOR 0x04
75#define ANALOG_AAC_SENSOR 0x05
77#define ADC_SENSORS "ADC sensors API"
79extern const struct sensors_sensor adc_sensors;
Header file for the Zoul ADC interface.
Header file with register declarations for the cc2538 ADC and H/W RNG.