共用方式為


Seesaw.SetGpioInterrupts(UInt32, Boolean) 方法

定義

啟用或停用 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 時停用時會啟用中斷。

適用於