summaryrefslogtreecommitdiff
path: root/src/c/hardware/avr/util/u16AVRSleeps.c
diff options
context:
space:
mode:
authorimushir2015-12-28 16:08:36 +0530
committerimushir2015-12-28 16:08:36 +0530
commiteb760e0368b6be3bc0f0a7f076bc74d25df0df62 (patch)
tree64d0fdc06c92478f9e15dd2b6def6fe4b369383b /src/c/hardware/avr/util/u16AVRSleeps.c
parentb8c97a6580ea62ca9480504e66be2b2f5b1dc2ef (diff)
parentd166736e0eb384156d30bcea45711d4c8d474ee1 (diff)
downloadScilab2C_fossee_old-eb760e0368b6be3bc0f0a7f076bc74d25df0df62.tar.gz
Scilab2C_fossee_old-eb760e0368b6be3bc0f0a7f076bc74d25df0df62.tar.bz2
Scilab2C_fossee_old-eb760e0368b6be3bc0f0a7f076bc74d25df0df62.zip
Merge branch 'master' of https://github.com/siddhu8990/Scilab2C
Fetching master
Diffstat (limited to 'src/c/hardware/avr/util/u16AVRSleeps.c')
-rw-r--r--src/c/hardware/avr/util/u16AVRSleeps.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/c/hardware/avr/util/u16AVRSleeps.c b/src/c/hardware/avr/util/u16AVRSleeps.c
new file mode 100644
index 0000000..4d81c96
--- /dev/null
+++ b/src/c/hardware/avr/util/u16AVRSleeps.c
@@ -0,0 +1,14 @@
+//Function to introduce specific delay in milliseconds
+//
+//Authors
+// Siddhesh Wani
+//
+
+#include "AVRUtil.h"
+
+uint8 u16AVRSleeps (uint16 delay)
+{
+ _delay_ms(delay);
+
+ return 0;
+}