arduino-audio-driver
Public Member Functions | Public Attributes | List of all members
PinsFunction Struct Reference

Pins for LED, Buttons, AMP etc. More...

#include <DriverPins.h>

Public Member Functions

 PinsFunction ()=default
 
 PinsFunction (PinFunction function, GpioPin pin, PinLogic logic, int index=0)
 

Public Attributes

bool active = true
 
PinFunction function
 
int index = 0
 
int pin = -1
 
PinLogic pin_logic
 

Detailed Description

Pins for LED, Buttons, AMP etc.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ PinsFunction() [1/2]

PinsFunction ( )
default

◆ PinsFunction() [2/2]

PinsFunction ( PinFunction  function,
GpioPin  pin,
PinLogic  logic,
int  index = 0 
)
inline

Member Data Documentation

◆ active

bool active = true

◆ function

PinFunction function

◆ index

int index = 0

◆ pin

int pin = -1

◆ pin_logic

PinLogic pin_logic

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