ISpiDeviceProvider Interface
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.
Represents actions common to a device connected through the SPI bus.
public interface class ISpiDeviceProvider : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(219952195, 12363, 16476, 180, 247, 245, 171, 16, 116, 70, 30)]
struct ISpiDeviceProvider : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.Guid(219952195, 12363, 16476, 180, 247, 245, 171, 16, 116, 70, 30)]
public interface ISpiDeviceProvider : System.IDisposable
Public Interface ISpiDeviceProvider
Implements IDisposable
- Attributes
- Implements
Windows requirements
Device family |
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0) |
API contract |
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)
|
Properties
ConnectionSettings |
Gets the connection settings for the device. |
DeviceId |
Gets the unique ID associated with the device. |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Read(Byte[]) |
Reads from the connected device. |
TransferFullDuplex(Byte[], Byte[]) |
Transfer data using a full duplex communication system. Full duplex allows both the host and the peripheral to communicate simultaneously. For definitions of host and peripheral, see Windows.Devices.Spi namespace. |
TransferSequential(Byte[], Byte[]) |
Transfer data sequentially to the device. |
Write(Byte[]) |
Writes to the connected device. |