MSCbw
Default mainpageat91libusbdevicemassstorageMSCbw
Description Public Protected Private Related All Inheritance Collaboration
MSCbw
Command Block Wrapper (CBW), See Table 5.1, USB Mass Storage Class Bulk-Only Transport.
 
Struct Attributes Table
Public ( Name ) Type Description
 bCBWCBLength unsigned char
bits 0->4: bCBWCBLength
 bCBWLUN unsigned char
bits 0->3: bCBWLUN
 bmCBWFlags unsigned char
Indicates the directin of the transfer: 0x80=IN=device-to-host, 0x00=OUT=host-to-device.
 bReserved1 unsigned char
bits 0->3: bCBWLUN
 bReserved2 unsigned char
bits 0->4: bCBWCBLength
 dCBWDataTransferLength unsigned int
Number of bytes transfer.
 dCBWSignature unsigned int
'USBC' 0x43425355 (little endian)
 dCBWTag unsigned int
Must be the same as dCSWTag.
 pCommand unsigned char
Command block.
Description
Command Block Wrapper (CBW), See Table 5.1, USB Mass Storage Class Bulk-Only Transport.
The CBW shall start on a packet boundary and shall end as a short packet with exactly 31 (1Fh) bytes transferred.
 
Source
The documentation for this Class was generated from the following file:
  • MSD.h