|
Open Model Railroad Network (OpenMRN)
|
GPIO-abstraction implementation for the blinker bit. More...
#include <BlinkerGPIO.hxx>
Static Public Member Functions | |
| static void | hw_init () |
| Initialize the hardware (noop). | |
| static void | hw_set_to_safe () |
| Set the hardware to safe setting (noop). | |
| static void | set (bool value) |
| Set the pin to a specific value. | |
| static void | toggle () |
| Toggle the pin (set to opposite value than previously). | |
| static bool | get () |
| static bool | is_output () |
| static constexpr const Gpio * | instance () |
GPIO-abstraction implementation for the blinker bit.
This allows a GPIO-style usage of the LED that is controlled by the blinker code in the FreeRTOS-compatible hardware implementations.
Definition at line 45 of file BlinkerGPIO.hxx.
|
inlinestatic |
Definition at line 66 of file BlinkerGPIO.hxx.
|
inlinestatic |
Initialize the hardware (noop).
Definition at line 48 of file BlinkerGPIO.hxx.
|
inlinestatic |
Set the hardware to safe setting (noop).
Definition at line 52 of file BlinkerGPIO.hxx.
|
inlinestaticconstexpr |
Definition at line 76 of file BlinkerGPIO.hxx.
|
inlinestatic |
Definition at line 71 of file BlinkerGPIO.hxx.
|
inlinestatic |
Set the pin to a specific value.
| value | what to set the pin to. |
Definition at line 56 of file BlinkerGPIO.hxx.
|
inlinestatic |
Toggle the pin (set to opposite value than previously).
Definition at line 61 of file BlinkerGPIO.hxx.