DRV_MIIM_OPERATION_CALLBACK Type

C

typedef void (* DRV_MIIM_OPERATION_CALLBACK)(DRV_HANDLE cliHandle, DRV_MIIM_OPERATION_HANDLE opHandle, DRV_MIIM_RESULT opResult, uint16_t opData); 

Description

Type: MIIM Driver Operation Complete Callback The format of an operation callback notification function registered with the MIIM driver.

Remarks

None.

Parameters

ParametersDescription
cliHandlethe client handle. This is the handle that identifies the client (obtained with DRV_MIIM_Open) that initiated the operation.
opHandlethe operation handle. This is the handle that identifies the operation (obtained with DRV_MIIM_Read, DRV_MIIM_Write, etc.)
opResultoperation result DRV_MIIM_RES_OK if operation completed successfully, otherwise an error code
opDataoperation specific data, only if the result is DRV_MIIM_RES_OK For read/scan operation this is the MIIM read data. For write operation this is that data that was written with MIIM.