1.1.8.4.4 DRV_SFDP_Status Function
1.1.8.4.4 C
SYS_STATUS DRV_SFDP_Status( const SYS_MODULE_INDEX drvIndex );1.1.8.4.4 Summary
Gets the current status of the SFDP driver module.
1.1.8.4.4 Description
This routine provides the current status of the SFDP driver module.
1.1.8.4.4 Preconditions
Function DRV_SFDP_Initialize should have been called before calling this function.
1.1.8.4.4 Parameters
| Parameters | Description |
|---|---|
| drvIndex | Identifier for the instance used to initialize driver |
1.1.8.4.4 Returns
SYS_STATUS_READY - Indicates that the driver is ready and accept requests for new operations.
SYS_STATUS_UNINITIALIZED - Indicates the driver is not initialized.
SYS_STATUS_BUSY - Indicates the driver is in busy state.
1.1.8.4.4 Example
SYS_STATUS status;
status = DRV_SFDP_Status(DRV_SFDP_INDEX);
if (status == SYS_STATUS_READY)
{
// SFDP driver is initialized and ready to accept requests.
}1.1.8.4.4 Remarks
None.
