10 lines
No EOL
287 B
C
10 lines
No EOL
287 B
C
#ifndef MYADC_H
|
|
#define MYADC_H
|
|
#include <stm32f10x.h>
|
|
|
|
void MyADC_Init(ADC_TypeDef *ADC, char channel);
|
|
void start_conversion(ADC_TypeDef *ADC);
|
|
void MyADC_ActiveIT(ADC_TypeDef *ADC, int prio, void (*IT_function) (void));
|
|
//void Set_samp_ts(ADC_TypeDef *ADC, int Rain);
|
|
|
|
#endif |