For handshake between the board and the host via. okTriggerOut endpoint, in the past I always used it in such a manner that the RTL triggers okTriggerOut first by a bit change in the 16-bit EP_trigger, and wait for the host detects the event and clear the bit by a updateTriggerOuts/IsTriggered. Now I have to questions;
- Are EP_trigger status bits cleared by updateTriggerOuts or by the following IsTriggered action ?
- What would happen if EP_trigger value in the RTL changed twice and thus triggered okTriggerOut twice before the host performs updateTriggerOuts/IsTriggered check. Does the host get the 16-bit value of EP_trigger of the first triggering even or that of the second one ? I would appreciate it if you can confirm it for me. Thanks HM