1.1.8.4.18 DRV_SFDP_PLIB_INTERFACE Structure

1.1.8.4.18 C

typedef struct
{
    /* Pointer to write command to QSPI slave device. */
    DRV_SFDP_PLIB_CMD_WRITE CommandWrite;

    /* Pointer to read particular register of QSPI slave device. */
    DRV_SFDP_PLIB_REG_READ RegisterRead;

    /* Pointer to write to particular register of QSPI slave device. */
    DRV_SFDP_PLIB_REG_WRITE RegisterWrite;

    /* Pointer to read from the specified address of the flash device. */
    DRV_SFDP_PLIB_MEM_READ MemoryRead;

    /* Pointer to write to the specified address of the flash device. */
    DRV_SFDP_PLIB_MEM_WRITE MemoryWrite;

} DRV_SFDP_PLIB_INTERFACE;

1.1.8.4.18 Summary

SFDP Driver PLIB Interface Structure.

1.1.8.4.18 Description

This structure contains pointers to the PLIB API functions that the SFDP driver uses to communicate with the Flash device through the peripheral library. The API set holds the function names available at the PLIB level for the corresponding functionality.

1.1.8.4.18 Members

MemberDescription
CommandWritePointer to write command to QSPI client device
RegisterReadPointer to read particular register of QSPI client device
RegisterWritePointer to write to particular register of QSPI client device
MemoryReadPointer to read from the specified address of the Flash device
MemoryWritePointer to write to the specified address of the Flash device

1.1.8.4.18 Remarks

This structure must be populated with valid PLIB function pointers before initializing the SFDP driver. Each member should point to the corresponding PLIB function that provides the required functionality.