HardwareProvider.GetSpiPins Method
Gets the GPIO pin assignments for the SPI device.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public virtual void GetSpiPins (
SPI_module spi_mod,
Pin msk,
Pin miso,
Pin mosi
)
Parameters
- spi_mod
A member of the SPI.SPI_module enumeration that identifies which SPI bus is used. - msk
A value of the Cpu.Pin enumeration that identifies the GPIO pin that is assigned to the SPI clock. - miso
A value of the Cpu.Pin enumeration that identifies the GPIO pin that is assigned to the SPI master-data-in/slave-data-out signal. - mosi
A value of the Cpu.Pin enumeration that identifies the GPIO pin that is assigned to the SPI master-data-out/slave-data-in signal.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
HardwareProvider Class
HardwareProvider Members
Microsoft.SPOT.Hardware Namespace