![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Output-capable GPIO pin number. More...
#include <SimWheelTypes.hpp>
Public Member Functions | |
| OutputGPIO (int pin) | |
| Create a GPIO. | |
| OutputGPIO () | |
| Create a "not connected" GPIO. | |
| OutputGPIO (UNSPECIFIED value) | |
| Create a "not connected" GPIO. | |
Public Member Functions inherited from GPIO | |
| GPIO (int pin) | |
| Assign a pin number. | |
| GPIO () | |
| Create a GPIO as "not connected". | |
| GPIO (UNSPECIFIED value) | |
| Assign a "not connected" value. | |
| operator int () const | |
| Get pin number. | |
| GPIO (const GPIO &instance) | |
| Copy another GPIO instance. | |
| bool | operator== (const UNSPECIFIED value) const |
| Check if "not connected". | |
| bool | operator!= (const UNSPECIFIED value) const |
| Check if a pin number was assigned. | |
| void | reserve () const |
| Reserve this GPIO for exclusive use. | |
| void | grant () const |
| Grant this GPIO for non-exclusive use. | |
| void | abortIfUnspecified () const |
| Throw an exception if unspecified. | |
Additional Inherited Members | |
Protected Attributes inherited from GPIO | |
| int | _pin |
| Assigned pin number. | |
Output-capable GPIO pin number.
Definition at line 763 of file SimWheelTypes.hpp.
|
inline |
|
inline |
Create a "not connected" GPIO.
Definition at line 777 of file SimWheelTypes.hpp.
|
inline |
Create a "not connected" GPIO.
Definition at line 779 of file SimWheelTypes.hpp.