#ifndef _POTI_H_ #define _POTI_H_ #include #define POTI_COUNT (3) #define POTI_ADC_CHANNELS 0, 1, 4 struct poti_values { uint16_t current_pot_vals[POTI_COUNT]; uint8_t pot_vals_filtered[POTI_COUNT]; }; void poti_init_adc(void); void poti_get_values(struct poti_values *out_val); #endif /* _POTI_H_ */