Comtrol eCos User Manual

Page 697

Advertising
background image

Receiving Data from the Host

There is also a utility function

usbs_start_rx

. This can be used by code that wants to manipulate

data

endpoints

directly, specifically the

complete_fn

,

complete_data

,

buffer

and

buffer_size

fields.

usbs_start_tx

just invokes a function supplied by the device driver.

593

Advertising