I want to use GPIOs (Interrupts) which would also generate an USB message. The GPIO examples in KIT-003 sample file are without any USB connectivity (just for internal ARM9, OK so far).
I am not an expert on USB. Would it be possible to generate an USB message (from device to host) when a GPIO was triggered, the ARM9 has handled a GPIO Interrupt? Or is it necessary to poll the status via USB? Host has to request the status of GPIO, peridocially? Or could I send an asynchronous, unsolicited USB message to inform host that GPIO (something) is available to be drained?
Is there an example how to use GPIOs (Read and Write) via USB plus ARM9 where it would do something on GPIO trigger (e.g. generate the USB packet to be sent to host or prepared to be drained later by host (when "polling")?