<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/stm/ao_fast_timer.c, branch fox1-v3-sn10</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=fox1-v3-sn10</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=fox1-v3-sn10'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2014-05-09T07:05:39+00:00</updated>
<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>
</feed>
