Skip to content

Instantly share code, notes, and snippets.

@sidprice
Created February 24, 2018 18:45
Show Gist options
  • Save sidprice/9c3f6981d5e5424fb1c906e597bb8ce8 to your computer and use it in GitHub Desktop.
Save sidprice/9c3f6981d5e5424fb1c906e597bb8ce8 to your computer and use it in GitHub Desktop.
gpio_mode_setup(WINC1500_PORT, GPIO_MODE_INPUT, GPIO_PUPD_NONE, WINC1500_IRQ); // Input signal with pulldown
exti_select_source(WINC1500_IRQ, WINC1500_PORT);
exti_set_trigger(WINC1500_IRQ, EXTI_TRIGGER_FALLING);
exti_enable_request(WINC1500_IRQ);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment