Jump to main content

##

# DRV_AT25DF_Status Function

## C

    SYS_STATUS DRV_AT25DF_Status( const SYS_MODULE_INDEX drvIndex )

## Summary

Gets the current status of the AT25DF driver module.

## Description

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

## Preconditions

Function DRV_AT25DF_Initialize should have been called before calling this function.

## Parameters

Param | Description
--- | ---
drvIndex | Identifier for the instance used to initialize driver

## 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.

## Example

    SYS_STATUS status;

    status = DRV_AT25DF_Status(DRV_AT25DF_INDEX);

    if (status == SYS_STATUS_READY)
    {
        // AT25DF driver is initialized and ready to accept requests.
    }

## Remarks

None.