1 /*!
2 * \file delay.c
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 #include "delay-board.h"
24 #include "delay.h"
25
Delay(float s)26 void Delay( float s )
27 {
28 DelayMs( s * 1000.0f );
29 }
30
DelayMs(uint32_t ms)31 void DelayMs( uint32_t ms )
32 {
33 DelayMsMcu( ms );
34 }
35