How to clear the data in the IN endpoint? | Cypress Semiconductor
How to clear the data in the IN endpoint?
Hi all, I cannot find the effective way to flush the data in the IN endpoint of Cy68013a.
I set the EP2IN: bulk mode, 512byte x 4. Everytime I want to read the incoming data, I have to read out the remain 2k byte data in the endpoint first. Is there any to flush the remain data? So I can get the data I want without reading the first 2k byte data.