Merge remote-tracking branches 'asoc/topic/max9878', 'asoc/topic/max98927', 'asoc...
[sfrench/cifs-2.6.git] / Documentation / ABI / testing / sysfs-bus-iio-timer-stm32
1 What:           /sys/bus/iio/devices/triggerX/master_mode_available
2 KernelVersion:  4.11
3 Contact:        benjamin.gaignard@st.com
4 Description:
5                 Reading returns the list possible master modes which are:
6                 - "reset"     : The UG bit from the TIMx_EGR register is used as trigger output (TRGO).
7                 - "enable"    : The Counter Enable signal CNT_EN is used as trigger output.
8                 - "update"    : The update event is selected as trigger output.
9                                 For instance a master timer can then be used as a prescaler for a slave timer.
10                 - "compare_pulse" : The trigger output send a positive pulse when the CC1IF flag is to be set.
11                 - "OC1REF"    : OC1REF signal is used as trigger output.
12                 - "OC2REF"    : OC2REF signal is used as trigger output.
13                 - "OC3REF"    : OC3REF signal is used as trigger output.
14                 - "OC4REF"    : OC4REF signal is used as trigger output.
15
16 What:           /sys/bus/iio/devices/triggerX/master_mode
17 KernelVersion:  4.11
18 Contact:        benjamin.gaignard@st.com
19 Description:
20                 Reading returns the current master modes.
21                 Writing set the master mode
22
23 What:           /sys/bus/iio/devices/triggerX/sampling_frequency
24 KernelVersion:  4.11
25 Contact:        benjamin.gaignard@st.com
26 Description:
27                 Reading returns the current sampling frequency.
28                 Writing an value different of 0 set and start sampling.
29                 Writing 0 stop sampling.