mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-07 06:01:35 +03:00
* Properly check for "functional" ISRs and expose C-style attachInterruptArg * Use RAII idiom (cherry picked from commit 15c0b5b356aad0c3032b96ed6db0ec70cbf719d3) # Conflicts: # cores/esp8266/core_esp8266_wiring_digital.cpp * Indentation * Easier reviewability * Refactored after review input. * Finish up insights from review comments.
This commit is contained in:
@ -218,6 +218,7 @@ uint8_t shiftIn(uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder);
|
||||
|
||||
void attachInterrupt(uint8_t pin, void (*)(void), int mode);
|
||||
void detachInterrupt(uint8_t pin);
|
||||
void attachInterruptArg(uint8_t pin, void (*)(void*), void* arg, int mode);
|
||||
|
||||
void preinit(void);
|
||||
void setup(void);
|
||||
|
Reference in New Issue
Block a user