diff --git a/srv/delay.c b/srv/delay.c new file mode 100644 index 0000000..9ce5bf6 --- /dev/null +++ b/srv/delay.c @@ -0,0 +1,23 @@ +/** @file delay.c + * Module handling delays definitions and operations + * + * The module provides an API to delay the code execution with the most + * accuraccy possible, putting the system in sleep whenever possible. The RTC is + * required when using delays superior to a 1.5s. Accuraccy is only garenteed up + * to the unit being used (to the millisecond when delaying in ms, to the second + * when delaying in seconds) + */ + +//--includes-------------------------------------------------------------------- + +#include "delay.h" + + +//--local definitions----------------------------------------------------------- + +//--local variables------------------------------------------------------------- + +//--public functions------------------------------------------------------------ + +//--local functions------------------------------------------------------------- + diff --git a/srv/delay.h b/srv/delay.h new file mode 100644 index 0000000..7b6d46d --- /dev/null +++ b/srv/delay.h @@ -0,0 +1,23 @@ +/** @file delay.h + * Module handling delays definitions and operations + * + * The module provides an API to delay the code execution with the most + * accuraccy possible, putting the system in sleep whenever possible. The RTC is + * required when using delays superior to a 1.5s. Accuraccy is only garenteed up + * to the unit being used (to the millisecond when delaying in ms, to the second + * when delaying in seconds) + */ + +#ifndef _DELAY_H_ +#define _DELAY_H_ + +//--includes-------------------------------------------------------------------- + +//--type definitions------------------------------------------------------------ + +//--functions------------------------------------------------------------------- + +//--internal_functions---------------------------------------------------------- + +#endif //_DELAY_H_ +