class GpioFlag
Defined at line 20 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
Flags for configuriung gpio pin.
|GpioFlag| is flexible, hence may contain unknown members not
defined in the FIDL schema.
Public Members
static GpioFlag kInverted
static GpioFlag kMask
Public Methods
void GpioFlag ()
Defined at line 22 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
void GpioFlag (uint32_t value)
Constructs an instance of |GpioFlag| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 26 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
uint32_t operator unsigned int ()
Defined at line 30 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
bool operator bool ()
Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
bool operator== (const GpioFlag & other)
Defined at line 32 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
bool operator!= (const GpioFlag & other)
Defined at line 33 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
std::optional<GpioFlag> TryFrom (uint32_t value)
Constructs an instance of |GpioFlag| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 47 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag TruncatingUnknown (uint32_t value)
Constructs an instance of |GpioFlag| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 56 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag unknown_bits ()
Defined at line 59 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
bool has_unknown_bits ()
Defined at line 62 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag operator~ ()
Defined at line 71 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag operator| (const GpioFlag & other)
Defined at line 75 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag operator& (const GpioFlag & other)
Defined at line 80 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag operator^ (const GpioFlag & other)
Defined at line 85 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
GpioFlag operator- (const GpioFlag & other)
Defined at line 90 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
void operator|= (const GpioFlag & other)
Defined at line 95 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
void operator&= (const GpioFlag & other)
Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
void operator^= (const GpioFlag & other)
Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h
void operator-= (const GpioFlag & other)
Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/common_types.h