PwmPulsePolarity 列舉

定義

描述 PWM 訊號應該啟動的極性。

public enum class PwmPulsePolarity
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
enum class PwmPulsePolarity
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
public enum PwmPulsePolarity
var value = Windows.Devices.Pwm.PwmPulsePolarity.activeHigh
Public Enum PwmPulsePolarity
繼承
PwmPulsePolarity
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Devices.DevicesLowLevelContract (已於 v1.0 引進)

欄位

ActiveHigh 0

將 PWM 訊號設定為以作用中高狀態啟動。

ActiveLow 1

設定 PWM 訊號以作用中低狀態啟動。

適用於