diff options
author | Keith Packard <keithp@keithp.com> | 2013-06-09 22:09:13 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-06-09 22:09:13 -0700 |
commit | 988924b51980ad43e39bc4785a625ff25eb16449 (patch) | |
tree | b0b3abecd78b1a3471244867cbbe9d3bbf1c7944 /src/core/ao.h | |
parent | 72b6c699d355fcd41addb9919d846e63105b9db7 (diff) |
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>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r-- | src/core/ao.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 0886260f..caa0ec19 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -75,6 +75,7 @@ typedef AO_PORT_TYPE ao_port_t; #define AO_PANIC_CRASH 14 /* Processor crashed */ #define AO_PANIC_BUFIO 15 /* Mis-using bufio API */ #define AO_PANIC_EXTI 16 /* Mis-using exti API */ +#define AO_PANIC_FAST_TIMER 17 /* Mis-using fast timer API */ #define AO_PANIC_SELF_TEST_CC1120 0x40 | 1 /* Self test failure */ #define AO_PANIC_SELF_TEST_HMC5883 0x40 | 2 /* Self test failure */ #define AO_PANIC_SELF_TEST_MPU6000 0x40 | 3 /* Self test failure */ |