#include "fx2types.h"
Go to the source code of this file.
Defines | |
#define | RESETFIFO(ep) |
#define | RESETFIFOS() |
Functions | |
void | readep0 (BYTE *dst, WORD len) |
Definition in file eputils.h.
#define RESETFIFO | ( | ep | ) |
Value:
NOTE you can't use these unless you define SYNCDELAY as a macro or function. The reason is that SYNCDELAY needs to be longer or shorter depending on your IFCONFIG settings. See delay.hExample:
#define SYNCDELAY() SYNCDELAY4 // SYNCDELAY4 from delay.h
#define RESETFIFOS | ( | ) |
Continually read available bytes from endpoint0 into dst, wait until more bytes are available, and loop until len bytes have been read.