IPwmControllerProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents properties and methods common to all PWM controllers.
public interface class IPwmControllerProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(318789947, 58083, 16548, 183, 217, 72, 223, 240, 55, 122, 82)]
struct IPwmControllerProvider
[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
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. |