diff options
Diffstat (limited to 'macros/Hardware/AVR/AVRSleep.sci')
-rw-r--r-- | macros/Hardware/AVR/AVRSleep.sci | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/Hardware/AVR/AVRSleep.sci b/macros/Hardware/AVR/AVRSleep.sci new file mode 100644 index 00000000..eec6e5a2 --- /dev/null +++ b/macros/Hardware/AVR/AVRSleep.sci @@ -0,0 +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 |