MSDSCSI_Write10_TypeDef Struct Reference
[Msd]

SCSI Write 10 Command Descriptor Block (CDB) typedef. More...

#include <msdscsi.h>

Collaboration diagram for MSDSCSI_Write10_TypeDef:
Collaboration graph
[legend]

Data Fields

uint8_t OpCode
 Command opcode.
struct {
   uint8_t   Obsolete: 1
 Obsolete, expect any value.
   uint8_t   FuaNv: 1
 Force Unit Access non-volatile cache.
   uint8_t   Reserved1: 1
 Reserved, expect 0.
   uint8_t   Fua: 1
 Force Unit Access.
   uint8_t   Dpo: 1
 Disable Page Out.
   uint8_t   WrProtect: 3
 Write Protect field.
}; 
uint32_t Lba
 Logical Block (sector) Address.
struct {
   uint8_t   GroupNumber: 5
 Group Number field.
   uint8_t   Reserved2: 3
 Reserved, expect 0.
}; 
uint16_t TransferLength
 Number of blocks (sectors) to transfer.
uint8_t Control
 Control byte.

Detailed Description

SCSI Write 10 Command Descriptor Block (CDB) typedef.

Definition at line 267 of file msdscsi.h.


Field Documentation

Control byte.

Definition at line 286 of file msdscsi.h.

Disable Page Out.

Definition at line 276 of file msdscsi.h.

Force Unit Access.

Definition at line 275 of file msdscsi.h.

Force Unit Access non-volatile cache.

Definition at line 273 of file msdscsi.h.

Group Number field.

Definition at line 282 of file msdscsi.h.

Logical Block (sector) Address.

Definition at line 279 of file msdscsi.h.

Referenced by MSDSCSI_Write10().

Obsolete, expect any value.

Definition at line 272 of file msdscsi.h.

Command opcode.

Definition at line 269 of file msdscsi.h.

Reserved, expect 0.

Definition at line 274 of file msdscsi.h.

Reserved, expect 0.

Definition at line 283 of file msdscsi.h.

Number of blocks (sectors) to transfer.

Definition at line 285 of file msdscsi.h.

Referenced by MSDSCSI_Write10().

Write Protect field.

Definition at line 277 of file msdscsi.h.


The documentation for this struct was generated from the following file: