mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
16 lines
288 B
C++
16 lines
288 B
C++
#ifndef FUNCTIONALINTERRUPT_H
|
|
#define FUNCTIONALINTERRUPT_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <functional>
|
|
|
|
extern "C" {
|
|
#include "c_types.h"
|
|
#include "ets_sys.h"
|
|
}
|
|
|
|
void attachInterrupt(uint8_t pin, std::function<void(void)> intRoutine, int mode);
|
|
|
|
#endif //INTERRUPTS_H
|