blob: 586ea6258d72d5f2784a1732878c457ec25f24c4 [file] [log] [blame]
Hongwei Zhangcb66a9e2019-06-05 16:37:19 -04001/****************************************************************
2
3 ** **
4
5 ** (C)Copyright 2006-2009, American Megatrends Inc. **
6
7 ** **
8
9 ** All Rights Reserved. **
10
11 ** **
12
13 ** 5555 Oakbrook Pkwy Suite 200, Norcross, **
14
15 ** **
16
17 ** Georgia - 30093, USA. Phone-(770)-246-8600. **
18
19 ** **
20
21****************************************************************/
22/*****************************-*- ********-*-********************************/
23/* Filename: adcifc.h */
24/* Description: Library interface to adc access */
25/*****************************************************************************/
26
27#ifndef ADCIFC_H
28#define ADCIFC_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34#include "adc.h"
35
36 /** \file adcifc.h
37 * \brief Public headers for the adc interface library
38 *
39 * This library contains friendly function call interfaces for getting
40 * adc channel data. It hides all the details of playing with
41 * adc through the adc manager (opening the device file, calling ioctl,
42 * etc.)
43 */
44
45 extern int get_adc_val( int channel , unsigned short *data);
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif //ADCIFC_H