X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f1%2Fao_exti.h;fp=src%2Fstm32f1%2Fao_exti.h;h=d072d140292bac9b58843209a142584075f63761;hb=4e9dbae68893181165b2c3a3f111b12cb86c7eb6;hp=1d19a48f60dcd63b99a3b964d318710197b9f72a;hpb=c4cc908d642ea1c52c07b80106b5463e22f3c888;p=fw%2Faltos diff --git a/src/stm32f1/ao_exti.h b/src/stm32f1/ao_exti.h index 1d19a48f..d072d140 100644 --- a/src/stm32f1/ao_exti.h +++ b/src/stm32f1/ao_exti.h @@ -19,16 +19,6 @@ #ifndef _AO_EXTI_H_ #define _AO_EXTI_H_ -#define AO_EXTI_MODE_RISING 1 -#define AO_EXTI_MODE_FALLING 2 -#define AO_EXTI_MODE_PULL_NONE 0 -#define AO_EXTI_MODE_PULL_UP 4 -#define AO_EXTI_MODE_PULL_DOWN 8 -#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 ao_exti_setup(struct stm_gpio *gpio, uint8_t pin, uint8_t mode, void (*callback)(void));