|
|
@ -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);
|
|
|
|
|
|
|
|
|
|
|
|