From: Lars-Peter Clausen <lars@metafoo.de>
To: crzy <chskr1016@gmail.com>
Cc: linux-iio@vger.kernel.org
Subject: Re: change device attributes dynamically
Date: Wed, 09 Oct 2013 08:39:16 +0200 [thread overview]
Message-ID: <5254FA14.7090603@metafoo.de> (raw)
In-Reply-To: <loom.20131009T055541-305@post.gmane.org>
On 10/09/2013 05:56 AM, crzy wrote:
> crzy <chskr1016@...> writes:
>
>>
>> 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
>>
>>
>
>
> when will the device reads register value? i mean when will device changes
> its clk frequency?
> Plz tell me how this process takes place
Hi,
The device's registers are updates as soon as you write to the sysfs file.
- Lars
prev parent reply other threads:[~2013-10-09 6:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 7:46 change device attributes dynamically crzy
2013-10-08 13:53 ` Lars-Peter Clausen
2013-10-09 3:56 ` crzy
2013-10-09 6:39 ` Lars-Peter Clausen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5254FA14.7090603@metafoo.de \
--to=lars@metafoo.de \
--cc=chskr1016@gmail.com \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.