class UicCommand

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

Public Methods

void UicCommand (Storage_ storage)
void UicCommand (::fuchsia_hardware_ufs::UicCommandOpcode opcode, ::std::array<uint32_t, 3> argument)
void UicCommand ()

Default constructs a |UicCommand| only if all of its members are default constructible.

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

void UicCommand (UicCommand && )

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

void UicCommand (const UicCommand & other)
bool operator!= (const UicCommand & other)
::fuchsia_hardware_ufs::UicCommandOpcode opcode ()

Opcode of the UIC command to be dispatched to the local UIC layer.

::fuchsia_hardware_ufs::UicCommandOpcode & opcode ()

Opcode of the UIC command to be dispatched to the local UIC layer.

UicCommand & opcode (::fuchsia_hardware_ufs::UicCommandOpcode value)

Opcode of the UIC command to be dispatched to the local UIC layer.

const ::std::array<uint32_t, 3> & argument ()

Input parameters of the UIC command mapped to UFSHCI 3.0 UIC Command Argument

Registers (Section 5.6):

- `argument[0]`: UICCMDARG1 (Offset 94h)

- Bits [31:16]: Attribute ID (MIBattribute)

- Bits [15:0]: General Selector Index (GenSelectorIndex)

- `argument[1]`: UICCMDARG2 (Offset 98h)

- Bits [23:16]: Attribute Set Type (AttrSetType: 0 = volatile, 1 = static)

- `argument[2]`: UICCMDARG3 (Offset 9Ch)

- Bits [31:0]: Value (write value for DME_SET/DME_PEER_SET)

For DME_SET and DME_PEER_SET commands, only the volatile attribute set type (0)

and allowlisted diagnostic attributes are supported. Static configuration (1)

or non-allowlisted attributes will result in ZX_ERR_NOT_SUPPORTED.

For DME_GET and DME_PEER_GET commands, the read attribute value is returned in the

method response payload.

::std::array<uint32_t, 3> & argument ()

Input parameters of the UIC command mapped to UFSHCI 3.0 UIC Command Argument

Registers (Section 5.6):

- `argument[0]`: UICCMDARG1 (Offset 94h)

- Bits [31:16]: Attribute ID (MIBattribute)

- Bits [15:0]: General Selector Index (GenSelectorIndex)

- `argument[1]`: UICCMDARG2 (Offset 98h)

- Bits [23:16]: Attribute Set Type (AttrSetType: 0 = volatile, 1 = static)

- `argument[2]`: UICCMDARG3 (Offset 9Ch)

- Bits [31:0]: Value (write value for DME_SET/DME_PEER_SET)

For DME_SET and DME_PEER_SET commands, only the volatile attribute set type (0)

and allowlisted diagnostic attributes are supported. Static configuration (1)

or non-allowlisted attributes will result in ZX_ERR_NOT_SUPPORTED.

For DME_GET and DME_PEER_GET commands, the read attribute value is returned in the

method response payload.

UicCommand & argument (::std::array<uint32_t, 3> value)

Input parameters of the UIC command mapped to UFSHCI 3.0 UIC Command Argument

Registers (Section 5.6):

- `argument[0]`: UICCMDARG1 (Offset 94h)

- Bits [31:16]: Attribute ID (MIBattribute)

- Bits [15:0]: General Selector Index (GenSelectorIndex)

- `argument[1]`: UICCMDARG2 (Offset 98h)

- Bits [23:16]: Attribute Set Type (AttrSetType: 0 = volatile, 1 = static)

- `argument[2]`: UICCMDARG3 (Offset 9Ch)

- Bits [31:0]: Value (write value for DME_SET/DME_PEER_SET)

For DME_SET and DME_PEER_SET commands, only the volatile attribute set type (0)

and allowlisted diagnostic attributes are supported. Static configuration (1)

or non-allowlisted attributes will result in ZX_ERR_NOT_SUPPORTED.

For DME_GET and DME_PEER_GET commands, the read attribute value is returned in the

method response payload.

void UicCommand (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
UicCommand & operator= (UicCommand && )

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

UicCommand & operator= (const UicCommand & other)
bool operator== (const UicCommand & other)

Friends

class MemberVisitor
class NaturalStructCodingTraits