1 /*******************************************************************************
2 * The confidential and proprietary information contained in this file may      *
3 * only be used by a person authorised under and to the extent permitted        *
4 * by a subsisting licensing agreement from ARM Limited or its affiliates.      *
5 *   (C) COPYRIGHT [2001-2017] ARM Limited or its affiliates.                   *
6 *       ALL RIGHTS RESERVED                                                    *
7 * This entire notice must be reproduced on all copies of this file             *
8 * and copies of this file may only be made by a person if such person is       *
9 * permitted to do so under the terms of a subsisting license agreement         *
10 * from ARM Limited or its affiliates.                                          *
11 *******************************************************************************/
12 
13 #ifndef TEST_PAL_TIME_H_
14 #define TEST_PAL_TIME_H_
15 
16 #include <stdint.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /******************************************************************************/
23 /*
24  * @brief This function suspends execution of the calling thread
25  * for microsecond intervals.
26  *
27  * @param[in] time to suspend in microseconds.
28  *
29  * @param[out]
30  *
31  * @return
32  */
33 void Test_PalDelay(const uint32_t usec);
34 
35 /******************************************************************************/
36 /*
37  * @brief This function returns a timestamp in milliseconds.
38  *
39  * @param[in]
40  *
41  * @param[out]
42  *
43  * @return - timestamp in milliseconds.
44  */
45 uint32_t Test_PalGetTimestamp(void);
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* TEST_PAL_TIME_H_ */
52