Seesaw.SetGpioInterrupts(UInt32, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用或停用 GPIO 針腳的中斷。
public void SetGpioInterrupts (uint pins, bool enable);
member this.SetGpioInterrupts : uint32 * bool -> unit
Public Sub SetGpioInterrupts (pins As UInteger, enable As Boolean)
參數
- pins
- UInt32
32 位整數,每個針腳包含 1 位。 如果位設定為 1,則會針對相關聯的 pin 啟用中斷。
- enable
- Boolean
布林值,指出當 true 或 false 時停用時會啟用中斷。