#ifndef AP_ADC_ADS7844_H #define AP_ADC_ADS7844_H #define bit_set(p,m) ((p) |= ( 1< class AP_ADC_ADS7844 : public AP_ADC { public: AP_ADC_ADS7844(); // Constructor void Init(); // Read 1 sensor value uint16_t Ch(unsigned char ch_num); // Read 6 sensors at once uint32_t Ch6(const uint8_t *channel_numbers, uint16_t *result); private: }; #endif