libgpiod 2.1.3
|
Namespace containing various type definitions for GPIO lines. More...
Data Structures | |
class | offset |
Wrapper around unsigned int for representing line offsets. More... | |
enum class | value { INACTIVE = 0 , ACTIVE = 1 } |
Logical line states. More... | |
enum class | direction { AS_IS = 1 , INPUT , OUTPUT } |
Direction settings. More... | |
enum class | edge { NONE = 1 , RISING , FALLING , BOTH } |
Edge detection settings. More... | |
enum class | bias { AS_IS = 1 , UNKNOWN , DISABLED , PULL_UP , PULL_DOWN } |
Internal bias settings. More... | |
enum class | drive { PUSH_PULL = 1 , OPEN_DRAIN , OPEN_SOURCE } |
Drive settings. More... | |
enum class | clock { MONOTONIC = 1 , REALTIME , HTE } |
Event clock settings. More... | |
using | offsets = ::std::vector< offset > |
Vector of line offsets. More... | |
using | values = ::std::vector< value > |
Vector of line values. More... | |
using | value_mapping = ::std::pair< offset, value > |
Represents a mapping of a line offset to line logical state. More... | |
using | value_mappings = ::std::vector< value_mapping > |
Vector of offset->value mappings. More... | |
::std::ostream & | operator<< (::std::ostream &out, value val) |
Stream insertion operator for logical line values. More... | |
::std::ostream & | operator<< (::std::ostream &out, direction dir) |
Stream insertion operator for direction values. More... | |
::std::ostream & | operator<< (::std::ostream &out, edge edge) |
Stream insertion operator for edge detection values. More... | |
::std::ostream & | operator<< (::std::ostream &out, bias bias) |
Stream insertion operator for bias values. More... | |
::std::ostream & | operator<< (::std::ostream &out, drive drive) |
Stream insertion operator for drive values. More... | |
::std::ostream & | operator<< (::std::ostream &out, clock clock) |
Stream insertion operator for event clock values. More... | |
::std::ostream & | operator<< (::std::ostream &out, const values &vals) |
Stream insertion operator for the list of output values. More... | |
::std::ostream & | operator<< (::std::ostream &out, const offsets &offs) |
Stream insertion operator for the list of line offsets. More... | |
::std::ostream & | operator<< (::std::ostream &out, const value_mapping &mapping) |
Stream insertion operator for the offset-to-value mapping. More... | |
::std::ostream & | operator<< (::std::ostream &out, const value_mappings &mappings) |
Stream insertion operator for the list of offset-to-value mappings. More... | |
Namespace containing various type definitions for GPIO lines.
using gpiod::line::offsets = typedef ::std::vector<offset> |
using gpiod::line::value_mapping = typedef ::std::pair<offset, value> |
using gpiod::line::value_mappings = typedef ::std::vector<value_mapping> |
using gpiod::line::values = typedef ::std::vector<value> |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
bias | bias | ||
) |
Stream insertion operator for bias values.
out | Output stream. |
bias | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
clock | clock | ||
) |
Stream insertion operator for event clock values.
out | Output stream. |
clock | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
const offsets & | offs | ||
) |
Stream insertion operator for the list of line offsets.
out | Output stream. |
offs | Object to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
const value_mapping & | mapping | ||
) |
Stream insertion operator for the offset-to-value mapping.
out | Output stream. |
mapping | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
const value_mappings & | mappings | ||
) |
Stream insertion operator for the list of offset-to-value mappings.
out | Output stream. |
mappings | Object to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
const values & | vals | ||
) |
Stream insertion operator for the list of output values.
out | Output stream. |
vals | Object to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
direction | dir | ||
) |
Stream insertion operator for direction values.
out | Output stream. |
dir | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
drive | drive | ||
) |
Stream insertion operator for drive values.
out | Output stream. |
drive | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
edge | edge | ||
) |
Stream insertion operator for edge detection values.
out | Output stream. |
edge | Value to insert into the output stream in a human-readable form. |
::std::ostream & gpiod::line::operator<< | ( | ::std::ostream & | out, |
value | val | ||
) |
Stream insertion operator for logical line values.
out | Output stream. |
val | Value to insert into the output stream in a human-readable form. |