SpiConnectionSettings(Int32, Int32) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SpiConnectionSettings 類別的新執行個體。
public SpiConnectionSettings (int busId, int chipSelectLine);
public SpiConnectionSettings (int busId, int chipSelectLine = -1);
new System.Device.Spi.SpiConnectionSettings : int * int -> System.Device.Spi.SpiConnectionSettings
Public Sub New (busId As Integer, chipSelectLine As Integer)
Public Sub New (busId As Integer, Optional chipSelectLine As Integer = -1)
參數
- busId
- Int32
裝置所連線的匯流排識別碼。
- chipSelectLine
- Int32
在匯流排上使用的晶片選取線路。 選擇性,如果未使用 ,則為 -1