iio trig bfn timer - ArrowElectronics/arrow-adi-intel-psg GitHub Wiki
This driver allows any Blackfin system timer to be used as IIO trigger. It supports trigger rates from 0Hz to 100kHz, in Hz resolution.
Configure kernel with make menuconfig (alternatively use make xconfig or make qconfig)
Linux Kernel Configuration Device Drivers ---> [*] Staging drivers ---> <*> Industrial I/O support ---> --- Industrial I/O support -*- Enable ring buffer support within IIO -*- Industrial I/O lock free software ring -*- Enable triggered sampling support |
One or multiple instances of this driver can be declared by adding appropriate platform device data. An example is shown below:
$ cd sys/bus/iio/devices/ $ ls device0 device0:buffer0:event0 device1:buffer0:access0 device0:buffer0 device1 device1:buffer0:event0 device0:buffer0:access0 device1:buffer0 trigger0 |
$ cd trigger0 $ ls name subsystem frequency uevent |
$ cat name bfintmr3 |
$ echo 1000 > frequency $ echo 0 > frequency |
| Information on this site was obtained from |
|