Knowing data arrival of IN endpoint in the host application for FX1/FX2/FX2LP

Version 1
    Question: How can I know when data arrives at IN endpoint so that the host application can read it?



    Device cannot itself initiate any transfers. Host has to check the status of the IN Endpoint if there is a data available to be read. One way is to send a vendor command to read the byte count of the IN endpoint on a regular interval. An example is attached.