61 void setDirections(
int lsbPins,
int msbPins,
int lsbDirs,
int msbDirs);
89 int setValue(
const char* pin,
unsigned int value);
98 void setValues(
int lsbPins,
int msbPins,
int lsbValues,
int msbValues);
105 unsigned int getValue(
const char *pin);
112 void getValues(
int &lsbValues,
int &msbValues);
Class for GPIO manipulations.
Definition: gpio.h:38
int getDirection(const char *pin)
Get direction.
void setValues(int lsbPins, int msbPins, int lsbValues, int msbValues)
Set values for all pins simultaneously (see bit arithmetic)
GpioReturn getValues()
Get directions for all pins simultaneously.
unsigned int getValue(const char *pin)
Get value.
void setDirections(int lsbPins, int msbPins, int lsbDirs, int msbDirs)
Set directions for all pins simultaneously (see bit arithmetic)
GpioReturn getDirections()
Get directions for all pins simultaneously.
int setValue(const char *pin, unsigned int value)
Set value.
unsigned int getPinNumber(const char *pin)
Get CPU pin number.
int setDirection(const char *pin, int direction)
Set direction.
Structure for return values.
Definition: gpio.h:27