On 05/02/14 20:23, Sergei Shtylyov wrote:
Hello.
On 02/05/2014 10:01 PM, Matt Porter wrote:
[...]
This series adds support for PWM capture devices within IIO and
adds a TI ECAP IIO driver.
PWM capture devices are supported using a new IIO "pulse" channel type.
The IIO ECAP driver implements interrupt driven triggered buffer capture
only as raw sample reads are not applicable to this hardware.
Initially, the driver supports a single pulse width measurement with
configurable polarity. The ECAP hardware can support measurement of a
complete period and duty cycle but this is not yet implemented.
How about pulse counting? I have the hardware that can also
countpulses in addition to measuring the periods, so I'm interested
in this work (initially I supported it in driver/misc/ but it got
turned down for iio).
I'm afraid I'd forgotten this completely if you can dig out some links
to that discussion it would be great. Only one I can find right now
is a request that you post an ABI introducing this as a generic pulse
counter rather than a speed measurement.
Good point though - under my previous sketched outline, perhaps
in_waveform_cyclecount_input? (I would imagine that it doesn't come
out needing scaling!)
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html