summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h')
-rw-r--r--2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h b/2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h
new file mode 100644
index 00000000..ce96951b
--- /dev/null
+++ b/2.3-1/src/c/hardware/avr/interfaces/int_AVRUtil.h
@@ -0,0 +1,23 @@
+//This file defines interfaces corresponding to uitl function.
+//
+// Authors
+// Siddhesh Wani
+//
+
+#ifndef __INT_AVRUTIL_H__
+#define __INT_AVRUTIL_H__
+
+#include <avr/io.h>
+#include "AVRUtil.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define d0sleepu80(in1) U16AVRSleeps ((uint16) in1);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* !__AVRPERIPHERALGPIO_H__ */