1.2.11.4.3 SYS_TIME_Status Function
C
SYS_STATUS SYS_TIME_Status ( SYS_MODULE_OBJ object )
Summary
Returns System Time status.
Description
This function returns the current status of the System Time module.
Precondition
None.
Parameters
| Param | Description |
|---|---|
| object | SYS TIME object handle, returned from SYS_TIME_Initialize |
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.
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.
}Remarks
None.
