#ifndef _AD7652cf_h
#define _AD7652cf_h 1
/**HEADER********************************************************************
* 
* Copyright (c) 2010 Avnet Japan Co.,Ltd (NIKE Borad Project.)
* All Rights Reserved
*
*************************************************************************** 
*
* $FileName: AD7652_mcf52xx.h$
* $Version : 0.1.0.0$
* $Date    : Jan-29-2010$
*
* Comments:
*
*
*END************************************************************************/

/*--------------------------------------------------------------------------*/
/*
**                    DATATYPE DECLARATIONS
*/

/*
** MCF_AD7652_INIT_STRUCT
**
** This structure defines the initialization parameters to be used
** when a serial port is initialized.
*/
typedef struct mcf52xx_AD7652_init_struct
{
  	/* The clock speed of CPU */
//   uint_32 CLOCK_SPEED;

	/* The value for the frequency divider */
//	uint_32 QSPI_DIV;

	/* The device to initialize */
//	uint_32 DEVICE;

	/* The QSPI speed */
	uint_32 BAUD_RATE;

	/* The maximum size of each receive */
	uint_32 RX_BUFFER_SIZE;

	/* The maximum size of each transmit */
//	uint_32 TX_BUFFER_SIZE;

	/* The interrupt vector to use if interrupt driven */
//	uint_32 VECTOR;

	/* The QSPI Chip Select */
//	uint_32 CHIP_SELECT;

	/* The QSPI transfer mode (use some of definitions QSPI_TRANSFER_MODEx) */
//	uint_32 TRANSFER_MODE;

} MCF52XX_AD7652_INIT_STRUCT, _PTR_ MCF52XX_AD7652_INIT_STRUCT_PTR;


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

#ifdef __cplusplus
extern "C" {
#endif

extern uint_32 _mcf52xx_AD7652_install(char_ptr, pointer);

#ifdef __cplusplus
}
#endif

#endif

/* EOF */

