PwmController クラス

定義

システムに接続されている PWM コントローラーを表します。

public ref class PwmController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PwmController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PwmController
Public NotInheritable Class PwmController
継承
Object Platform::Object IInspectable PwmController
属性

Windows の要件

デバイス ファミリ
Windows IoT Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Devices.DevicesLowLevelContract (v1.0 で導入)

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1511 10586 GetDefaultAsync
1703 15063 FromIdAsync
1703 15063 GetDeviceSelector
1703 15063 GetDeviceSelector(String)

プロパティ

ActualFrequency

PWM の実際の頻度を取得します。

MaxFrequency

コントローラーによって提供される最大頻度を取得します。

MinFrequency

コントローラーによって提供される最小頻度を取得します。

PinCount

システムで使用できるピンの数を取得します。

メソッド

FromIdAsync(String)

指定された DeviceInformation ID に基づいて PWM コントローラー インスタンスを初期化します。

GetControllersAsync(IPwmProvider)

システム上のすべてのコントローラーを非同期的に取得します。

GetDefaultAsync()

システム上の既定の PWM コントローラーを取得します。

GetDeviceSelector()

システム上のすべての PWM コントローラーの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、これらのコントローラーの DeviceInformation オブジェクトを取得できます。

GetDeviceSelector(String)

指定したフレンドリ名を持つ PWM コントローラーの高度なクエリ構文 (AQS) 文字列を取得します。 この文字列を DeviceInformation.FindAllAsync メソッドと共に使用して、これらのコントローラーの DeviceInformation オブジェクトを取得できます。

OpenPin(Int32)

使用するピンを開きます。

SetDesiredFrequency(Double)

PWM 周波数を設定します。

適用対象