Share via


ISpiDeviceProvider 인터페이스

정의

SPI 버스를 통해 연결된 디바이스에 공통적인 작업을 나타냅니다.

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
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows IoT Extension SDK (10.0.10586.0에서 도입되었습니다.)
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Devices.DevicesLowLevelContract (v2.0에서 도입되었습니다.)

속성

ConnectionSettings

디바이스에 대한 연결 설정을 가져옵니다.

DeviceId

디바이스와 연결된 고유 ID를 가져옵니다.

메서드

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

Read(Byte[])

연결된 디바이스에서 읽습니다.

TransferFullDuplex(Byte[], Byte[])

전체 이중 통신 시스템을 사용하여 데이터를 전송합니다. 전체 이중을 사용하면 호스트와 주변 장치가 동시에 통신할 수 있습니다.

호스트주변 장치에 대한 정의는 Windows.Devices.Spi 네임스페이스를 참조하세요.

TransferSequential(Byte[], Byte[])

디바이스에 순차적으로 데이터를 전송합니다.

Write(Byte[])

연결된 디바이스에 씁니다.

적용 대상

추가 정보