Unverified Commit b5aeb84c authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Add NOT_AN_INTERRUPT define (#105)

Fix #104
parent d490499c
......@@ -50,6 +50,7 @@ void detachInterrupt(pin_size_t pin);
#define digitalPinToBitMask(pin) (1UL << (pin))
#define digitalPinToTimer(pin) (0)
#define digitalPinToInterrupt(pin) (pin)
#define NOT_AN_INTERRUPT (-1)
#define portOutputRegister(port) ((volatile uint32_t*) sio_hw->gpio_out)
#define portInputRegister(port) ((volatile uint32_t*) sio_hw->gpio_in)
#define portModeRegister(port) ((volatile uint32_t*) sio_hw->gpio_oe)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment