URL
https://opencores.org/ocsvn/usb_fpga_1_2/usb_fpga_1_2/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 5 |
Line 19... |
Line 19... |
#include[ztex-conf.h] // Loads the configuration macros, see ztex-conf.h for the available macros
|
#include[ztex-conf.h] // Loads the configuration macros, see ztex-conf.h for the available macros
|
#include[ztex-utils.h] // include basic functions
|
#include[ztex-utils.h] // include basic functions
|
|
|
// 1024 (instead of 512) byte bulk transfers.
|
// 1024 (instead of 512) byte bulk transfers.
|
// According to USB standard they are invalid but usually supported and 25% faster.
|
// According to USB standard they are invalid but usually supported and 25% faster.
|
//#define[fastmode]
|
#define[fastmode]
|
|
|
#ifdef[fastmode]
|
#ifdef[fastmode]
|
// configure endpoint 2, in, quad buffered, 1024 bytes, interface 0
|
// configure endpoint 2, in, quad buffered, 1024 bytes, interface 0
|
EP_CONFIG(2,0,BULK,IN,1024,4);
|
EP_CONFIG(2,0,BULK,IN,1024,4);
|
#else
|
#else
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.