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
Actual |
Gets the actual frequency of the PWM. |
Max |
Gets the maximum frequency offered by the controller. |
Min |
Gets the minimum frequency offered by the controller. |
Pin |
Gets the number of PWM pins available on the system. |
Methods
Acquire |
Acquires the specified pin and opens that pin for use. |
Disable |
Stops the PWM on this pin. |
Enable |
Starts the PWM signal on the specified pin. |
Release |
Releases connection to specified pin and makes that pin available to others. |
Set |
Sets the desired PWM frequency. |
Set |
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 |