Changeset bc9a629 in mainline for uspace/app/usb/example.c


Ignore:
Timestamp:
2010-10-10T09:00:53Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b371844
Parents:
4bc309b
Message:

Start work on virtual USB keyboard

The virtual HC(D) is now able to serve as HCD towards central USB driver
as well as virtual HC towards virtual devices.

Each device is a separate task that communicates with VHCD through simple
protocol.

Will clean and comment the code in next revisions. Promise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usb/example.c

    r4bc309b rbc9a629  
    129129                usb_transaction_handle_t handle;
    130130
    131                 usb_target_t target = { 11 + i, 3 };
     131                usb_target_t target = { i, 0 };
    132132                int rc = usb_hcd_send_data_to_function(hcd_phone,
    133133                    target, USB_TRANSFER_ISOCHRONOUS,
Note: See TracChangeset for help on using the changeset viewer.