Data Fields
scsi_cdb_write_10 Struct Reference

A SCSI "WRITE (10)" CDB. More...

#include <scsi.h>

Data Fields

uint8_t opcode
 Opcode (0x2a) More...
uint8_t flags
 Flags. More...
uint32_t lba
 Start address. More...
uint8_t group
 Group number. More...
uint16_t len
 Transfer length. More...
uint8_t control
 Control byte. More...

Detailed Description


Definition at line 96 of file scsi.h.

Field Documentation

◆ opcode

uint8_t scsi_cdb_write_10::opcode

Opcode (0x2a)

Definition at line 98 of file scsi.h.

◆ flags

uint8_t scsi_cdb_write_10::flags


Definition at line 100 of file scsi.h.

◆ lba

uint32_t scsi_cdb_write_10::lba

Start address.

This is a logical block number, in big-endian order.

Definition at line 105 of file scsi.h.

◆ group

uint8_t scsi_cdb_write_10::group

Group number.

Definition at line 107 of file scsi.h.

◆ len

uint16_t scsi_cdb_write_10::len

Transfer length.

This is a logical block count, in big-endian order.

Definition at line 112 of file scsi.h.

◆ control

uint8_t scsi_cdb_write_10::control

Control byte.

Definition at line 114 of file scsi.h.

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