distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::devices::OutputPin Class Referenceabstract

#include "distortos/devices/io/OutputPin.hpp"

Inheritance diagram for distortos::devices::OutputPin:
Collaboration diagram for distortos::devices::OutputPin:

Public Member Functions

virtual void set (bool state)=0
 Sets state of pin. More...
- Public Member Functions inherited from distortos::devices::InputPin
virtual ~InputPin ()=default
 InputPin's destructor. More...
virtual bool get () const =0

Detailed Description

OutputPin class is an interface for single output pin

Member Function Documentation

◆ set()

virtual void distortos::devices::OutputPin::set ( bool  state)
pure virtual

Sets state of pin.

[in]stateis the new state of pin

Implemented in distortos::chip::ChipOutputPin.

Here is the caller graph for this function:

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