![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
ADC-capable GPIO pin number. More...
#include <SimWheelTypes.hpp>
Public Member Functions | |
| ADC_GPIO () | |
| Create a "not connected" ADC GPIO. | |
| ADC_GPIO (int pin) | |
| Create an ADC GPIO connected to a pin number. | |
| ADC_GPIO (UNSPECIFIED value) | |
| Create a "not connected" ADC GPIO. | |
Public Member Functions inherited from InputGPIO | |
| InputGPIO () | |
| Create a "not connected" input GPIO. | |
| InputGPIO (int pin) | |
| Create an input GPIO. | |
| InputGPIO (UNSPECIFIED value) | |
| Create a "not connected" input 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. | |
ADC-capable GPIO pin number.
Definition at line 805 of file SimWheelTypes.hpp.
|
inline |
Create a "not connected" ADC GPIO.
Definition at line 809 of file SimWheelTypes.hpp.
|
inline |
Create an ADC GPIO connected to a pin number.
| pin | Pin number |
Definition at line 816 of file SimWheelTypes.hpp.
|
inline |
Create a "not connected" ADC GPIO.
| value | Unspecified value |
Definition at line 823 of file SimWheelTypes.hpp.