1.11.9.7 DMT_Clear Function

C

void DMT_Clear( void )

Summary

Restarts the DMT counter.

Description

This function is used to restart the DMT counter. Calling this will clear the DMT timeout counter and restart the counting from 0. Failure to call this function before the DMT timeout period will cause the system to reset.

Precondition

DMT must be enabled using DMT_Enable().

Parameters

None.

Returns

None.

Example

//Application

DMT_Enable();

// Application Code executes here.
// Clear the DMT periodically.
if(DMT_ClearWindowStatusGet())
{
    DMT_Clear();
}

Remarks

None.