16FXlib
adc.h
Go to the documentation of this file.
1 
2 //*****************************************************************************
3 // Author : Christian Illy
4 // Created : 20.04.2009
5 // Revised : 06.06.2009
6 // Version : 0.1
7 // Target MCU : Fujitsu MB96300 series
8 //
9 // This program is free software: you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation, either version 3 of the License, or
12 // (at your option) any later version.
13 //
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 //
19 // You should have received a copy of the GNU General Public License
20 // along with this program. If not, see <http://www.gnu.org/licenses/>.
21 //
28 //*****************************************************************************
30 
31 #ifndef ADC_H_
32 #define ADC_H_
33 
34 #include "inttypes.h"
35 
39 extern void adc_init(void);
40 
47 extern int16_t adc_getValue(uint8_t pin);
48 
49 #endif /* ADC_H_ */
50 
unsigned char uint8_t
Definition: inttypes.h:35
int int16_t
Definition: inttypes.h:55
int16_t adc_getValue(uint8_t pin)
Definition: adc.c:35
void adc_init(void)
Definition: adc.c:29