#include <cstdint>
#include <driver/gpio.h>
#include <Delegate.h>
#include <WConstants.h>
#include <sming_attr.h>
Include dependency graph for Interrupts.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
#define | cli() noInterrupts() |
#define | sei() interrupts() |
Typedefs | |
using | InterruptCallback = void(*)() |
using | InterruptDelegate = Delegate< void()> |
Functions | |
GPIO_INT_TYPE | ConvertArduinoInterruptMode (uint8_t mode) |
Convert Arduino interrupt mode to Sming mode. More... | |
void | attachInterrupt (uint8_t pin, InterruptCallback callback, GPIO_INT_TYPE type) |
Attach a function to a GPIO interrupt. More... | |
void | attachInterrupt (uint8_t pin, InterruptCallback callback, uint8_t mode) |
Attach a function to a GPIO interrupt. More... | |
void | attachInterrupt (uint8_t pin, InterruptDelegate delegateFunction, GPIO_INT_TYPE type) |
Attach a function to a GPIO interrupt. More... | |
void | attachInterrupt (uint8_t pin, InterruptDelegate delegateFunction, uint8_t mode) |
Attach a function to a GPIO interrupt. More... | |
void | attachInterruptHandler (uint8_t pin, GPIO_INT_TYPE type) |
Enable interrupts on GPIO pin. More... | |
void | detachInterrupt (uint8_t pin) |
Disable interrupts on GPIO pin. More... | |
void | interruptMode (uint8_t pin, GPIO_INT_TYPE type) |
Set interrupt mode. More... | |
void | interruptMode (uint8_t pin, uint8_t mode) |
Set interrupt mode. More... | |