Software testing lpcanvca.h
[LPC2xxx_and_RobotSpejbl.git] / app / eb_ebb / adc.h
blob056874fa6b311aa61edc8c1c8d9a473da5c0893b
1 #ifndef ADC_H
2 #define ADC_H
5 #define ADC_MUL 1 ///< This value multiplies mesured value from ADC
6 #define ADC_OFFSET 0 ///< This valueis added to mesured value from ADC
8 #define ADC_VPB_DIV 255 ///< VPB divisor for ADC FIXME
13 volatile unsigned int adc_val[4]; ///< measured ADC values
19 /** inicializes ADC lines and starts converion (use ISR)
20 * @param rx_isr_vect ISR vector
22 void init_adc(unsigned rx_isr_vect);
24 #endif