Lines Matching +full:single +full:- +full:core
1 .. SPDX-License-Identifier: GPL-2.0
23 counter devices consist of a core set of components. This core set of
27 There are three core components to a counter:
39 ------
57 -------
68 Signal does not trigger the count function. In Pulse-Direction count
91 -----
106 * Pulse-Direction:
114 - x1 A:
120 - x1 B:
126 - x2 A:
130 - x2 B:
134 - x4:
143 The most basic counter device may be expressed as a single Count
144 associated with a single Signal via a single Synapse. Take for example
149 ----- ------- ------
150 +---------------------+
152 | Function: Increase | <------------- / Source \
154 +---------------------+
160 specified by the Synapse -- in this case a rising edge condition on the
166 A counter device is not limited to a single Signal; in fact, in theory
167 many Signals may be associated with even a single Count. For example, a
172 ----- ------- ------
173 +-------------------------+
175 | Function: Quadrature x4 | <------------ / A \
179 | | <------------ / B \
181 +-------------------------+
184 associated with a single Count: a rising or falling edge on either A or
193 operating in a non-quadrature Pulse-Direction mode could have one input
198 ----- ------- ------
199 +---------------------------+
201 | Function: Pulse-Direction | <------------- / A \ (Movement)
205 | | <------------- / B \ (Direction)
207 +---------------------------+
209 Only Signal A triggers the "Pulse-Direction" update function, but the
216 availability for state evaluation despite its non-triggering mode.
222 whether an input line is differential or single-ended) and instead focus
223 on the core idea of what the data and process represent (e.g. position
232 Documentation/ABI/testing/sysfs-bus-counter for detailed
244 provides several core data structures, function prototypes, and macros
247 .. kernel-doc:: include/linux/counter.h
250 .. kernel-doc:: drivers/counter/counter.c
280 if device memory-managed registration is desired.
309 non-specific to a particular Count or Signal. This is where you would
350 Documentation/ABI/testing/sysfs-bus-counter file.