26 lines
388 B
C
26 lines
388 B
C
#ifndef __ADC_H__
|
|
#define __ADC_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "stm32g4xx_hal.h"
|
|
#include "stm32g4xx_hal_adc.h"
|
|
|
|
extern ADC_HandleTypeDef hadc1;
|
|
extern ADC_HandleTypeDef hadc2;
|
|
extern DMA_HandleTypeDef hdma_adc1;
|
|
extern DMA_HandleTypeDef hdma_adc2;
|
|
|
|
void MX_ADC1_Init(void);
|
|
void MX_ADC2_Init(void);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|