|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
A single GPIO pin. More...
#include <Raspin>
Public Member Functions | |
| void | setup (Mode mode) |
| Configure GPIO pin. | |
| Mode | mode () const |
| Get currently active GPIO mode. | |
| int | index () const |
| Get GPIO number. | |
| operator Level () const | |
| Get GPIO level (either input or output level) | |
| Pin & | operator= (Level level) |
| Set GPIO output level. | |
A single GPIO pin.
| void setup | ( | Mode | mode | ) |
Configure GPIO pin.
| Mode mode | ( | ) | const |
Get currently active GPIO mode.
| int index | ( | ) | const |
Get GPIO number.
| operator Level | ( | ) | const |
Get GPIO level (either input or output level)