STM32F10x library
adc.h
1 #ifndef MAT_ADC_H
2 #define MAT_ADC_H
3 
4 #include <inttypes.h>
5 
6 void adc_init(uint32_t ench, uint8_t navg);
7 void adc_startnext(void);
8 void adc_startfree(void);
9 void adc_stopfree(void);
10 uint16_t adc_get(const uint8_t ch);
11 
12 #endif
void adc_startnext(void)
Start next conversion.
Definition: adc.c:69
void adc_stopfree(void)
Stop free running ADC conversions.
Definition: adc.c:99
uint16_t adc_get(const uint8_t ch)
Get a channel's averaged ADC value.
Definition: adc.c:109
void adc_startfree(void)
Start free running ADC conversions.
Definition: adc.c:89
void adc_init(uint32_t ench, uint8_t navg)
Init ADC.
Definition: adc.c:25