Projet_voilier2/Drivers/Inc/ADC.h
2023-03-22 18:06:33 +01:00

14 lines
205 B
C

#ifndef MYADC_H
#define MYADC_H
#include "stm32f10x.h"
#include "GPIO.h"
typedef struct
{
ADC_TypeDef * ADC;
char channel;
} MyADC_Struct_TypeDef;
void MyADC_init(MyADC_Struct_TypeDef* myADC);
#endif