Event that is triggered on an input pin change.
More...
#include <events.h>
Event that is triggered on an input pin change.
Definition at line 254 of file events.h.
◆ ISREvent()
| reactesp::ISREvent::ISREvent |
( |
uint8_t | pin_number, |
|
|
int | mode, |
|
|
react_callback | callback ) |
|
inline |
Construct a new ISREvent object.
- Parameters
-
| pin_number | GPIO pin number to which the interrupt is attached |
| mode | Interrupt mode. One of RISING, FALLING, CHANGE |
| callback | Interrupt callback. Keep this function short and add the ICACHE_RAM_ATTR attribute. |
Definition at line 273 of file events.h.
◆ add()
| void reactesp::ISREvent::add |
( |
EventLoop * | event_loop | ) |
|
|
overridevirtual |
◆ remove()
| void reactesp::ISREvent::remove |
( |
EventLoop * | event_loop | ) |
|
|
overridevirtual |
◆ tick()
| void reactesp::ISREvent::tick |
( |
EventLoop * | event_loop | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: