Model Railroad System
2.2.1
|
Input pin, active high (high is true). More...
Public Member Functions | |
GpioInputActiveHigh (name,...) | |
Constructor, used to set up the GPIO pin. More... | |
~GpioInputActiveHigh () | |
Destructor. More... | |
Private Attributes | |
basepin | |
The base pin. More... | |
Input pin, active high (high is true).
name | Name of the pin. |
... | Options:
|
linuxgpio::GpioInputActiveHigh::GpioInputActiveHigh | ( | name | , |
... | |||
) |
Constructor, used to set up the GPIO pin.
The pin number is written to the export control file and then the pin's diection control file is computed and the pin's direction is written.
name | The name of the pin. |
... | Options:
|
linuxgpio::GpioInputActiveHigh::~GpioInputActiveHigh | ( | ) |
Destructor.
Unexport the pin.
|
private |
The base pin.