
Defines | |
| #define | ADC_MUL 1 |
| This value multiplies mesured value from ADC. | |
| #define | ADC_OFFSET 0 |
| This valueis added to mesured value from ADC. | |
| #define | ADC_VPB_DIV 255 |
| VPB divisor for ADC FIXME. | |
Functions | |
| void | init_adc (unsigned rx_isr_vect) |
| inicializes ADC lines and starts converion (use ISR) | |
Variables | |
| volatile unsigned int | adc_val [4] |
| measured ADC values | |
| #define ADC_MUL 1 |
This value multiplies mesured value from ADC.
| #define ADC_OFFSET 0 |
This valueis added to mesured value from ADC.
| #define ADC_VPB_DIV 255 |
VPB divisor for ADC FIXME.
| void init_adc | ( | unsigned | rx_isr_vect | ) |
inicializes ADC lines and starts converion (use ISR)
| rx_isr_vect | ISR vector |
inicializes ADC lines and starts converion (use ISR)
Automaticly starts the conversion of first channel on given conversion frequency.
| volatile unsigned int adc_val[4] |
measured ADC values
1.7.1