-
Notifications
You must be signed in to change notification settings - Fork 845
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: iio: cf_axi_tdd: Add sample-based controls
This commit introduces new aliases to the previously available iio attributes that differ by allowing the user to manipulate the raw register values (or sample counts) versus the duration translated to milliseconds. This change was introduced because not in all situations controlling a time value is useful. For example when trying to fill a buffer with a certain amount of samples, we do not want to rely on knowning the bus clock frequency at all times. Signed-off-by: David Winter <[email protected]>
- Loading branch information
Showing
1 changed file
with
104 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters