<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/drivers/ao_quadrature.c, branch 1.3.2.2</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.3.2.2</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.3.2.2'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2014-05-15T15:31:24+00:00</updated>
<entry>
<title>altos: Make quadrature debounce per-pin rather than per-device</title>
<updated>2014-05-15T15:31:24+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-15T15:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=819f73698f57e76dca50fe4fadccebd23ffb776d'/>
<id>urn:sha1:819f73698f57e76dca50fe4fadccebd23ffb776d</id>
<content type='text'>
Debouncing per-pin means we don't lose transitions, which makes
counting a lot more precise.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Simplify quadrature tracking</title>
<updated>2014-05-09T07:05:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-05-09T07:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8d9c79f5c162e07d57d42c6ba5825a3327a911d5'/>
<id>urn:sha1:8d9c79f5c162e07d57d42c6ba5825a3327a911d5</id>
<content type='text'>
Set the timer to 200Hz for a 5ms debounce interval. Then, simply look
for transitions ending in both bits in the encoder being off, which
indicates the the encoder is resting in a detent. If bit '2' is
turning off, the encoder was rotated clockwise, otherwise the encoder
was rotated counter clockwise.

This is a lot more reliable, although still not perfect.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add fast-timer API. Use for quadrature and button drivers</title>
<updated>2013-06-10T05:09:13+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-06-10T05:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=988924b51980ad43e39bc4785a625ff25eb16449'/>
<id>urn:sha1:988924b51980ad43e39bc4785a625ff25eb16449</id>
<content type='text'>
This splits the fast-timer portion out of the debounce helper code and
shares that with the quadrature driver which now uses it directly.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add debounce helper. Use in button and quadrature drivers for TeleLCO</title>
<updated>2013-06-09T19:14:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-14T05:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=72b6c699d355fcd41addb9919d846e63105b9db7'/>
<id>urn:sha1:72b6c699d355fcd41addb9919d846e63105b9db7</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Test multiple quadrature devices. Export quadrature count.</title>
<updated>2012-08-27T20:41:13+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-27T20:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=708d49e498bbdc59bb5af9bf4ca5fcea5689547a'/>
<id>urn:sha1:708d49e498bbdc59bb5af9bf4ca5fcea5689547a</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add button driver and event queue</title>
<updated>2012-08-07T05:53:52+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-07T05:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=46f87373bc8c28442273ee4f8da3a352223150f5'/>
<id>urn:sha1:46f87373bc8c28442273ee4f8da3a352223150f5</id>
<content type='text'>
With this, a single task can wait for any button or quadrature input
device.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Support multiple quadrature encoders.</title>
<updated>2012-08-07T04:54:58+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-07T04:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=11046bc89b3ce6386f1005fc8476b08f54d6f5fb'/>
<id>urn:sha1:11046bc89b3ce6386f1005fc8476b08f54d6f5fb</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Fix up quadrature driver</title>
<updated>2012-08-07T03:20:32+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-07T03:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5f7e61c749b02ed16e368502062e39b0471e9257'/>
<id>urn:sha1:5f7e61c749b02ed16e368502062e39b0471e9257</id>
<content type='text'>
Mostly works now, should work reliably with a bit of input filtering.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add quadrature driver</title>
<updated>2012-08-07T02:34:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2012-08-07T02:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b0b52ca73bc836336ecc70247a9ed1dd633920d9'/>
<id>urn:sha1:b0b52ca73bc836336ecc70247a9ed1dd633920d9</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
