Create a remote SPI slave device.
Namespace: IO.Objects.RemoteIOAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public Device SPI_Create(
int num,
int mode,
int wordsize,
int speed
)
Parameters
- num Int32
- SPI slave device number: 0 to 127.
- mode Int32
- SPI transfer mode: 0 to 3.
- wordsize Int32
- SPI transfer word size: 8, 16, or 32.
- speed Int32
- SPI transfer speed in bits per second.
Return Value
DeviceSPI slave device object.
Remarks The actual SPI transfer rate will be the highest
realizable rate that does not exceed the value specified in
speed.
See Also