diff options
author | Jorawar Singh | 2017-06-30 11:28:58 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-06-30 11:28:58 +0530 |
commit | 815306982a4ea8eaaa2106fadcd1472aa2a9dcd5 (patch) | |
tree | b97eb757e402adccd495560e15275b8130238094 /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h | |
parent | 02a004ea1500c403ac1a18a52aaf79aaeb7280ed (diff) | |
download | Scilab2C-815306982a4ea8eaaa2106fadcd1472aa2a9dcd5.tar.gz Scilab2C-815306982a4ea8eaaa2106fadcd1472aa2a9dcd5.tar.bz2 Scilab2C-815306982a4ea8eaaa2106fadcd1472aa2a9dcd5.zip |
Help files, modified Raspberry Pi code conversion
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h')
-rw-r--r-- | 2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h index 1a704655..5c4e6184 100644 --- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h +++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralTiming.h @@ -5,12 +5,11 @@ you should have received as part of this distribution. The terms are also available at http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani + Author: Jorawar Singh, Siddhesh Wani Organization: FOSSEE, IIT Bombay Email: toolbox@scilab.in */ - #ifndef __INT_RPIPERIPHERALTIMING_H__ #define __INT_RPIPERIPHERALTIMING_H__ @@ -21,14 +20,13 @@ extern "C" { #endif -#define RPI_DelayMicro(in1) u16RPIDelayMicros((uint16) in1) -#define RPI_DelayMilli(in1) u16RPIDelayMillis((uint16) in1) -#define RPI_GetMicro() u32RPIGetMicros() -#define RPI_GetMillis() u32RPIGetMillis() - +#define u320RPI_delay(time) u32RPI_delays(time); +#define u320RPI_delayMicro(time) u32RPI_delayMicros(time); +#define RPI_millisu320() RPI_millis(); +#define RPI_microsu320() RPI_micros(); #ifdef __cplusplus } /* extern "C" */ #endif -#endif /* !__RPIPERIPHERALTIMING_H__ */ +#endif /* !__INT_RPIPERIPHERALTIMING_H__ */ |