How to send on Interrupt transfer more than 8 bytes ?
Posted: Wed Dec 06, 2006 8:48 pm
Hello all,
First of all - congratulations for great project (avr-usb)!
I've got one question :
How to send on interrupt transfer (IN) more then 8 bytes ?
Function usbSetInterrupt accepts only 8 bytes, but I need to send 16 bytes simultaneously on one IN endpoint poll.
I need this, because of my HID descriptor - full datagram fits 16 bytes.
It is possible to send 0 bytes at the interrupt and call somehow usbFunctionRead ?
I've migrated my project from PIC usb capable devices, where it was possible to set 16 byte payload for IN-interrupt-endpoint (low-speed device), and the device-usb-driver sends that buffer succesfully on each interrupt.
First of all - congratulations for great project (avr-usb)!
I've got one question :
How to send on interrupt transfer (IN) more then 8 bytes ?
Function usbSetInterrupt accepts only 8 bytes, but I need to send 16 bytes simultaneously on one IN endpoint poll.
I need this, because of my HID descriptor - full datagram fits 16 bytes.
It is possible to send 0 bytes at the interrupt and call somehow usbFunctionRead ?
I've migrated my project from PIC usb capable devices, where it was possible to set 16 byte payload for IN-interrupt-endpoint (low-speed device), and the device-usb-driver sends that buffer succesfully on each interrupt.