Model Railroad System 2.2.2
|
Output pin, initialized to high. More...
Public Member Functions | |
GpioOutputSafeHigh (name,...) | |
Constructor, used to set up the GPIO pin. More... | |
~GpioOutputSafeHigh () | |
Destructor. More... | |
Private Attributes | |
basepin | |
The base pin. More... | |
Output pin, initialized to high.
name | Name of the pin. |
... | Options:
|
linuxgpio::GpioOutputSafeHigh::GpioOutputSafeHigh | ( | 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::GpioOutputSafeHigh::~GpioOutputSafeHigh | ( | ) |
Destructor.
Unexport the pin.
|
private |
The base pin.