LUFA Library

SCSI Device LUN Capacity Structure. More...

#include <MassStorageClassHost.h>

Data Fields

uint32_t Blocks
uint32_t BlockSize

Detailed Description

SCSI capacity structure, to hold the total capacity of the device in both the number of blocks in the current LUN, and the size of each block. This structure is filled by the device when the MS_Host_ReadDeviceCapacity() function is called.

Field Documentation

◆ Blocks

uint32_t SCSI_Capacity_t::Blocks

Number of blocks in the addressed LUN of the device.

◆ BlockSize

uint32_t SCSI_Capacity_t::BlockSize

Number of bytes in each block in the addressed LUN.

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