245f9eaa5e0672c82218a0d42348837f4e54c099
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / Examples / Multiplatform / Protocol / VP_Os / vp_os_delay.h
1 /**
2  * @file delay.h
3  * @author aurelien.morelle@parrot.fr
4  * @date 2006/12/15
5  */
6
7 #ifndef _DELAY_INCLUDE_OS_
8 #define _DELAY_INCLUDE_OS_
9
10
11 #include <VP_Os/vp_os_types.h>
12
13 #ifdef __cplusplus
14 extern "C"
15 {
16 #endif
17
18 /**
19  * Waits until delay is elapsed.
20  *
21  * @param ms Delay in milliseconds
22  */
23 void
24 vp_os_delay(uint32_t ms);
25
26 /**
27  * Waits until delay is elapsed.
28  *
29  * @param us Delay in microseconds
30  */
31 void
32 vp_os_delay_us(uint32_t us);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38
39 #endif // ! _DELAY_INCLUDE_OS_
40