#ifndef ADCHIL_H #define ADCHIL_H typedef enum { ADC_SUCCESS = 0, ADC_FAIL = 1, // further errorcodes can be added here } adcresult_t; #endif