MSDSCSI_Write10_TypeDef Struct Reference

SCSI Write 10 Command Descriptor Block (CDB) typedef.

Definition at line 244 of file msdscsi.h.

#include <msdscsi.h>

Data Fields

struct {
   uint8_t   Dpo: 1
   uint8_t   Fua: 1
   uint8_t   FuaNv: 1
   uint8_t   Obsolete: 1
   uint8_t   Reserved1: 1
   uint8_t   WrProtect: 3
struct {
   uint8_t   GroupNumber: 5
   uint8_t   Reserved2: 3
uint8_t Control
uint32_t Lba
uint8_t OpCode
uint16_t TransferLength

Field Documentation

uint8_t MSDSCSI_Write10_TypeDef::Control

Control byte.

Definition at line 260 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::Dpo

Disable Page Out.

Definition at line 251 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::Fua

Force Unit Access.

Definition at line 250 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::FuaNv

Force Unit Access non-volatile cache.

Definition at line 248 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::GroupNumber

Group Number field.

Definition at line 256 of file msdscsi.h.

uint32_t MSDSCSI_Write10_TypeDef::Lba

Logical Block (sector) Address.

Definition at line 254 of file msdscsi.h.

Referenced by MSDSCSI_Write10().

uint8_t MSDSCSI_Write10_TypeDef::Obsolete

Obsolete, expect any value.

Definition at line 247 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::OpCode

Command opcode.

Definition at line 245 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::Reserved1

Reserved, expect 0.

Definition at line 249 of file msdscsi.h.

uint8_t MSDSCSI_Write10_TypeDef::Reserved2

Reserved, expect 0.

Definition at line 257 of file msdscsi.h.

uint16_t MSDSCSI_Write10_TypeDef::TransferLength

Number of blocks (sectors) to transfer.

Definition at line 259 of file msdscsi.h.

Referenced by MSDSCSI_Write10().

uint8_t MSDSCSI_Write10_TypeDef::WrProtect

Write Protect field.

Definition at line 252 of file msdscsi.h.

The documentation for this struct was generated from the following file:
  • C:/HandsOn/super/hardware/kit/common/drivers/msdscsi.h