projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib: Check for negative tick wrap when importing flight records
[fw/altos]
/
src
/
lpc
/
ao_exti.h
diff --git
a/src/lpc/ao_exti.h
b/src/lpc/ao_exti.h
index cbe63eaae8c5c9a801af2d63d700a41cb94e3203..226979bc36c3c83755bb63920adf672bd1b9f065 100644
(file)
--- a/
src/lpc/ao_exti.h
+++ b/
src/lpc/ao_exti.h
@@
-3,7
+3,8
@@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-25,15
+26,16
@@
#define AO_EXTI_PRIORITY_LOW 16
#define AO_EXTI_PRIORITY_MED 0
#define AO_EXTI_PRIORITY_HIGH 32
#define AO_EXTI_PRIORITY_LOW 16
#define AO_EXTI_PRIORITY_MED 0
#define AO_EXTI_PRIORITY_HIGH 32
+#define AO_EXTI_PIN_NOCONFIGURE 64
void
void
-ao_exti_setup(uint8_t gpio, uint8_t pin, uint8_t mode, void (*callback)());
+ao_exti_setup(uint8_t gpio, uint8_t pin, uint8_t mode, void (*callback)(
void
));
void
ao_exti_set_mode(uint8_t gpio, uint8_t pin, uint8_t mode);
void
void
ao_exti_set_mode(uint8_t gpio, uint8_t pin, uint8_t mode);
void
-ao_exti_set_callback(uint8_t gpio, uint8_t pin, void (*callback)());
+ao_exti_set_callback(uint8_t gpio, uint8_t pin, void (*callback)(
void
));
void
ao_exti_enable(uint8_t gpio, uint8_t pin);
void
ao_exti_enable(uint8_t gpio, uint8_t pin);