class DeviceVendorConfigureBusRequest
Defined at line 625 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdhci/fuchsia.hardware.sdhci/cpp/fidl/fuchsia.hardware.sdhci/cpp/natural_types.h
Public Methods
void DeviceVendorConfigureBusRequest (DeviceVendorConfigureBusRequest && other)
DeviceVendorConfigureBusRequest & operator= (DeviceVendorConfigureBusRequest && other)
void DeviceVendorConfigureBusRequest (const DeviceVendorConfigureBusRequest & other)
DeviceVendorConfigureBusRequest & operator= (const DeviceVendorConfigureBusRequest & other)
bool operator== (const DeviceVendorConfigureBusRequest & other)
bool operator!= (const DeviceVendorConfigureBusRequest & other)
bool IsUnknown ()
::fuchsia_hardware_sdhci::DeviceVendorConfigureBusRequest::Tag Which ()
DeviceVendorConfigureBusRequest WithVoltage (::fuchsia_hardware_sdmmc::SdmmcVoltage val)
const ::fidl::internal::UnionMemberView<1, Storage_> voltage ()
::fidl::internal::UnionMemberView<1, Storage_> voltage ()
DeviceVendorConfigureBusRequest & voltage (::fuchsia_hardware_sdmmc::SdmmcVoltage value)
Sets the union to hold the voltage member.
DeviceVendorConfigureBusRequest WithWidth (::fuchsia_hardware_sdmmc::SdmmcBusWidth val)
const ::fidl::internal::UnionMemberView<2, Storage_> width ()
::fidl::internal::UnionMemberView<2, Storage_> width ()
DeviceVendorConfigureBusRequest & width (::fuchsia_hardware_sdmmc::SdmmcBusWidth value)
Sets the union to hold the width member.
DeviceVendorConfigureBusRequest WithFrequencyHz (uint32_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> frequency_hz ()
::fidl::internal::UnionMemberView<3, Storage_> frequency_hz ()
DeviceVendorConfigureBusRequest & frequency_hz (uint32_t value)
SDHCI defines two clocks: the clock delivered to the external card ("SD clock") and the
internal clock (upstream of the SD clock).
`VendorConfigureBus()` with `frequency_hz` always enables the internal clock, and if
`frequency_hz` is nonzero, enables the SD clock with the given frequency (the SD clock
is disabled if `frequency_hz` is zero). The driver must wait for all clocks to be stable
before returning.
DeviceVendorConfigureBusRequest WithTiming (::fuchsia_hardware_sdmmc::SdmmcTiming val)
const ::fidl::internal::UnionMemberView<4, Storage_> timing ()
::fidl::internal::UnionMemberView<4, Storage_> timing ()
DeviceVendorConfigureBusRequest & timing (::fuchsia_hardware_sdmmc::SdmmcTiming value)
Sets the union to hold the timing member.
void DeviceVendorConfigureBusRequest (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kVoltage | 1 |
| kWidth | 2 |
| kFrequencyHz | 3 |
| kTiming | 4 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 633 of file fidling/gen/sdk/fidl/fuchsia.hardware.sdhci/fuchsia.hardware.sdhci/cpp/fidl/fuchsia.hardware.sdhci/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits