arduino-audio-driver
Loading...
Searching...
No Matches
Public Member Functions | List of all members
API_GPIO Class Referenceabstract

#include <API_GPIO.h>

Inheritance diagram for API_GPIO:
GPIOExt GPIOZephyr TCA9555

Public Member Functions

virtual int analogRead (ADCPin pin)=0
 Returns the raw ADC value for the given pin, or -1 if not supported.
 
virtual bool begin (IDriverDeviceInfo &pins)=0
 
virtual bool digitalRead (GpioPin pin)=0
 
virtual bool digitalWrite (GpioPin pin, bool value)=0
 
virtual void end ()=0
 
virtual void pinMode (GpioPin pin, int mode)=0
 

Member Function Documentation

◆ analogRead()

virtual int analogRead ( ADCPin  pin)
pure virtual

Returns the raw ADC value for the given pin, or -1 if not supported.

Implemented in GPIOZephyr, TCA9555, and GPIOExt.

◆ begin()

virtual bool begin ( IDriverDeviceInfo &  pins)
pure virtual

Implemented in GPIOZephyr, GPIOExt, and TCA9555.

◆ digitalRead()

virtual bool digitalRead ( GpioPin  pin)
pure virtual

Implemented in GPIOZephyr, GPIOExt, and TCA9555.

◆ digitalWrite()

virtual bool digitalWrite ( GpioPin  pin,
bool  value 
)
pure virtual

Implemented in GPIOZephyr, GPIOExt, and TCA9555.

◆ end()

virtual void end ( )
pure virtual

Implemented in GPIOZephyr, GPIOExt, and TCA9555.

◆ pinMode()

virtual void pinMode ( GpioPin  pin,
int  mode 
)
pure virtual

Implemented in GPIOZephyr, GPIOExt, and TCA9555.


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