distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::devices::InputPin Class Referenceabstract

#include <InputPin.hpp>

Inheritance diagram for distortos::devices::InputPin:
[legend]

Public Member Functions

virtual ~InputPin ()=0
 InputPin's destructor. More...
 
virtual bool get () const =0
 

Detailed Description

InputPin class is an interface for single input pin

Constructor & Destructor Documentation

◆ ~InputPin()

distortos::devices::InputPin::~InputPin ( )
pure virtual

InputPin's destructor.

Member Function Documentation

◆ get()

virtual bool distortos::devices::InputPin::get ( ) const
pure virtual
Returns
current state of pin

Implemented in distortos::chip::ChipOutputPin, and distortos::chip::ChipInputPin.


The documentation for this class was generated from the following files: