1 /* vim: set sw=8 ts=8 si : */
2 /*************************************************************************
3 Title : C include file for analog conversion
6 ***************************************************************************/
10 /* You must enable interrupt with sei() in the main program */
11 extern void init_analog(void);
12 /* get the result of an analog conversion */
13 extern int16_t getanalogresult(uint8_t channel);
14 extern void set_target_adc_val(uint8_t item,int16_t val);
15 extern uint8_t is_current_limit(void);
16 extern int16_t get_dacval(void);