1.2.11.4.3 SYS_TIME_Status Function

1.2.11.4.3 C

SYS_STATUS SYS_TIME_Status ( SYS_MODULE_OBJ object )

1.2.11.4.3 Summary

Returns System Time status.

1.2.11.4.3 Description

This function returns the current status of the System Time module.

1.2.11.4.3 Precondition

None.

1.2.11.4.3 Parameters

ParametersDescription
objectSYS TIME object handle, returned from SYS_TIME_Initialize

1.2.11.4.3 Returns

SYS_STATUS_UNINITIALIZED - Indicates that the driver is not initialized.

SYS_STATUS_READY - Indicates that the module initialization is complete and it ready to be used.

1.2.11.4.3 Example

// Handle "objSysTime" value must have been returned from SYS_TIME_Initialize.

if (SYS_TIME_Status (objSysTime) == SYS_STATUS_READY)
{
    // Time system service is initialized and ready to accept new requests.
}

1.2.11.4.3 Remarks

None.