summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h
new file mode 100644
index 00000000..92020f9a
--- /dev/null
+++ b/2.3-1/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__ */