1.1.2.4.18 DRV_G3_MACRT_Status Function

C

DRV_G3_MACRT_STATE DRV_G3_MACRT_Status (
    const SYS_MODULE_INDEX index
);

Summary

Gets the current status of the G3 MAC RT driver module.

Description

This routine provides the current status of the G3 MAC RT driver module.

Parameters

ParamDescription
indexIdentifier for the instance used to initialize driver

Returns

StatusDescription
DRV_G3_MACRT_STATE_READYDriver is ready to accept requests for new operations
DRV_G3_MACRT_STATE_UNINITIALIZEDDriver is not initialized
DRV_G3_MACRT_STATE_ERRORDriver is not initialized correctly
DRV_G3_MACRT_STATE_BUSYDriver is initializing
DRV_G3_MACRT_STATE_WAITING_TX_CFMDriver is waiting a confirmation of the last transmission

Example

SYS_STATUS status;
// 'DRV_G3_MACRT_INDEX' is the one used before for Driver Initialization
status = DRV_G3_MACRT_Status(DRV_G3_MACRT_INDEX);

Remarks

None.