how to implements bulk in?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
nhchmg
Posts: 8
Joined: Mon Sep 28, 2009 3:59 am

how to implements bulk in?

Post by nhchmg » Tue Oct 06, 2009 2:44 pm

Bulk out will call usbFunctionWriteOut, buf bulk in not call usbFunctionRead, how to implements bulk in? thanks advance.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: how to implements bulk in?

Post by christian » Sat Oct 24, 2009 10:44 pm

It's the same as interrupt-in: You must call usbSetInterrupt() to send the data. The difference is only in the endpoint descriptor, not in the logic. [Except, of course, that bulk endpoints are polled MUCH faster than interrupt endpoints.]

Post Reply