SpiConnectionSettings(Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SpiConnectionSettings class.
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)
Parameters
- busId
- Int32
The bus ID the device is connected to.
- chipSelectLine
- Int32
The chip select line used on the bus. Optional, -1 if not used