SocketCreateSPIDevice Method |
Create a SPI slave device object instance for a given socket.
Namespace: IO.Objects.RemoteIO.mikroBUSAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.76.2
Syntaxpublic Device CreateSPIDevice(
int mode,
int wordsize,
int speed
)
Parameters
- 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 instance.
Implements
SocketCreateSPIDevice(Int32, Int32, Int32)
See Also