10#ifndef SEMF_SYSTEM_GPIO_H_
11#define SEMF_SYSTEM_GPIO_H_
44 virtual void set() = 0;
Interface class for using a GPIO pin of the microcontroller.
virtual Direction direction() const =0
Returns the direction setting of a GPIO.
virtual PullUpPullDown pullUpPullDown() const =0
Returns the pullup or pulldown setting of a GPIO.
virtual bool state() const =0
Returns the current state of the pin.
virtual void setPullUpPullDown(PullUpPullDown pullUpPullDown)=0
Sets the pullup or pulldown setting of a GPIO.
virtual void setDirection(Direction direction)=0
Sets the direction of a GPIO.
Signal for lightweight signal/slot implementation. One signal can be connected to multiple slots and ...