diff options
author | Fabrice Gasnier <[email protected]> | 2017-07-27 18:19:00 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-07-30 14:48:14 +0100 |
commit | 90938ca432e6b8f6bb1c22a24984738fc3d906ed (patch) | |
tree | 327d2c8c8a0dd35f5fcec8c86746990074754279 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06e3fe89988b1c99a3d9953b1d3b1faf3f047017 (diff) |
iio: trigger: stm32-timer: add enable attribute
In order to use encoder mode, timers needs to be enabled (e.g. CEN bit)
along with peripheral clock.
Add IIO_CHAN_INFO_ENABLE attribute to handle this.
Also, in triggered mode, CEN bit is set automatically in hardware.
Then clock must be enabled before starting triggered mode.
Signed-off-by: Fabrice Gasnier <[email protected]>
Acked-by: Benjamin Gaignard <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions