c

Dependencies:   mbed

Committer:
Joelpallent
Date:
Thu May 31 19:30:01 2018 +0000
Revision:
0:7088bc4c9949
c

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Joelpallent 0:7088bc4c9949 1 #ifndef _ADC_H
Joelpallent 0:7088bc4c9949 2 #define _ADC_H
Joelpallent 0:7088bc4c9949 3 #include <stm32f4xx.h>
Joelpallent 0:7088bc4c9949 4
Joelpallent 0:7088bc4c9949 5 #define ADC_input_port GPIOC
Joelpallent 0:7088bc4c9949 6 #define ADC_input_pin 0
Joelpallent 0:7088bc4c9949 7 #define ADC_Channel 10
Joelpallent 0:7088bc4c9949 8
Joelpallent 0:7088bc4c9949 9 void init_ADC(void);
Joelpallent 0:7088bc4c9949 10 unsigned short read_adc(void);
Joelpallent 0:7088bc4c9949 11 #endif
Joelpallent 0:7088bc4c9949 12