ARMEBS4
revision-26.06.2015
Main Page
Modules
Data Structures
Files
File List
Globals
include
heivs
delay.h
Go to the documentation of this file.
1
/************************************************************************/
/**
2
* \file heivs/delay.h
3
* \brief simple delays
4
* \author marc dot pignat at hevs dot ch
5
***************************************************************************/
6
7
/************************************************************************/
/**
8
* \defgroup delay Delays
9
* @{
10
* \ingroup time
11
* \brief Provides a simple way to delay (active wait)
12
***************************************************************************/
13
14
#ifndef HEIVS_DELAY_H
15
#define HEIVS_DELAY_H
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#include <stdint.h>
22
#include "
error.h
"
23
24
/************************************************************************/
/**
25
* \brief Wait for at least that time
26
*
27
* \param ms The millisecond time to wait
28
***************************************************************************/
29
void
delay_wait_ms
(uint32_t ms);
30
31
/************************************************************************/
/**
32
* \brief Wait for at least that time
33
*
34
* \param us The microsecond time to wait
35
***************************************************************************/
36
void
delay_wait_us
(uint32_t us);
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
/************************************************************************/
/**
43
* @}
44
***************************************************************************/
45
#endif
/* HEIVS_DELAY_H */
delay_wait_ms
void delay_wait_ms(uint32_t ms)
Wait for at least that time.
Definition:
delay.c:12
error.h
Errors definitions.
delay_wait_us
void delay_wait_us(uint32_t us)
Wait for at least that time.
Definition:
delay.c:41
Generated on Fri Jun 26 2015 13:11:50 for ARMEBS4 by
1.8.9.1