finally find the problem of code disappearing
This commit is contained in:
9
Software/Core/Inc/adc.h
Normal file
9
Software/Core/Inc/adc.h
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef INC_ADC
|
||||
#define INC_ADC
|
||||
#include "stm32f0xx_hal_adc.h"
|
||||
|
||||
void adc_init(ADC_HandleTypeDef* hadc);
|
||||
void adc_loop(ADC_HandleTypeDef* hadc);
|
||||
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user