modm API documentation
|
#include <modm/platform/gpio/inverted.hpp>
Static Public Member Functions | |
static void | setOutput (bool value) |
static void | set () |
static void | set (bool value) |
static void | reset () |
static bool | read () |
static bool | isSet () |
Static Public Attributes | |
static constexpr bool | isInverted = not Pin::isInverted |
Invert a pin in software.
This template can be used the invert the logic level of a normal pin template.
Example: