RaspberryPiBoard.GetOverlayPinAssignmentForSpi(SpiConnectionSettings) Method
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.
Gets the overlay pin assignment for Spi.
public int[] GetOverlayPinAssignmentForSpi(System.Device.Spi.SpiConnectionSettings connectionSettings);
member this.GetOverlayPinAssignmentForSpi : System.Device.Spi.SpiConnectionSettings -> int[]
Public Function GetOverlayPinAssignmentForSpi (connectionSettings As SpiConnectionSettings) As Integer()
Parameters
- connectionSettings
- SpiConnectionSettings
Connection settings to check.
Returns
The set of pins for the given SPI bus. If no miso, it will be marked as -1.