XTime_SetTime - XTime_SetTime - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

TTC Timer runs continuously and the time can not be set as desired.

This API does not contain anything. It is defined to have uniformity across platforms.

Note: In multiprocessor environment reference time resets or lost for all processors, when this function called by any one processor.

Prototype

void XTime_SetTime(XTime Xtime_Global);

Parameters

The following table lists the XTime_SetTime function arguments.

Table 1. XTime_SetTime Arguments
Name Description
Xtime_Global 32-bit value to be written to the timer counter register.

Returns

None.