aboutsummaryrefslogtreecommitdiff
path: root/include/adc.h
blob: f865b993608b0770752274a5083710f17dbadf3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// vim:ts=4:sw=4:sts=4:expandtab
#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_ */