第一次提交
This commit is contained in:
14
Bsp/bsp_adc.h
Normal file
14
Bsp/bsp_adc.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef __BSP_ADC_h
|
||||
#define __BSP_ADC_h
|
||||
|
||||
#include "at32a423.h"
|
||||
|
||||
void rcu_config(void);
|
||||
void gpio_config(void);
|
||||
void dma_config(void);
|
||||
void adc_config(void);
|
||||
void adc_init(void);
|
||||
void read_adc_value(void);
|
||||
uint16_t GetAdcValue(uint8_t index);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user