altos: Add fast-timer API. Use for quadrature and button drivers
authorKeith Packard <keithp@keithp.com>
Mon, 10 Jun 2013 05:09:13 +0000 (22:09 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 10 Jun 2013 05:09:13 +0000 (22:09 -0700)
commit988924b51980ad43e39bc4785a625ff25eb16449
treeb0b3abecd78b1a3471244867cbbe9d3bbf1c7944
parent72b6c699d355fcd41addb9919d846e63105b9db7
altos: Add fast-timer API. Use for quadrature and button drivers

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 <keithp@keithp.com>
src/core/ao.h
src/core/ao_debounce.c [new file with mode: 0644]
src/core/ao_debounce.h
src/drivers/ao_button.c
src/drivers/ao_quadrature.c
src/stm/ao_debounce.c [deleted file]
src/stm/ao_fast_timer.c [new file with mode: 0644]
src/stm/ao_fast_timer.h [new file with mode: 0644]
src/stm/stm32l.h
src/telelco-v0.2/Makefile
src/telelco-v0.2/ao_pins.h