class PwmChannelInfo
Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_pwm::wire::PwmChannelInfo> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_pwm::wire::PwmChannelInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_pwm::wire::PwmChannelInfo>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void PwmChannelInfo ()
Defined at line 107 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
void PwmChannelInfo (const PwmChannelInfo & other)
Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
uint32_t & id ()
Unique id of PWM channel.
bool has_id ()
bool has_polarity ()
PwmChannelInfo & operator= (const PwmChannelInfo & other)
Defined at line 109 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
void PwmChannelInfo (PwmChannelInfo && other)
Defined at line 110 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
PwmChannelInfo & operator= (PwmChannelInfo && other)
Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
bool & skip_init ()
If true, the PWM channel will NOT be initialized. This is for use in situations where a
bootloader configuration must be preserved or the PWM channel may be under control of higher
exception level. (for a dvfs rail for example)
bool has_skip_init ()
bool & polarity ()
If true, the polarity will be inverted.
uint32_t & period_ns ()
PWM period in nanoseconds.
bool has_period_ns ()
PwmChannelInfo & set_id (uint32_t elem)
PwmChannelInfo & clear_id ()
PwmChannelInfo & set_skip_init (bool elem)
PwmChannelInfo & clear_skip_init ()
PwmChannelInfo & set_polarity (bool elem)
PwmChannelInfo & clear_polarity ()
PwmChannelInfo & set_period_ns (uint32_t elem)
PwmChannelInfo & clear_period_ns ()
void PwmChannelInfo (::fidl::AnyArena & allocator)
void PwmChannelInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_pwm::wire::PwmChannelInfo>> && 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_hardware_pwm::wire::PwmChannelInfo>> && frame_ptr)
void ~PwmChannelInfo ()
Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.hardware.pwm/fuchsia.hardware.pwm/cpp/fidl/fuchsia.hardware.pwm/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder