[LPC176x] Fix Interrupt forward declarations (#11200)

This commit is contained in:
Chris Pepper 2018-07-04 23:43:14 +01:00 committed by Scott Lahteine
parent cbea385ed7
commit 5abf5bc8a7

View File

@ -69,8 +69,8 @@ typedef uint8_t byte;
//Interrupts //Interrupts
void cli(void); // Disable void cli(void); // Disable
void sei(void); // Enable void sei(void); // Enable
void attachInterrupt(uint32_t pin, void (*callback)(void), uint32_t mode); void attachInterrupt(const pin_t pin, void (*callback)(void), uint32_t mode);
void detachInterrupt(uint32_t pin); void detachInterrupt(const pin_t pin);
extern "C" void GpioEnableInt(uint32_t port, uint32_t pin, uint32_t mode); extern "C" void GpioEnableInt(uint32_t port, uint32_t pin, uint32_t mode);
extern "C" void GpioDisableInt(uint32_t port, uint32_t pin); extern "C" void GpioDisableInt(uint32_t port, uint32_t pin);