/***************************************************************************** * Copyright (C) 2008 * ProbeStar Telematics, LLC * All Rights Reserved. Proprietary and Confidential. *============================================================================ * PIC 10-bit A/D *---------------------------------------------------------------------------- *****************************************************************************/ /* prevent multiple inclusions */ #ifndef _ADC_H_ #define _ADC_H_ /***************************************************************************** * includes *****************************************************************************/ #include "system.h" #include "types.h" /***************************************************************************** * defines *****************************************************************************/ /***************************************************************************** * macros *****************************************************************************/ /***************************************************************************** * structs & typedefs *****************************************************************************/ /***************************************************************************** * global constants *****************************************************************************/ /***************************************************************************** * global variables *****************************************************************************/ /***************************************************************************** * C function prototypes *****************************************************************************/ /* export C functions to C++ */ #ifdef __cplusplus extern "C" { #endif // Internal Analog extern void AdInit( void ); extern WORD AdRead( BYTE byCh ); extern void AdWrite( BYTE byCh, WORD wData ); #ifdef __cpluscplus } #endif #endif