class Configuration

Defined at line 50 of file fidling/gen/sdk/fidl/fuchsia.hardware.pin/fuchsia.hardware.pin/cpp/fidl/fuchsia.hardware.pin/cpp/natural_types.h

Public Methods

void Configuration ()

Defined at line 56 of file fidling/gen/sdk/fidl/fuchsia.hardware.pin/fuchsia.hardware.pin/cpp/fidl/fuchsia.hardware.pin/cpp/natural_types.h

void Configuration (Configuration && )

Defined at line 57 of file fidling/gen/sdk/fidl/fuchsia.hardware.pin/fuchsia.hardware.pin/cpp/fidl/fuchsia.hardware.pin/cpp/natural_types.h

void Configuration (Storage_ storage)
void Configuration (const Configuration & other)
Configuration & operator= (const Configuration & other)
bool operator== (const Configuration & other)
bool operator!= (const Configuration & other)
bool IsEmpty ()
const std::optional< ::fuchsia_hardware_pin::Pull> & pull ()

Whether to enable the built-in pull-down resistor, pull-up resistor, or neither.

::std::optional< ::fuchsia_hardware_pin::Pull> & pull ()

Whether to enable the built-in pull-down resistor, pull-up resistor, or neither.

Configuration & pull (std::optional< ::fuchsia_hardware_pin::Pull> value)

Whether to enable the built-in pull-down resistor, pull-up resistor, or neither.

const std::optional<uint64_t> & function ()

Configures the pin for an alternate function (I2C, SPI, etc). The interpretation of

`function` is controller dependent.

::std::optional<uint64_t> & function ()

Configures the pin for an alternate function (I2C, SPI, etc). The interpretation of

`function` is controller dependent.

Configuration & function (std::optional<uint64_t> value)

Configures the pin for an alternate function (I2C, SPI, etc). The interpretation of

`function` is controller dependent.

const std::optional<uint64_t> & drive_strength_ua ()

The pin drive strength in microamps. Rounds up to the nearest supported drive strength.

::std::optional<uint64_t> & drive_strength_ua ()

The pin drive strength in microamps. Rounds up to the nearest supported drive strength.

Configuration & drive_strength_ua (std::optional<uint64_t> value)

The pin drive strength in microamps. Rounds up to the nearest supported drive strength.

const std::optional< ::fuchsia_hardware_pin::DriveType> & drive_type ()

The pin drive type.

::std::optional< ::fuchsia_hardware_pin::DriveType> & drive_type ()

The pin drive type.

Configuration & drive_type (std::optional< ::fuchsia_hardware_pin::DriveType> value)

The pin drive type.

Configuration & operator= (Configuration && )

Defined at line 58 of file fidling/gen/sdk/fidl/fuchsia.hardware.pin/fuchsia.hardware.pin/cpp/fidl/fuchsia.hardware.pin/cpp/natural_types.h

const std::optional<uint64_t> & power_source ()

Selects the power source. Interpretation is controller dependent.

::std::optional<uint64_t> & power_source ()

Selects the power source. Interpretation is controller dependent.

Configuration & power_source (std::optional<uint64_t> value)

Selects the power source. Interpretation is controller dependent.

const std::optional<bool> & wake_vector ()

Determines whether the interrupt is wakeable or not.

::std::optional<bool> & wake_vector ()

Determines whether the interrupt is wakeable or not.

Configuration & wake_vector (std::optional<bool> value)

Determines whether the interrupt is wakeable or not.

const std::optional<uint64_t> & slew_rate ()

Configures how quickly the pin can transition between high and low states. The

interpretation of `slew_rate` is controller dependent.

::std::optional<uint64_t> & slew_rate ()

Configures how quickly the pin can transition between high and low states. The

interpretation of `slew_rate` is controller dependent.

Configuration & slew_rate (std::optional<uint64_t> value)

Configures how quickly the pin can transition between high and low states. The

interpretation of `slew_rate` is controller dependent.

void Configuration (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits