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

#include <OutputPin.hpp>

Inheritance diagram for distortos::devices::OutputPin:
[legend]
Collaboration diagram for distortos::devices::OutputPin:
[legend]

Public Member Functions

virtual void set (bool state)=0
 Sets state of pin. More...
 
- Public Member Functions inherited from distortos::devices::InputPin
virtual ~InputPin ()=0
 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.

Parameters
[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: