| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
SCSI_Capacity_t Struct Reference
Mass Storage Class Host Mode Driver

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

uint32_t SCSI_Capacity_t::Blocks

Number of blocks in the addressed LUN of the device.

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:

- Drivers/USB/Class/Host/MassStorageClassHost.h