Module: xenomai-3
Branch: wip/drivers
Commit: 289ed8676ff9a135da29f7b5ae8c75e8cc5c1ae7
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=289ed8676ff9a135da29f7b5ae8c75e8cc5c1ae7

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Jul 12 10:03:48 2016 +0200

testsuite/gpio: add interrupt trigger argument

---

 testsuite/gpiotest/gpiotest.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/testsuite/gpiotest/gpiotest.c b/testsuite/gpiotest/gpiotest.c
index aeb16af..c6620e1 100644
--- a/testsuite/gpiotest/gpiotest.c
+++ b/testsuite/gpiotest/gpiotest.c
@@ -32,10 +32,13 @@
 smokey_test_plugin(interrupt,
                   SMOKEY_ARGLIST(
                           SMOKEY_STRING(device),
+                          SMOKEY_STRING(trigger),
                           SMOKEY_BOOL(select),
                   ),
    "Wait for interrupts from a GPIO pin.\n"
-   "\tdevice=<device-path>."
+   "\tdevice=<device-path>\n"
+   "\trigger={edge[-rising/falling/both], level[-low/high]}\n"
+   "\tselect, wait on select(2)."
 );
 
 smokey_test_plugin(read_value,


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to