class MatrixGpioButton

Defined at line 844 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

Configuration for a matrix gpio button.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_buttons::wire::MatrixGpioButton> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_buttons::wire::MatrixGpioButton> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::MatrixGpioButton>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void MatrixGpioButton ()

Defined at line 846 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

void MatrixGpioButton (const MatrixGpioButton & other)

Defined at line 847 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

MatrixGpioButton & operator= (const MatrixGpioButton & other)

Defined at line 848 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

void MatrixGpioButton (MatrixGpioButton && other)

Defined at line 849 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

uint8_t & gpio_b_index ()

Index of gpio B (column) used. Gpio type must be `GpioType::matrix_output` (is driven most

of the time) and gpio A (row) must be `GpioType::interrupt` (triggers an interrupt most of

the time). During matrix scans columns are floated and rows are read.

bool has_gpio_b_index ()
MatrixGpioButton & operator= (MatrixGpioButton && other)

Defined at line 850 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

MatrixGpioButton & set_gpio_b_index (uint8_t elem)
MatrixGpioButton & clear_gpio_b_index ()
void MatrixGpioButton (::fidl::AnyArena & allocator)
void MatrixGpioButton (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::MatrixGpioButton>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::MatrixGpioButton>> && frame_ptr)
void ~MatrixGpioButton ()

Defined at line 852 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder