tp/drivers/Driver_ADC.h

12 lines
No EOL
275 B
C

#ifndef MYADC_H
#define MYADC_H
#include "stm32f10x.h"
typedef struct {
ADC_TypeDef * ADC; // Pointeur vers la structure de regitre GPIO défini dans stm32f10x_gpio.h
char GPIO_Pin; //numero de 0 a 15
char GPIO_Conf; // voir ci dessous
} MyADC_Struct_TypeDef;
#endif