Class espos::sensors::GpioState
ClassList > espos > sensors > GpioState
#include <espos_sensors/sensors.hpp>
Inherits the following classes: espos::flow::NodeBase, espos::flow::Producer
Public Types inherited from espos::flow::Producer
See espos::flow::Producer
Public Attributes inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Public Functions
Public Functions inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Public Functions inherited from espos::flow::Producer
See espos::flow::Producer
Protected Functions
Protected Functions inherited from espos::flow::NodeBase
See espos::flow::NodeBase
Protected Functions inherited from espos::flow::Producer
See espos::flow::Producer
Public Functions Documentation
function GpioState
inline espos::sensors::GpioState::GpioState (
const char * id,
int gpio,
uint32_t period_ms=100,
uint8_t stable_ticks=1,
bool invert=true,
espos_gpio_pull_t pull=ESPOS_GPIO_PULL_UP
)
function level
inline bool espos::sensors::GpioState::level () const
function open_error
inline esp_err_t espos::sensors::GpioState::open_error () const
function start
inline esp_err_t espos::sensors::GpioState::start ()
function stop
inline void espos::sensors::GpioState::stop ()
Protected Functions Documentation
function node_id_for_error
inline virtual const char * espos::sensors::GpioState::node_id_for_error () override const
Implements espos::flow::Producer::node_id_for_error
The documentation for this class was generated from the following file espos_sensors/include/espos_sensors/sensors.hpp