From 5df6d1cb2868abdc8df66755f76c997ee36c0b49 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Mon, 1 Feb 2016 11:05:35 +0530 Subject: Support for RPi gpios added --- .../rasberrypi/interfaces/int_RPIPeripheralUtil.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h') diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h new file mode 100644 index 0000000..92020f9 --- /dev/null +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h @@ -0,0 +1,23 @@ +// +// Authors +// Siddhesh Wani +// + +#ifndef __INT_RPIPERIPHERALUTIL_H__ +#define __INT_RPIPERIPHERALUTIL_H__ + +#include "types.h" +#include "RPIPeripheralUtil.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#define RPI_DelayMicro(in1) u16RPIDelayMicros((uint16) in1); +#define RPI_DelayMilli(in1) u16RPIDelayMillis((uint16) in1); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* !__RPIPERIPHERALUTIL_H__ */ -- cgit