#ifndef _AD7652_h
#define _AD7652_h 1
/**HEADER********************************************************************
* 
* Copyright (c) 2010 Avnet Japan Co.,Ltd (NIKE Borad Project.)
* All Rights Reserved
*
*************************************************************************** 
*
* $FileName: AD7652.h$
* $Version : 0.1.0.0$
* $Date    : Jan-29-2010$
*
* Comments:
*
*   This file contains the definitions of constants and structures
*   required for the QSPI driver
*
*END************************************************************************/

#include "ioctl.h"

/* 
** IOCTL calls specific to AD7652  
*/
#define IO_IOCTL_AD7652_START                			_IO(IO_TYPE_AD7652,0x11)
#define IO_IOCTL_AD7652_STOP                			_IO(IO_TYPE_AD7652,0x12)
#define IO_IOCTL_AD7652_SET_CALLBACK					_IO(IO_TYPE_AD7652,0x13)
#define IO_IOCTL_AD7652_SET_BPS							_IO(IO_TYPE_AD7652,0x14)
#define IO_IOCTL_AD7652_GET_BPS							_IO(IO_TYPE_AD7652,0x15)


/*--------------------------------------------------------------------------*/
/* 
**                        FUNCTION PROTOTYPES
*/

#ifdef __cplusplus
extern "C" {
#endif

extern _mqx_uint _io_AD7652_install(
                   char_ptr,
                   _mqx_uint(_CODE_PTR_)(pointer, char _PTR_),
                   _mqx_uint(_CODE_PTR_)(pointer, pointer),
                   _mqx_int(_CODE_PTR_)(pointer, char _PTR_, _mqx_int),
                   _mqx_int(_CODE_PTR_)(pointer, char _PTR_, _mqx_int),
                   _mqx_int(_CODE_PTR_)(pointer, _mqx_uint, _mqx_uint_ptr),
                   pointer);

#ifdef __cplusplus
}
#endif

#endif

/* EOF */
