Share via


IPwmControllerProvider Interface

Definition

Represents properties and methods common to all PWM controllers.

[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.Guid(318789947, 58083, 16548, 183, 217, 72, 223, 240, 55, 122, 82)]
public interface IPwmControllerProvider
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v1.0)

Properties

ActualFrequency

Gets the actual frequency of the PWM.

MaxFrequency

Gets the maximum frequency offered by the controller.

MinFrequency

Gets the minimum frequency offered by the controller.

PinCount

Gets the number of PWM pins available on the system.

Methods

AcquirePin(Int32)

Acquires the specified pin and opens that pin for use.

DisablePin(Int32)

Stops the PWM on this pin.

EnablePin(Int32)

Starts the PWM signal on the specified pin.

ReleasePin(Int32)

Releases connection to specified pin and makes that pin available to others.

SetDesiredFrequency(Double)

Sets the desired PWM frequency.

SetPulseParameters(Int32, Double, Boolean)

Sets the PWM parameters for pin, duty cycle, and polarity.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100