template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 248 of file fidling/gen/sdk/fidl/fuchsia.hardware.pin/fuchsia.hardware.pin/cpp/fidl/fuchsia.hardware.pin/cpp/wire_types.h
Public Methods
::fuchsia_hardware_pin::wire::Configuration Build ()
Build and return the table. The builder should not be used after this.
bool has_pull ()
void clear_pull ()
Clears the pull field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_pin::wire::Pull & pull ()
Whether to enable the built-in pull-down resistor, pull-up resistor, or neither.
BuilderImpl & pull (::fuchsia_hardware_pin::wire::Pull elem)
Whether to enable the built-in pull-down resistor, pull-up resistor, or neither.
bool has_function ()
void clear_function ()
Clears the function field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & function ()
Configures the pin for an alternate function (I2C, SPI, etc). The interpretation of
`function` is controller dependent.
BuilderImpl & function (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Configures the pin for an alternate function (I2C, SPI, etc). The interpretation of
`function` is controller dependent.
bool has_drive_strength_ua ()
void clear_drive_strength_ua ()
Clears the drive_strength_ua field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & drive_strength_ua ()
The pin drive strength in microamps. Rounds up to the nearest supported drive strength.
BuilderImpl & drive_strength_ua (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
The pin drive strength in microamps. Rounds up to the nearest supported drive strength.
bool has_drive_type ()
void clear_drive_type ()
Clears the drive_type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_pin::wire::DriveType & drive_type ()
The pin drive type.
BuilderImpl & drive_type (::fuchsia_hardware_pin::wire::DriveType elem)
The pin drive type.
bool has_power_source ()
void clear_power_source ()
Clears the power_source field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & power_source ()
Selects the power source. Interpretation is controller dependent.
BuilderImpl & power_source (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Selects the power source. Interpretation is controller dependent.
bool has_wake_vector ()
void clear_wake_vector ()
Clears the wake_vector field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & wake_vector ()
Determines whether the interrupt is wakeable or not.
BuilderImpl & wake_vector (bool elem)
Determines whether the interrupt is wakeable or not.
bool has_slew_rate ()
void clear_slew_rate ()
Clears the slew_rate field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint64_t & slew_rate ()
Configures how quickly the pin can transition between high and low states. The
interpretation of `slew_rate` is controller dependent.
BuilderImpl & slew_rate (Wrapper_Ignore_Me_< ::fidl::ObjectView<uint64_t>> elem)
Configures how quickly the pin can transition between high and low states. The
interpretation of `slew_rate` is controller dependent.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_pin::wire::Configuration, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_pin::wire::Configuration>> && frame)