On Thu, 2002-11-28 at 00:43, Murthy Subramanya wrote:

> I have a small question on USB, since USB is a polled bus,
> the Host always polles the devices for interrupts.  If  I develop a
> User Interface on the Device side and allow the user to select the
> options on the UI  and send the user inputs via Interrupt transfers
> (As Interrupt transfers are polled by Host every 10 msec). Is this
> feasible,  to implement.

That's how it is supposed to work. If your USB keyboard works, then your
new device should work too, right?

> If so,  what are the software layers to be implemented on Host side
> and on the Device side.

Host: nothing (use HID driver that is already there, see keyboard)

Device: implement the HID there. You might want to use some premade
chips (for USB keyboards and other devices) that already have the USB
hardware and HID firmware inside. Of course, this is possible if you can
specify and make the hardware. If you already have some (other) hardware
then I guess you have to do what you have to do.

Dmitri

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to