Windows.Devices.Spi Namespace

Serial Peripheral Interface (SPI) is a high-speed interface used to communicate among integrated components on the same board.


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


SPI terminology arose in the 1980s, and so some of the language used in the standard is anachronistic. In this documentation we use the term host to refer to a device from which the clock signal originates; and peripheral to refer to a device that may use and forward the clock signal, but that doesn't originate it. Other documentation resources for SPI might use different terms for those device types, but now that you know the host's and the peripheral's relationship to the clock signal, you'll be able to easily translate between the equivalent terms.



Represents the info about a SPI bus.


Represents the settings for the connection with an SpiDevice.


Represents the SPI controller on the system.


Represents a device connected through the SPI bus.



Represents SPI device statistics common to SPI devices.



Defines the SPI communication mode. The communication mode defines the clock edge on which the host out line toggles, the host 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).

For the definition of host, see Windows.Devices.Spi namespace.


Defines the sharing mode for the SPI bus.

See also