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

#include <GPIO_Zephyr.h>

Inheritance diagram for GPIOZephyr:
API_GPIO

Public Member Functions

 GPIOZephyr ()=default
 
int analogRead (ADCPin pin)
 Reads the raw ADC sample described by an adc_dt_spec device-tree node.
 
bool begin (IDriverDeviceInfo &pins)
 
bool digitalRead (GpioPin pin)
 
bool digitalWrite (GpioPin pin, bool value)
 
void end ()
 
void pinMode (GpioPin pin, int mode)
 

Constructor & Destructor Documentation

◆ GPIOZephyr()

GPIOZephyr ( )
default

Member Function Documentation

◆ analogRead()

int analogRead ( ADCPin  pin)
inlinevirtual

Reads the raw ADC sample described by an adc_dt_spec device-tree node.

Implements API_GPIO.

◆ begin()

bool begin ( IDriverDeviceInfo &  pins)
inlinevirtual

Implements API_GPIO.

◆ digitalRead()

bool digitalRead ( GpioPin  pin)
inlinevirtual

Implements API_GPIO.

◆ digitalWrite()

bool digitalWrite ( GpioPin  pin,
bool  value 
)
inlinevirtual

Implements API_GPIO.

◆ end()

void end ( )
inlinevirtual

Implements API_GPIO.

◆ pinMode()

void pinMode ( GpioPin  pin,
int  mode 
)
inlinevirtual

Implements API_GPIO.


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