~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-bus-iio-timer-stm32

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-bus-iio-timer-stm32 (Version linux-5.4.285)


  1 What:           /sys/bus/iio/devices/triggerX/      1 What:           /sys/bus/iio/devices/triggerX/master_mode_available
  2 KernelVersion:  4.11                                2 KernelVersion:  4.11
  3 Contact:        benjamin.gaignard@st.com            3 Contact:        benjamin.gaignard@st.com
  4 Description:                                        4 Description:
  5                 Reading returns the list possi      5                 Reading returns the list possible master modes which are:
  6                                                !!   6                 - "reset"     : The UG bit from the TIMx_EGR register is
  7                                                << 
  8                 - "reset"                      << 
  9                                 The UG bit fro << 
 10                                 used as trigge      7                                 used as trigger output (TRGO).
 11                 - "enable"                     !!   8                 - "enable"    : The Counter Enable signal CNT_EN is used
 12                                 The Counter En << 
 13                                 as trigger out      9                                 as trigger output.
 14                 - "update"                     !!  10                 - "update"    : The update event is selected as trigger output.
 15                                 The update eve << 
 16                                 For instance a     11                                 For instance a master timer can then be used
 17                                 as a prescaler     12                                 as a prescaler for a slave timer.
 18                 - "compare_pulse"              !!  13                 - "compare_pulse" : The trigger output send a positive pulse
 19                                 The trigger ou !!  14                                     when the CC1IF flag is to be set.
 20                                 when the CC1IF !!  15                 - "OC1REF"    : OC1REF signal is used as trigger output.
 21                 - "OC1REF"                     !!  16                 - "OC2REF"    : OC2REF signal is used as trigger output.
 22                                 OC1REF signal  !!  17                 - "OC3REF"    : OC3REF signal is used as trigger output.
 23                 - "OC2REF"                     !!  18                 - "OC4REF"    : OC4REF signal is used as trigger output.
 24                                 OC2REF signal  << 
 25                 - "OC3REF"                     << 
 26                                 OC3REF signal  << 
 27                 - "OC4REF"                     << 
 28                                 OC4REF signal  << 
 29                                                << 
 30                 Additional modes (on TRGO2 onl     19                 Additional modes (on TRGO2 only):
 31                                                !!  20                 - "OC5REF"    : OC5REF signal is used as trigger output.
 32                 - "OC5REF"                     !!  21                 - "OC6REF"    : OC6REF signal is used as trigger output.
 33                                 OC5REF signal  << 
 34                 - "OC6REF"                     << 
 35                                 OC6REF signal  << 
 36                 - "compare_pulse_OC4REF":          22                 - "compare_pulse_OC4REF":
 37                                 OC4REF rising  !!  23                   OC4REF rising or falling edges generate pulses.
 38                 - "compare_pulse_OC6REF":          24                 - "compare_pulse_OC6REF":
 39                                 OC6REF rising  !!  25                   OC6REF rising or falling edges generate pulses.
 40                 - "compare_pulse_OC4REF_r_or_O     26                 - "compare_pulse_OC4REF_r_or_OC6REF_r":
 41                                 OC4REF or OC6R !!  27                   OC4REF or OC6REF rising edges generate pulses.
 42                 - "compare_pulse_OC4REF_r_or_O     28                 - "compare_pulse_OC4REF_r_or_OC6REF_f":
 43                                 OC4REF rising  !!  29                   OC4REF rising or OC6REF falling edges generate pulses.
 44                                 pulses.        << 
 45                 - "compare_pulse_OC5REF_r_or_O     30                 - "compare_pulse_OC5REF_r_or_OC6REF_r":
 46                                 OC5REF or OC6R !!  31                   OC5REF or OC6REF rising edges generate pulses.
 47                 - "compare_pulse_OC5REF_r_or_O     32                 - "compare_pulse_OC5REF_r_or_OC6REF_f":
 48                                 OC5REF rising  !!  33                   OC5REF rising or OC6REF falling edges generate pulses.
 49                                 pulses.        << 
 50                                                << 
 51                 ::                             << 
 52                                                    34 
 53                   +-----------+   +----------- !!  35                 +-----------+   +-------------+            +---------+
 54                   | Prescaler +-> | Counter    !!  36                 | Prescaler +-> | Counter     |        +-> | Master  | TRGO(2)
 55                   +-----------+   +--+-------- !!  37                 +-----------+   +--+--------+-+        |-> | Control +-->
 56                                      |         !!  38                                    |        |          ||  +---------+
 57                                   +--v-------- !!  39                                 +--v--------+-+ OCxREF ||  +---------+
 58                                   | Chx compar !!  40                                 | Chx compare +----------> | Output  | ChX
 59                                   +----------- !!  41                                 +-----------+-+         |  | Control +-->
 60                                         .      !!  42                                       .     |           |  +---------+
 61                                         .      !!  43                                       .     |           |    .
 62                                   +----------- !!  44                                 +-----------v-+ OC6REF  |    .
 63                                   | Ch6 compar !!  45                                 | Ch6 compare +---------+>
 64                                   +----------- !!  46                                 +-------------+
 65                                                !!  47 
 66                 Example with: "compare_pulse_O !!  48                 Example with: "compare_pulse_OC4REF_r_or_OC6REF_r":
 67                                                !!  49 
 68                                   X            !!  50                                 X
 69                                 X   X          !!  51                               X   X
 70                               X .   . X        !!  52                             X .   . X
 71                             X   .   .   X      !!  53                           X   .   .   X
 72                           X     .   .     X    !!  54                         X     .   .     X
 73                   count X .     .   .     . X  !!  55                 count X .     .   .     . X
 74                           .     .   .     .    !!  56                         .     .   .     .
 75                           .     .   .     .    !!  57                         .     .   .     .
 76                           +---------------+    !!  58                         +---------------+
 77                   OC4REF  |     .   .     |    !!  59                 OC4REF  |     .   .     |
 78                         +-+     .   .     +-+  !!  60                       +-+     .   .     +-+
 79                           .     +---+     .    !!  61                         .     +---+     .
 80                   OC6REF  .     |   |     .    !!  62                 OC6REF  .     |   |     .
 81                         +-------+   +-------+  !!  63                       +-------+   +-------+
 82                           +-+   +-+            !!  64                         +-+   +-+
 83                   TRGO2   | |   | |            !!  65                 TRGO2   | |   | |
 84                         +-+ +---+ +---------+  !!  66                       +-+ +---+ +---------+
 85                                                    67 
 86 What:           /sys/bus/iio/devices/triggerX/     68 What:           /sys/bus/iio/devices/triggerX/master_mode
 87 KernelVersion:  4.11                               69 KernelVersion:  4.11
 88 Contact:        benjamin.gaignard@st.com           70 Contact:        benjamin.gaignard@st.com
 89 Description:                                       71 Description:
 90                 Reading returns the current ma     72                 Reading returns the current master modes.
 91                 Writing set the master mode        73                 Writing set the master mode
 92                                                    74 
                                                   >>  75 What:           /sys/bus/iio/devices/triggerX/sampling_frequency
                                                   >>  76 KernelVersion:  4.11
                                                   >>  77 Contact:        benjamin.gaignard@st.com
                                                   >>  78 Description:
                                                   >>  79                 Reading returns the current sampling frequency.
                                                   >>  80                 Writing an value different of 0 set and start sampling.
                                                   >>  81                 Writing 0 stop sampling.
                                                   >>  82 
 93 What:           /sys/bus/iio/devices/iio:devic     83 What:           /sys/bus/iio/devices/iio:deviceX/in_count0_preset
 94 KernelVersion:  4.12                               84 KernelVersion:  4.12
 95 Contact:        benjamin.gaignard@st.com           85 Contact:        benjamin.gaignard@st.com
 96 Description:                                       86 Description:
 97                 Reading returns the current pr     87                 Reading returns the current preset value.
 98                 Writing sets the preset value.     88                 Writing sets the preset value.
 99                 When counting up the counter s     89                 When counting up the counter starts from 0 and fires an
100                 event when reach preset value.     90                 event when reach preset value.
101                 When counting down the counter     91                 When counting down the counter start from preset value
102                 and fire event when reach 0.       92                 and fire event when reach 0.
103                                                    93 
104 What:           /sys/bus/iio/devices/iio:devic     94 What:           /sys/bus/iio/devices/iio:deviceX/in_count_enable_mode_available
105 KernelVersion:  4.12                               95 KernelVersion:  4.12
106 Contact:        benjamin.gaignard@st.com           96 Contact:        benjamin.gaignard@st.com
107 Description:                                       97 Description:
108                 Reading returns the list possi     98                 Reading returns the list possible enable modes.
109                                                    99 
110 What:           /sys/bus/iio/devices/iio:devic    100 What:           /sys/bus/iio/devices/iio:deviceX/in_count0_enable_mode
111 KernelVersion:  4.12                              101 KernelVersion:  4.12
112 Contact:        benjamin.gaignard@st.com          102 Contact:        benjamin.gaignard@st.com
113 Description:                                      103 Description:
114                 Configure the device counter e    104                 Configure the device counter enable modes, in all case
115                 counting direction is set by i    105                 counting direction is set by in_count0_count_direction
116                 attribute and the counter is c    106                 attribute and the counter is clocked by the internal clock.
117                                                << 
118                 always:                           107                 always:
119                         Counter is always ON.     108                         Counter is always ON.
120                                                   109 
121                 gated:                            110                 gated:
122                         Counting is enabled wh    111                         Counting is enabled when connected trigger signal
123                         level is high else cou    112                         level is high else counting is disabled.
124                                                   113 
125                 triggered:                        114                 triggered:
126                         Counting is enabled on    115                         Counting is enabled on rising edge of the connected
127                         trigger, and remains e    116                         trigger, and remains enabled for the duration of this
128                         selected mode.            117                         selected mode.
129                                                   118 
130 What:           /sys/bus/iio/devices/iio:devic    119 What:           /sys/bus/iio/devices/iio:deviceX/in_count_trigger_mode_available
131 KernelVersion:  4.13                              120 KernelVersion:  4.13
132 Contact:        benjamin.gaignard@st.com          121 Contact:        benjamin.gaignard@st.com
133 Description:                                      122 Description:
134                 Reading returns the list possi    123                 Reading returns the list possible trigger modes.
135                                                   124 
136 What:           /sys/bus/iio/devices/iio:devic    125 What:           /sys/bus/iio/devices/iio:deviceX/in_count0_trigger_mode
137 KernelVersion:  4.13                              126 KernelVersion:  4.13
138 Contact:        benjamin.gaignard@st.com          127 Contact:        benjamin.gaignard@st.com
139 Description:                                      128 Description:
140                 Configure the device counter t    129                 Configure the device counter trigger mode
141                 counting direction is set by i    130                 counting direction is set by in_count0_count_direction
142                 attribute and the counter is c    131                 attribute and the counter is clocked by the connected trigger
143                 rising edges.                     132                 rising edges.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php