1.2.1.10 SYS_MEDIA_GEOMETRY Struct
C
typedef struct
{
/* Properties of a Media. For a device, if multiple properties are
applicable, they can be ORed */
SYS_MEDIA_PROPERTY mediaProperty;
/* Number of Read Regions */
uint32_t numReadRegions;
/* Number of Write Regions */
uint32_t numWriteRegions;
/* Number of Erase Regions */
uint32_t numEraseRegions;
/* Pointer to the table containing the geometry information */
SYS_MEDIA_REGION_GEOMETRY *geometryTable;
} SYS_MEDIA_GEOMETRY;
Summary
Contains all the geometrical information of a media device.
Description
This structure contains all the geometrical information of a media device. the structure also has property of the media like media is one time programmable (OTP) or Read Only etc.
Remarks
A memory device can have multiple erase block regions. Sum of all the regions is the total memory size of the device.
