Performance Counter APIs
DSP Counter and Timer APIs
Sleep functionality.

Functions

int HAP_timer_sleep (unsigned long long sleep_duration)
 

Detailed Description

Function Documentation

◆ HAP_timer_sleep()

int HAP_timer_sleep ( unsigned long long  sleep_duration)

Suspends the calling thread from execution until the specified duration has elapsed.

Parameters
[in]sleep_duration- Sleep duration in micro-seconds.
Returns
- returns 0 on success, non zero in error case.