1 /*!
2  * \file      delay.h
3  *
4  * \brief     Delay implementation
5  *
6  * \copyright Revised BSD License, see section \ref LICENSE.
7  *
8  * \code
9  *                ______                              _
10  *               / _____)             _              | |
11  *              ( (____  _____ ____ _| |_ _____  ____| |__
12  *               \____ \| ___ |    (_   _) ___ |/ ___)  _ \
13  *               _____) ) ____| | | || |_| ____( (___| | | |
14  *              (______/|_____)_|_|_| \__)_____)\____)_| |_|
15  *              (C)2013-2017 Semtech
16  *
17  * \endcode
18  *
19  * \author    Miguel Luis ( Semtech )
20  *
21  * \author    Gregory Cristian ( Semtech )
22  */
23 #ifndef __DELAY_H__
24 #define __DELAY_H__
25 
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30 
31 #include <stdint.h>
32 
33 /*!
34  * Blocking delay of "s" seconds
35  */
36 void Delay( float s );
37 
38 /*!
39  * Blocking delay of "ms" milliseconds
40  */
41 void DelayMs( uint32_t ms );
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif // __DELAY_H__
48 
49