23 SEMF_INFO(
"set inverted to %d", inverted);
24 m_inverted = inverted;
State state() const override
Gets the present/current state of a GPIO pin.
void set(State state=High) override
Sets the output level of a GPIO pin.
DigitalOut(Gpio &gpio, bool inverted=false)
Constructor.
void setInverted(bool inverted) override
Configures the inversion of the output.
Interface class for using a GPIO pin of the microcontroller.
virtual bool state() const =0
Returns the current state of the pin.