class PwmImplProtocolClient

Defined at line 112 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

Public Members

static const uint32_t kProtocolId

Public Methods

void PwmImplProtocolClient ()

Defined at line 117 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

void PwmImplProtocolClient (const pwm_impl_protocol_t * proto)

Defined at line 119 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

void PwmImplProtocolClient (zx_device_t * parent)

Defined at line 122 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

void PwmImplProtocolClient (zx_device_t * parent, const char * fragment_name)

Defined at line 133 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, PwmImplProtocolClient * result)

Create a PwmImplProtocolClient from the given parent device + "fragment".

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 147 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, const char * fragment_name, PwmImplProtocolClient * result)

Create a PwmImplProtocolClient from the given parent device.

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 162 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

void GetProto (pwm_impl_protocol_t * proto)

Defined at line 174 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

bool is_valid ()

Defined at line 178 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

void clear ()

Defined at line 181 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t GetConfig (uint32_t idx, pwm_config_t * out_config)

Gets the current config of the PWM.

|idx| : Index of requested PWM.

Defined at line 190 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t SetConfig (uint32_t idx, const pwm_config_t * config)

Sets the configurations of the PWM.

|idx| : Index of requested PWM.

|config| : Configurations.

Defined at line 198 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t Enable (uint32_t idx)

Enables the PWM.

|idx| : Index of requested PWM.

Defined at line 205 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h

zx_status_t Disable (uint32_t idx)

Disables the PWM.

|idx| : Index of requested PWM.

Defined at line 212 of file fidling/gen/sdk/banjo/fuchsia.hardware.pwm/fuchsia.hardware.pwm/banjo/cpp/fuchsia/hardware/pwm/cpp/banjo.h