1.1.3.4.33 DRV_MEMORY_INIT Struct

C

typedef struct
{
    /* Attached Memory Device index */
    SYS_MODULE_INDEX memDevIndex;

    /* Flash Device functions */
    const DRV_MEMORY_DEVICE_INTERFACE *memoryDevice;

    /* Flag to indicate if attached memory device configured to interrupt mode */
    bool isMemDevInterruptEnabled;

    /* Number of milliseconds to poll for transfer status check */
    uint32_t memDevStatusPollUs;

    /* FS enabled */
    bool isFsEnabled;

    /* Memory Device Type */
    uint8_t deviceMediaType;

    /* Erase Write Buffer pointer */
    uint8_t *ewBuffer;

    /* Memory pool for Client Objects */
    uintptr_t clientObjPool;

    /* Pointer to Buffer Objects array */
    uintptr_t bufferObj;

    /* Buffer Queue Size */
    size_t queueSize;

    /* Maximum number of clients */
    size_t nClientsMax;

} DRV_MEMORY_INIT;

Summary

Memory Driver Initialization Data

Description

This data type defines the data required to initialize the Memory Driver.

Remarks

Not all initialization features are available for all devices. Please refer to the attached media device capabilities.