10#ifndef SEMF_INPUT_DIGITALIN_DIGITALININT_H_
11#define SEMF_INPUT_DIGITALIN_DIGITALININT_H_
Base class for having access to the level state of a digital input.
Gpio & gpio() const
Returns the pointer to the GPIO to check the status from.
Class for reading a digital input in interrupt mode.
DigitalInInt(const DigitalInInt &other)=delete
DigitalInInt(ExternalInterrupt &extInterrupt, Gpio &gpio, bool inverted=false)
Constructor.
virtual ~DigitalInInt()=default
Interface for using a external interrupt.
Interface class for using a GPIO pin of the microcontroller.