From 379492ff3c10eef6479fd85418b797f97889d3f9 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Mon, 28 May 2012 17:03:11 +0200 Subject: interfaces first draft first idea of an interface description to control io s Signed-off-by: Manuel Traut --- interfaces/io.idl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 interfaces/io.idl (limited to 'interfaces/io.idl') 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; + }; + +}; -- cgit v1.2.3