Mcp23x1x 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController) | |
Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController, Boolean) |
建構 Mcp23x1x 實例 |
Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController)
protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController masterController);
new Iot.Device.Mcp23xxx.Mcp23x1x : Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter * int * int * int * System.Device.Gpio.GpioController -> Iot.Device.Mcp23xxx.Mcp23x1x
Protected Sub New (device As Mcp23xxx.BusAdapter, reset As Integer, interruptA As Integer, interruptB As Integer, masterController As GpioController)
參數
- device
- Mcp23xxx.BusAdapter
- reset
- Int32
- interruptA
- Int32
- interruptB
- Int32
- masterController
- GpioController
適用於
Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController, Boolean)
建構 Mcp23x1x 實例
protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController? controller, bool shouldDispose = true);
new Iot.Device.Mcp23xxx.Mcp23x1x : Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter * int * int * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Mcp23xxx.Mcp23x1x
Protected Sub New (device As Mcp23xxx.BusAdapter, reset As Integer, interruptA As Integer, interruptB As Integer, controller As GpioController, Optional shouldDispose As Boolean = true)
參數
- device
- Mcp23xxx.BusAdapter
用來與裝置通訊的 I2C 裝置
- reset
- Int32
重設針腳
- interruptA
- Int32
中斷針腳
- interruptB
- Int32
中斷 B 針腳
- controller
- GpioController
GpioController與 reset
interruptA
和 interruptB
針腳相關的
- shouldDispose
- Boolean
True 是表示 處置 Gpio 控制器