Re: change device attributes dynamically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/08/2013 09:46 AM, crzy wrote:
> I want to change device attributes at /sys/iio..... for AD-FMCOMMS1-EBZ.When 
> will the driver detects the value is changed?will the driver dynamically 
> detects them ?
> i want to change values dynamically like
> echo 500000000 > out_altvoltage1_DAC_CLK_frequency

Hi,

Yes you can change the attributes dynamically. The driver will update the
registers as soon as you write the new value. But in case of the FMCOMMS1
board you should modify the sampling frequency of the DAC by writing to the
"out_altvoltage_1A_sampling_frequency" attribute of the "cf-ad9122-core-lpc"
device.

- Lars

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux