yincheng zhong
2018-05-12 307c639db1993394c83013231bedb941c3e951b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*! ----------------------------------------------------------------------------
 * @file    deca_sleep.h
 * @brief   platform dependent sleep implementation
 *
 * @attention
 *
 * Copyright 2015 (c) DecaWave Ltd, Dublin, Ireland.
 *
 * All rights reserved.
 *
 * @author DecaWave
 */
 
#ifndef _DECA_SLEEP_H_
#define _DECA_SLEEP_H_
 
#ifdef __cplusplus
extern "C" {
#endif
 
/*! ------------------------------------------------------------------------------------------------------------------
 * Function: deca_sleep()
 *
 * Wait for a given amount of time.
 * /!\ This implementation is designed for a single threaded application and is blocking.
 *
 * param  time_ms  time to wait in milliseconds
 */
void deca_sleep(unsigned int time_ms);
 
#ifdef __cplusplus
}
#endif
 
#endif /* _DECA_SLEEP_H_ */