Windows.Devices.Spi.Provider Namespace

This API exposes a Provider interface and associated classes for the user to implement for a specific controller. The SPI API needs an SPI Provider implementation to talk to the SPI controller.

Note

For info about providers, see the note at the beginning of the Windows.Devices.Gpio.Provider namespace topic.

Classes

ProviderSpiConnectionSettings

Represents the provider settings for the connection to a device.

Interfaces

ISpiControllerProvider

Represents actions common to all SPI controllers.

ISpiDeviceProvider

Represents actions common to a device connected through the SPI bus.

ISpiProvider

Represents actions common to SPI controller providers.

Enums

ProviderSpiMode

Defines the SPI communication mode. The communication mode defines the clock edge on which the master out line toggles, the master in line samples, and the signal clock's signal steady level (named SCLK). Each mode is defined with a pair of parameters called clock polarity (CPOL) and clock phase (CPHA).

ProviderSpiSharingMode

Defines the sharing mode for the SPI bus.