OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
Loading...
Searching...
No Matches
RTC_GPIO Struct Reference

RTC-capable GPIO pin number. More...

#include <SimWheelTypes.hpp>

Public Member Functions

 RTC_GPIO (int pin)
 Create a RTC GPIO connected to a pin number.
 
- 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.
 

Detailed Description

RTC-capable GPIO pin number.

Definition at line 830 of file SimWheelTypes.hpp.

Constructor & Destructor Documentation

◆ RTC_GPIO()

RTC_GPIO::RTC_GPIO ( int pin)
inline

Create a RTC GPIO connected to a pin number.

Parameters
pinPin number

Definition at line 838 of file SimWheelTypes.hpp.


The documentation for this struct was generated from the following file: