OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module device.usb; | 5 module device.usb; |
6 | 6 |
7 enum TransferDirection { | 7 enum TransferDirection { |
8 IN, | 8 IN, |
9 OUT, | 9 OUT, |
10 }; | 10 }; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // this transfer. | 254 // this transfer. |
255 // | 255 // |
256 // |timeout| specifies the request timeout in milliseconds. A timeout of 0 | 256 // |timeout| specifies the request timeout in milliseconds. A timeout of 0 |
257 // indicates no timeout: the request will remain pending indefinitely until | 257 // indicates no timeout: the request will remain pending indefinitely until |
258 // completed or otherwise terminated. | 258 // completed or otherwise terminated. |
259 IsochronousTransferOut(uint8 endpoint_number, | 259 IsochronousTransferOut(uint8 endpoint_number, |
260 array<array<uint8>> packets, | 260 array<array<uint8>> packets, |
261 uint32 timeout) | 261 uint32 timeout) |
262 => (TransferStatus status); | 262 => (TransferStatus status); |
263 }; | 263 }; |
OLD | NEW |