|
Open Model Railroad Network (OpenMRN)
|
GPIO Pin definition structure with no actual pin behind it. More...
#include <DummyGPIO.hxx>
Static Public Member Functions | |
| static bool | get () |
| static bool | is_output () |
| static constexpr const Gpio * | instance () |
Static Public Member Functions inherited from DummyPin | |
| static void | hw_init () |
| Initializes the hardware to the required settings. | |
| static void | hw_set_to_safe () |
| Resets the hardware to a mode that is safe when there is no software running. | |
| static void | set (bool value) |
| Sets the output pin to a given level. | |
| static void | toggle () |
| Toggles the output pin level. | |
| static bool | is_output () |
| Returns whether this is an output pin or not. | |
| static void | set_hw () |
| Sets to "hardware" function. | |
| static void | set_output () |
| Sets to "GPIO out" function. | |
| static void | set_input () |
| Sets to "GPIO in" function. | |
GPIO Pin definition structure with no actual pin behind it.
All writes to this pin will be silently ignored. Reads will always return false.
Definition at line 82 of file DummyGPIO.hxx.
|
inlinestatic |
Definition at line 85 of file DummyGPIO.hxx.
|
inlinestaticconstexpr |
Definition at line 97 of file DummyGPIO.hxx.
|
inlinestatic |
Definition at line 91 of file DummyGPIO.hxx.