Xpm_SleepPerfCounter - 2023.2 English

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

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

This is helper function used by sleep or usleep APIs to generate delay in second or microsecond.

Prototype

void Xpm_SleepPerfCounter(u32 delay, u64 frequency);

Parameters

The following table lists the Xpm_SleepPerfCounter function arguments.

Table 1. Xpm_SleepPerfCounter Arguments
Name Description
delay Delay time in second or microsecond
frequency Number of counts in second or microseconds

Returns

None.