linux/tools/gpio
Linus Walleij 97f69747d8 tools/gpio: add the gpio-event-mon tool
The gpio-event-mon is used from userspace as an example of how
to monitor GPIO line events. It will latch on to a certain
GPIO line on a certain gpiochip and print timestamped events
as they arrive.

Example output:
$ gpio-event-mon -n gpiochip2 -o 0 -r -f
Monitoring line 0 on gpiochip2
Initial line value: 1
GPIO EVENT 946685798487609863: falling edge
GPIO EVENT 946685798732482910: rising edge
GPIO EVENT 946685799115997314: falling edge
GPIO EVENT 946685799381469726: rising edge

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-06-15 09:29:29 +02:00
..
gpio-event-mon.c tools/gpio: add the gpio-event-mon tool 2016-06-15 09:29:29 +02:00
gpio-hammer.c tools/gpio: add the gpio-hammer tool 2016-06-15 09:29:04 +02:00
gpio-utils.c
gpio-utils.h gpio: add userspace ABI for GPIO line information 2016-02-19 09:48:46 +01:00
lsgpio.c tools/gpio: Add missing initialization of device_name 2016-03-31 11:51:30 +02:00
Makefile tools/gpio: add the gpio-event-mon tool 2016-06-15 09:29:29 +02:00