distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
OutputPin.hpp
Go to the documentation of this file.
1
12
#ifndef INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
13
#define INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
14
15
#include "
distortos/devices/io/InputPin.hpp
"
16
17
namespace
distortos
18
{
19
20
namespace
devices
21
{
22
29
class
OutputPin
:
public
InputPin
30
{
31
public
:
32
39
virtual
void
set
(
bool
state) = 0;
40
};
41
42
}
// namespace devices
43
44
}
// namespace distortos
45
46
#endif // INCLUDE_DISTORTOS_DEVICES_IO_OUTPUTPIN_HPP_
distortos::devices::OutputPin
Definition:
OutputPin.hpp:29
distortos::devices::OutputPin::set
virtual void set(bool state)=0
Sets state of pin.
InputPin.hpp
InputPin class header.
distortos
Top-level namespace of distortos project.
Definition:
buttons.hpp:33
distortos::devices::InputPin
Definition:
InputPin.hpp:27
include
distortos
devices
io
OutputPin.hpp
Generated on Sun May 5 2019 16:29:54 for distortos by
1.8.15