|
Parking Garage Control System
ESP32 Parking Garage – ESP-IDF/FreeRTOS
|
Interface for GPIO input abstraction. More...
#include <IGpioInput.h>

Public Member Functions | |
| virtual | ~IGpioInput ()=default |
| virtual bool | getLevel () const =0 |
| Get current logic level of GPIO input. | |
| virtual void | setInterruptHandler (std::function< void(bool level)> handler)=0 |
| Set interrupt handler callback. | |
| virtual void | enableInterrupt ()=0 |
| Enable interrupt for this GPIO. | |
| virtual void | disableInterrupt ()=0 |
| Disable interrupt for this GPIO. | |
Interface for GPIO input abstraction.
Provides hardware abstraction for GPIO inputs with interrupt support. Enables testability through mock implementations.
|
virtualdefault |
|
pure virtual |
Disable interrupt for this GPIO.
Implemented in EspGpioInput.
|
pure virtual |
Enable interrupt for this GPIO.
Implemented in EspGpioInput.
|
pure virtual |
Get current logic level of GPIO input.
Implemented in EspGpioInput.
|
pure virtual |
Set interrupt handler callback.
| handler | Function called when interrupt triggers (parameter: current level) |
Implemented in EspGpioInput.