summaryrefslogtreecommitdiff
path: root/macros/Hardware/AVR/AVRSleep.sci
diff options
context:
space:
mode:
authorJorawar Singh2017-06-30 11:28:58 +0530
committerJorawar Singh2017-06-30 11:28:58 +0530
commitaef4e8398f2b1848b0e4cdd9580dbbe93e4006f9 (patch)
treebe1db2f0453859eca8b4ae6e18c90baae68cc2bc /macros/Hardware/AVR/AVRSleep.sci
parentb33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff)
downloadScilab2C_fossee_old-aef4e8398f2b1848b0e4cdd9580dbbe93e4006f9.tar.gz
Scilab2C_fossee_old-aef4e8398f2b1848b0e4cdd9580dbbe93e4006f9.tar.bz2
Scilab2C_fossee_old-aef4e8398f2b1848b0e4cdd9580dbbe93e4006f9.zip
Help files, modified Raspberry Pi code conversion
Diffstat (limited to 'macros/Hardware/AVR/AVRSleep.sci')
-rw-r--r--macros/Hardware/AVR/AVRSleep.sci19
1 files changed, 18 insertions, 1 deletions
diff --git a/macros/Hardware/AVR/AVRSleep.sci b/macros/Hardware/AVR/AVRSleep.sci
index a1b6add..eec6e5a 100644
--- a/macros/Hardware/AVR/AVRSleep.sci
+++ b/macros/Hardware/AVR/AVRSleep.sci
@@ -1,4 +1,21 @@
function AVRSleep(delay)
-
+// Function to pause the execution for the given time.
+//
+// Parameter
+// delay : The time, in milliseconds, for which the execution is to be paused
+//
+// Description
+// This function causes the execution to stop for the given amount of time.
+//
+// This is curretly dummy function. It provides no functionality but is required
+// for providing support for generating C code for AVR.
+//
+//Examples
+// AVRSleep(5000);
+//See also
+//
+// Authors
+// Jorawar Singh
+//
endfunction