template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 361 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdmmc/fuchsia.hardware.sdmmc/cpp/fidl/fuchsia.hardware.sdmmc/cpp/wire_types.h
Public Methods
::fuchsia_hardware_sdmmc::wire::SdmmcMetadata Build ()
Build and return the table. The builder should not be used after this.
bool has_max_frequency ()
void clear_max_frequency ()
Clears the max_frequency field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & max_frequency ()
Maximum bus operating frequency. The SDMMC core driver will cap the bus frequency to this
level. The default value is UINT32_MAX if no metadata is specified.
BuilderImpl & max_frequency (uint32_t elem)
Maximum bus operating frequency. The SDMMC core driver will cap the bus frequency to this
level. The default value is UINT32_MAX if no metadata is specified.
bool has_speed_capabilities ()
void clear_speed_capabilities ()
Clears the speed_capabilities field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_hardware_sdmmc::wire::SdmmcHostPrefs & speed_capabilities ()
Host-specific speed capabilities. The default value is 0 (no flags) if no metadata is
specified.
BuilderImpl & speed_capabilities (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_hardware_sdmmc::wire::SdmmcHostPrefs>> elem)
Host-specific speed capabilities. The default value is 0 (no flags) if no metadata is
specified.
bool has_enable_cache ()
void clear_enable_cache ()
Clears the enable_cache field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & enable_cache ()
If true, utilize the on-device volatile cache. The default value is true if no metadata is
specified. Ignored if the attached device or inserted card does not have storage.
BuilderImpl & enable_cache (bool elem)
If true, utilize the on-device volatile cache. The default value is true if no metadata is
specified. Ignored if the attached device or inserted card does not have storage.
bool has_removable ()
void clear_removable ()
Clears the removable field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & removable ()
If true, this SDMMC controller corresponds to a removable card slot that may have an
MMC/SD/SDIO card inserted or removed at any time. In this case, failure to probe during
driver initialization is not considered fatal. The default value is false if no metadata is
specified.
BuilderImpl & removable (bool elem)
If true, this SDMMC controller corresponds to a removable card slot that may have an
MMC/SD/SDIO card inserted or removed at any time. In this case, failure to probe during
driver initialization is not considered fatal. The default value is false if no metadata is
specified.
bool has_max_command_packing ()
void clear_max_command_packing ()
Clears the max_command_packing field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & max_command_packing ()
Use command packing (batching) up to this many commands. If zero, command packing is
disabled. The default value is 16 if no metadata is specified. Ignored if the attached
device or inserted card does not support command packing.
BuilderImpl & max_command_packing (uint32_t elem)
Use command packing (batching) up to this many commands. If zero, command packing is
disabled. The default value is 16 if no metadata is specified. Ignored if the attached
device or inserted card does not support command packing.
bool has_use_fidl ()
void clear_use_fidl ()
Clears the use_fidl field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & use_fidl ()
complete. If true, use the FIDL SDMMC protocol. If false, use the Banjo SDMMC protocol. The
default value is true if no metadata is specified.
BuilderImpl & use_fidl (bool elem)
complete. If true, use the FIDL SDMMC protocol. If false, use the Banjo SDMMC protocol. The
default value is true if no metadata is specified.
bool has_instance_identifier ()
void clear_instance_identifier ()
Clears the instance_identifier field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & instance_identifier ()
instead.
String identifier for the port instance. The default value is an empty string if no metadata
is specified.
BuilderImpl & instance_identifier (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
instead.
String identifier for the port instance. The default value is an empty string if no metadata
is specified.
bool has_vccq_off_with_controller_off ()
void clear_vccq_off_with_controller_off ()
Clears the vccq_off_with_controller_off field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
bool & vccq_off_with_controller_off ()
If true, the controller driver turns off VCC and VCCQ when in the OFF state. In this case
the card must be re-initialized after leaving the OFF state. If not set (or if no metadata
is provided), the default value is false.
BuilderImpl & vccq_off_with_controller_off (bool elem)
If true, the controller driver turns off VCC and VCCQ when in the OFF state. In this case
the card must be re-initialized after leaving the OFF state. If not set (or if no metadata
is provided), the default value is false.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_sdmmc::wire::SdmmcMetadata, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_sdmmc::wire::SdmmcMetadata>> && frame)