October 2017
Intermediate to advanced
586 pages
14h 8m
English
The sysfs trigger is enabled in the kernel by the CONFIG_IIO_SYSFS_TRIGGER=y config option, which will result in the /sys/bus/iio/devices/iio_sysfs_trigger/ folder being automatically created, and can be used for sysfs trigger management. There will be two files in the directory, add_trigger and remove_trigger. Its driver is in drivers/iio/trigger/iio-trig-sysfs.c.