adcapp

This is a tool to read all the available ADC channels.
A raw value is read from each of the channels.

Updated LICENSE file to cover all source files and
removed file specific licenses at the top of some
of the files.

Signed-off-by: Hongwei Zhang <hongweiz@ami.com>
Change-Id: I3c1b389c0d91bccfc3ee93bccfe04137d7ea9960
Signed-off-by: Kiran Kumar <kirank@ami.com>
diff --git a/hongweiz/adcapp/src/adcifc.h b/hongweiz/adcapp/src/adcifc.h
new file mode 100644
index 0000000..586ea62
--- /dev/null
+++ b/hongweiz/adcapp/src/adcifc.h
@@ -0,0 +1,51 @@
+/****************************************************************
+
+ **                                                            **
+
+ **    (C)Copyright 2006-2009, American Megatrends Inc.        **
+
+ **                                                            **
+
+ **            All Rights Reserved.                            **
+
+ **                                                            **
+
+ **        5555 Oakbrook Pkwy Suite 200, Norcross,             **
+
+ **                                                            **
+
+ **        Georgia - 30093, USA. Phone-(770)-246-8600.         **
+
+ **                                                            **
+
+****************************************************************/
+/*****************************-*- ********-*-********************************/
+/* Filename:    adcifc.h                                                    */
+/* Description: Library interface to adc access                             */
+/*****************************************************************************/
+
+#ifndef ADCIFC_H
+#define ADCIFC_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "adc.h"
+
+	/** \file adcifc.h
+	 *  \brief Public headers for the adc interface library
+	 *  
+	 *  This library contains friendly function call interfaces for getting 
+	 *  adc channel data.  It hides all the details of playing with
+	 *  adc through the adc manager (opening the device file, calling ioctl,
+	 *  etc.)
+	 */
+
+	extern  int get_adc_val( int channel , unsigned short *data);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //ADCIFC_H