guowenxue
2024-06-25 5fc803d51ca097f07b4efbe0290ccc540b0660df
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
/*
 / _____)             _              | |
( (____  _____ ____ _| |_ _____  ____| |__
 \____ \| ___ |    (_   _) ___ |/ ___)  _ \
 _____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
    (C)2013 Semtech
 
Description: Delay functions implementation
 
License: Revised BSD License, see LICENSE.TXT file include in the project
 
Maintainer: Miguel Luis and Gregory Cristian
*/
#ifndef __DELAY_H__
#define __DELAY_H__
 
/*! 
 * Blocking delay of "s" seconds
 */
void Delay( float s );
 
/*! 
 * Blocking delay of "ms" milliseconds
 */
void DelayMs( uint32_t ms );
 
/*! 
 * Blocking delay of "us" milliseconds
 */
void Delayus(uint32_t nTimer);
#endif // __DELAY_H__