TLocalDriveCapsV4 Class Reference

class TLocalDriveCapsV4 : public TLocalDriveCapsV3

Extension to Capabilities fields mainly to support Nand flash

Member Functions Documentation

MediaSizeInBytes()

TInt64 MediaSizeInBytes()[inline]

Member Data Documentation

union TLocalDriveCapsV4::@28 @29

union TLocalDriveCapsV4::@28@29

union TLocalDriveCapsV4::@30 @31

union TLocalDriveCapsV4::@30@31

TInt iEffectiveBlks

TInt iEffectiveBlks

Effective usable blocks

TInt iNumBytesMain

TInt iNumBytesMain
Number of Bytes in the main array (for NAND flash)
  • The entire capacity of NAND media can be calculated using: capacity = iNumOfBlocks * iNumPagesPerBlock * iNumBytesMain

TInt iNumBytesSpare

TInt iNumBytesSpare

Number of Bytes in the spare array

TInt iNumOfBlocks

TInt iNumOfBlocks
Number of blocks (for NAND flash)
  • The entire capacity of NAND media can be calculated using: capacity = iNumOfBlocks * iNumPagesPerBlock * iNumBytesMain

TInt iNumPagesPerBlock

TInt iNumPagesPerBlock

Number of pages per block

TUint32 iNumberOfSectors

TUint32 iNumberOfSectors
Number of sectors (for other types of media)
  • The entire capacity of sector based media can be calculated using: capacity = iNumberOfSectors * iSectorSizeInBytes

TUint32 iSectorSizeInBytes

TUint32 iSectorSizeInBytes
Number of Bytes in a sector (for other types of media)
  • The entire capacity of sector based media can be calculated using: capacity = iNumberOfSectors * iSectorSizeInBytes

TInt iStartPage

TInt iStartPage

Start page of drive