1.2.11.4.2 SYS_TIME_Deinitialize Function

C

void SYS_TIME_Deinitialize ( SYS_MODULE_OBJ object )

Summary

Deinitializes the specific module instance of the SYS TIMER module

Description

This function deinitializes the specific module instance disabling its operation (and any hardware for driver modules). Resets all of the internal data structures and fields for the specified instance to the default settings.

Precondition

The SYS_TIME_Initialize function should have been called before calling this function.

Parameters

ParamDescription
objectSYS TIMER object handle, returned from SYS_TIME_Initialize

Returns

None.

Example

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

SYS_TIME_Deinitialize (objSysTime);

if (SYS_TIME_Status (objSysTime) != SYS_STATUS_UNINITIALIZED)
{
    // Check again later if you need to know
    // when the SYS TIME is De-initialized.
}

Remarks

Once the Initialize operation has been called, the De-initialize operation must be called before the Initialize operation can be called again.