How to use IIO triggered buffer?
I use ASM330LHH as Linux IIO.
Source and DTS were added.
We found that /sys/bus/iio also added a device.
I also checked reading data in direct mode from sysfs.
Therefore, I think there is no problem with the H/W connection.
I want to use Trigger mode to read multiple data, but I don't see trigger and buffer in Directory.
I tried the # echo 0> /sys/devices/iio_sysfs_trigger/add_trigger command, but I still don't see trigger.
Kconfig settings are as below.
config_IIO=Y
CONFIG_IIO_BUFFER=Y
CONFIG_IIO_KFIO_BUF=Y
CONFIG_IIO_TRIGGERED_BUFFER=Y
CONFIG_IIO_TRIGGER=Y
CONFIG_IIO_ST_ASM330LHH=Y
CONFIG_IIO_ST_ASM330LHH_I2C=Y
CONFIG_IIO_ST_ASM330LHH_SPI=Y
CONFIG_IIO_ST_ASM330LHH_MAY_WAKEUP=Y
CONFIG_IIO_ST_ASM330LHH_EN_TEMPERATURE_FIFO=Y
Is there a way to use triggered buffer mode?
Kernel version is 4.9.11.
