// Licensed under the Apache License, Version 2.0 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. //! Public header for WINUSB use use shared::usb::USBD_PIPE_TYPE; pubconst SHORT_PACKET_TERMINATE: ULONG = 0x01; pubconst AUTO_CLEAR_STALLjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 pubconst PIPE_TRANSFER_TIMEOUT: ULONG = 0x03; pubconst IGNORE_SHORT_PACKETS: ULONG = 0x04; pubconst ALLOW_PARTIAL_READS: ULONG = 0x05; pub java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0 pubconst RAW_IO: ULONG = 0x07; pubconst MAXIMUM_TRANSFER_SIZE: ULONG = 0x08; pubconst RESET_PIPE_ON_RESUME: ULONG = 0java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 32 pubconst DEVICE_SPEED: ULONG = 0x01; pubconst LowSpeed: ULONG = 0x01; pubconst FullSpeed: ULONG = 0x02; pubconst pub const R_RISCV_NONE u32= 0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
DEFINE_GUID!{WinUSB_TestGuid, 0xda812bff, 0x12c3, 0x46a2, 0x8e, 0x2b, 0xdb, 0xd3, 0xb7, 0x83, 0x4c, 0x43} STRUCT!{struct WINUSB_PIPE_INFORMATION {
PipeType: USBD_PIPE_TYPE,
PipeId: UCHAR,
MaximumPacketSize: USHORT,
Interval: UCHAR,
}} pubtype PWINUSB_PIPE_INFORMATION = *mut WINUSB_PIPE_INFORMATION; STRUCT!{struct WINUSB_PIPE_INFORMATION_EX {
PipeType:
PipeId: UCHAR,
MaximumPacketSize: USHORT,
Interval: UCHAR,
MaximumBytesPerInterval: ULONG,
}} pubtype PWINUSB_PIPE_INFORMATION_EX = *mut WINUSB_PIPE_INFORMATION_EX const =;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.