GetSpiPins Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the GPIO pin assignments for the SPI device.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Overridable Sub GetSpiPins ( _
spi_mod As SPI.SPI_module, _
<OutAttribute> ByRef msk As Cpu.Pin, _
<OutAttribute> ByRef miso As Cpu.Pin, _
<OutAttribute> ByRef mosi As Cpu.Pin _
)
public virtual void GetSpiPins(
SPI.SPI_module spi_mod,
out Cpu.Pin msk,
out Cpu.Pin miso,
out Cpu.Pin mosi
)
public:
virtual void GetSpiPins(
SPI::SPI_module spi_mod,
[OutAttribute] Cpu::Pin% msk,
[OutAttribute] Cpu::Pin% miso,
[OutAttribute] Cpu::Pin% mosi
)
abstract GetSpiPins :
spi_mod:SPI.SPI_module *
msk:Cpu.Pin byref *
miso:Cpu.Pin byref *
mosi:Cpu.Pin byref -> unit
override GetSpiPins :
spi_mod:SPI.SPI_module *
msk:Cpu.Pin byref *
miso:Cpu.Pin byref *
mosi:Cpu.Pin byref -> unit
public function GetSpiPins(
spi_mod : SPI..::..SPI_module,
msk : Cpu..::..Pin,
miso : Cpu..::..Pin,
mosi : Cpu..::..Pin
)
Parameters
- spi_mod
Type: Microsoft.SPOT.Hardware. . :: . .SPI. . :: . .SPI_module
A value that identifies which SPI bus is used.
- msk
Type: Microsoft.SPOT.Hardware. . :: . .Cpu. . :: . .Pin%
A value that identifies the GPIO pin that is assigned to the SPI clock.
- miso
Type: Microsoft.SPOT.Hardware. . :: . .Cpu. . :: . .Pin%
A value that identifies the GPIO pin that is assigned to the SPI master-data-in/slave-data-out signal.
- mosi
Type: Microsoft.SPOT.Hardware. . :: . .Cpu. . :: . .Pin%
A value that identifies the GPIO pin that is assigned to the SPI master-data-out/slave-data-in signal.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.