8#ifndef __LIBGPIOD_CXX_LINE_SETTINGS_HPP__
9#define __LIBGPIOD_CXX_LINE_SETTINGS_HPP__
11#if !defined(__LIBGPIOD_GPIOD_CXX_INSIDE__)
12#error "Only gpiod.hpp can be included directly."
183 ::std::unique_ptr<impl> _m_priv;
194::std::ostream& operator<<(::std::ostream& out, const
line_settings& settings);
Contains a set of line config options used in line requests and reconfiguration.
Stores GPIO line settings.
line_settings & set_bias(line::bias bias)
Set bias setting.
line_settings()
Initializes the line_settings object with default values.
line_settings(line_settings &&other) noexcept
Move constructor.
line::bias bias() const
Get bias setting.
line::clock event_clock() const
Get the event clock used for edge event timestamps.
line_settings & reset() noexcept
Reset the line settings to default values.
line::drive drive() const
Get drive setting.
bool active_low() const noexcept
Get the active-low setting.
line::value output_value() const
Get the output value.
line_settings & set_direction(line::direction direction)
Set direction.
line_settings & operator=(const line_settings &other)
Copy assignment operator.
line_settings & set_active_low(bool active_low)
Set the active-low setting.
line_settings & set_output_value(line::value value)
Set the output value.
line_settings & set_edge_detection(line::edge edge)
Set edge detection.
line_settings(const line_settings &other)
Copy constructor.
line_settings & set_debounce_period(const ::std::chrono::microseconds &period)
Set debounce period.
line_settings & set_event_clock(line::clock event_clock)
Set the event clock to use for edge event timestamps.
line::direction direction() const
Get direction.
line_settings & set_drive(line::drive drive)
Set drive setting.
::std::chrono::microseconds debounce_period() const noexcept
Get debounce period.
line_settings & operator=(line_settings &&other)
Move assignment operator.
line::edge edge_detection() const
Get edge detection.