diff options
author | siddhu8990 | 2016-02-01 11:05:35 +0530 |
---|---|---|
committer | siddhu8990 | 2016-02-01 11:05:35 +0530 |
commit | 5df6d1cb2868abdc8df66755f76c997ee36c0b49 (patch) | |
tree | 8f6eef9f83437133b0b8d7f16f3b5dd470872aee /src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h | |
parent | 1ff7f5293444b22b46ff7bd51d52a845dc20525c (diff) | |
download | Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.gz Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.bz2 Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.zip |
Support for RPi gpios added
Diffstat (limited to 'src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h')
-rw-r--r-- | src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h b/src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h new file mode 100644 index 0000000..809595f --- /dev/null +++ b/src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h @@ -0,0 +1,20 @@ +/* This file declares functions and constants related to rasberrypi*/ + +#ifndef __RPIPERIPHERALUTIL_H__ +#define __RPIPERIPHERALUTIL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include "types.h" +#include "bcm2835.h" + +uint8 u16RPIDelayMillis(uint16 time); +uint8 u16RPIDelayMicros(uint16 time); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif //__RPIPERIPHERALUTIL_H__ |