X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_exti.h;fp=src%2Fstm%2Fao_exti.h;h=b579ad9fa5aeee46872450ffa3f73c0b61fafad2;hb=f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc;hp=87a072e70e2784ebc3f9bf5001681bf858b125f2;hpb=936ecad62596f34773afb7460b10f63df7d0896d;p=fw%2Faltos diff --git a/src/stm/ao_exti.h b/src/stm/ao_exti.h index 87a072e7..b579ad9f 100644 --- a/src/stm/ao_exti.h +++ b/src/stm/ao_exti.h @@ -22,6 +22,9 @@ #define AO_EXTI_MODE_FALLING 2 #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 void ao_exti_setup(struct stm_gpio *gpio, uint8_t pin, uint8_t mode, void (*callback)());