class InterruptModes

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

Returned by |GetInterruptModes|. Contains the number of interrupts supported

by a given PCI device interrupt mode. 0 is returned for a mode if

unsupported.

Public Methods

void InterruptModes (Storage_ storage)
void InterruptModes (bool has_legacy, uint8_t msi_count, uint16_t msix_count)
void InterruptModes ()

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

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

void InterruptModes (InterruptModes && )

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

void InterruptModes (const InterruptModes & other)
InterruptModes & operator= (InterruptModes && )

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

InterruptModes & operator= (const InterruptModes & other)
bool operator== (const InterruptModes & other)
bool operator!= (const InterruptModes & other)
bool has_legacy ()

|True| if the device supports a legacy interrupt.

bool & has_legacy ()

|True| if the device supports a legacy interrupt.

InterruptModes & has_legacy (bool value)

|True| if the device supports a legacy interrupt.

uint8_t msi_count ()

The number of Message-Signaled interrupted supported. Will be in the

range of [0, 0x8) depending on device support.

uint8_t & msi_count ()

The number of Message-Signaled interrupted supported. Will be in the

range of [0, 0x8) depending on device support.

InterruptModes & msi_count (uint8_t value)

The number of Message-Signaled interrupted supported. Will be in the

range of [0, 0x8) depending on device support.

uint16_t msix_count ()

The number of MSI-X interrupts supported. Will be in the range of [0,

0x800), depending on device and platform support.

uint16_t & msix_count ()

The number of MSI-X interrupts supported. Will be in the range of [0,

0x800), depending on device and platform support.

InterruptModes & msix_count (uint16_t value)

The number of MSI-X interrupts supported. Will be in the range of [0,

0x800), depending on device and platform support.

void InterruptModes (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits