blob: 586ea6258d72d5f2784a1732878c457ec25f24c4 [file] [log] [blame]
/****************************************************************
** **
** (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