adc.h 155 B

123456789
  1. #ifndef __ADC_H__
  2. #define __ADC_H__
  3. #include "stm32f10x.h"
  4. void adc_init(void);
  5. u16 get_adc(uint8_t channel, uint8_t rank, uint8_t sample_time);
  6. #endif