mirror of
https://github.com/esp8266/Arduino.git
synced 2025-11-02 02:53:10 +03:00
committed by
david gauchard
parent
98125f8860
commit
eea9999dc5
@@ -13,23 +13,20 @@ extern "C" {
|
||||
|
||||
// Structures for communication
|
||||
|
||||
struct InterruptInfo
|
||||
{
|
||||
uint8_t pin = 0;
|
||||
uint8_t value = 0;
|
||||
uint32_t micro = 0;
|
||||
struct InterruptInfo {
|
||||
uint8_t pin = 0;
|
||||
uint8_t value = 0;
|
||||
uint32_t micro = 0;
|
||||
};
|
||||
|
||||
struct FunctionInfo
|
||||
{
|
||||
struct FunctionInfo {
|
||||
std::function<void(void)> reqFunction = nullptr;
|
||||
std::function<void(InterruptInfo)> reqScheduledFunction = nullptr;
|
||||
std::function<void(InterruptInfo)> reqScheduledFunction = nullptr;
|
||||
};
|
||||
|
||||
struct ArgStructure
|
||||
{
|
||||
InterruptInfo* interruptInfo = nullptr;
|
||||
FunctionInfo* functionInfo = nullptr;
|
||||
struct ArgStructure {
|
||||
InterruptInfo* interruptInfo = nullptr;
|
||||
FunctionInfo* functionInfo = nullptr;
|
||||
};
|
||||
|
||||
static ScheduledFunctions* scheduledInterrupts;
|
||||
|
||||
Reference in New Issue
Block a user