#ifndef ISP1761_CONFIG_H_
#define ISP1761_CONFIG_H_

#include "terasic_includes.h"

// hw config: 32-bit or 16-bit data bus
//#define DATA_BUS_16BIT_WIDTH

//========== device configuration
// config port 1 as: host or device
#define PORT1_CONFIG_AS_DEVICE
#define xDEVICE_INT_ENALBED  // interrupt not implemented yet
#define xxDEVICE_FORCE_FULL_SPEED  // do not remove it becuase high-speed not stable  



//===== host config =====
// enable/disable DMA support
//#define HCD_CONFIG_DMA

//
bool ISP1761_Init(void);
void ISP1761_HcDisableIrq(void);


#endif /*ISP1761_CONFIG_H_*/
