1.1.1.4.12 DRV_PLC_PHY_Status Function

C

SYS_STATUS DRV_PLC_PHY_Status (
    const SYS_MODULE_INDEX index
);

Summary

Gets the current status of the PLC driver module.

Description

This routine provides the current status of the PLC driver module.

Parameters

ParamDescription
indexIdentifier for the instance used to initialize driver.

Returns

StatusDescription
SYS_STATUS_READYDriver is ready to accept requests for new operations.
SYS_STATUS_UNINITIALIZEDDriver is not initialized.
SYS_STATUS_ERRORDriver is not initialized correctly.
SYS_STATUS_BUSYDriver is initializing.

Example

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

Remarks

None.