aboutsummaryrefslogtreecommitdiff
path: root/include/adc.h
blob: 86429a11aaa9a2dccc2d90e0670af675e9d93c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <avr/io.h>
#include <avr/interrupt.h>
#include <stdint.h>

#ifndef _IOE_ADC_H_
#define _IOE_ADC_H_
#ifdef CONFIG_IOE_ADC
#ifndef MCUSUPPORT_ADC
#error "No ADC support for your mcu. Probably just not implemented yet."
#endif

int8_t ioe_adc(uint8_t input);

#endif /* CONFIG_IOE_ADC */
#endif /* _IOE_ADC_H_ */