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

Public Member Functions | |
| virtual | ~IGpioOutput ()=default |
| virtual void | setLevel (bool high)=0 |
| Set GPIO output level. | |
| virtual bool | getLevel () const =0 |
| Get current GPIO output level. | |
| virtual void | setLevel (bool level)=0 |
| virtual bool | getLevel () const =0 |
| virtual | ~IGpioOutput ()=default |
Interface for GPIO output abstraction.
Provides hardware abstraction for GPIO outputs. Enables testability through mock implementations.
|
virtualdefault |
|
virtualdefault |
|
pure virtual |
Get current GPIO output level.
Implemented in EspGpioOutput, EspServoOutput, Esp32Gpio, and MockGpio.
|
pure virtual |
Implemented in EspGpioOutput, EspServoOutput, Esp32Gpio, and MockGpio.
|
pure virtual |
Set GPIO output level.
| high | true for HIGH, false for LOW |
Implemented in EspGpioOutput, EspServoOutput, Esp32Gpio, and MockGpio.
|
pure virtual |
Implemented in EspGpioOutput, EspServoOutput, Esp32Gpio, and MockGpio.