diff options
author | imushir | 2016-02-09 17:00:34 +0530 |
---|---|---|
committer | imushir | 2016-02-09 17:00:34 +0530 |
commit | fad04e78ac69db4ef74c1bd45154fc430c18cccc (patch) | |
tree | 29bb0c8b76e6882adbaaae67bd0e845e3280f73e /macros/Hardware/RasberryPi/RPIDelayMicro.sci | |
parent | ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (diff) | |
parent | bbdc94252ee563f0b01d4949868a583e43a2e6a8 (diff) | |
download | Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.gz Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.bz2 Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.zip |
merged RPi & diag
Diffstat (limited to 'macros/Hardware/RasberryPi/RPIDelayMicro.sci')
-rw-r--r-- | macros/Hardware/RasberryPi/RPIDelayMicro.sci | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/macros/Hardware/RasberryPi/RPIDelayMicro.sci b/macros/Hardware/RasberryPi/RPIDelayMicro.sci new file mode 100644 index 0000000..730755b --- /dev/null +++ b/macros/Hardware/RasberryPi/RPIDelayMicro.sci @@ -0,0 +1,30 @@ +function RPI_DelayMicro(time) +// Function to insert some delay in code execution. +// +// Calling Sequence +// RPI_DelayMicro(time) +// +// Parameters +// time: time(microseconds) for which execution is to be delayed +// +// Description +// this function can be used for insertig execution delays. 'time' should be +// specified in microseconds.'time' should be between (1-65536). +// Note: Delay inserted by this function is not accurate, but depedent on +// operating system, other running tasks etc. +// +// Examples +// RPI_DelayMilli(100) //This will delay the execution of next code by 100 ms. +// +// See also +// RPI_DelayMicro +// +// +// Authors +// Siddhesh Wani +// + +// This is curretly dummy function. It provides no functionality but is required +// for providing support for generating C code for RPi. + +endfunction |