10#ifndef SEMF_OUTPUT_DIGITALOUT_H_
11#define SEMF_OUTPUT_DIGITALOUT_H_
37 void reset()
override;
45 bool m_inverted =
false;
Class for handling a digital output.
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.
DigitalOut(const DigitalOut &other)=delete
Interface class for using a GPIO pin of the microcontroller.
Class for handling a digital output.
virtual ~DigitalOut()=default