summaryrefslogtreecommitdiff
path: root/interfaces/io.idl
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/io.idl')
-rw-r--r--interfaces/io.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/interfaces/io.idl b/interfaces/io.idl
new file mode 100644
index 0000000..d2f95f8
--- /dev/null
+++ b/interfaces/io.idl
@@ -0,0 +1,22 @@
+#include "common.idl"
+
+module io {
+
+ interface digital {
+ common.error name (out string name);
+ common.error set ();
+ common.error reset ();
+ common.error get (out int value);
+ attribute Int id;
+ };
+
+ interface analog {
+ common.error name (out string name);
+ common.error min (out int min);
+ common.error max (out int max);
+ common.error set (in int value);
+ common.error get (out int value);
+ attribute Integer id;
+ };
+
+};