no-OS
delay.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef DELAY_H_
41 #define DELAY_H_
42 
43 /******************************************************************************/
44 /***************************** Include Files **********************************/
45 /******************************************************************************/
46 
47 #include <stdint.h>
48 
49 /******************************************************************************/
50 /************************ Functions Declarations ******************************/
51 /******************************************************************************/
52 
53 /* Generate microseconds delay. */
54 void udelay(uint32_t usecs);
55 
56 /* Generate miliseconds delay. */
57 void mdelay(uint32_t msecs);
58 
59 #endif // DELAY_H_
mdelay
void mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: delay.c:129
udelay
void udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: delay.c:117