Share via


Windows.Devices.Spi Namespace

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

Note

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

Important

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.

Classes

SpiBusInfo

Represents the info about a SPI bus.

SpiConnectionSettings

Represents the settings for the connection with an SpiDevice.

SpiController

Represents the SPI controller on the system.

SpiDevice

Represents a device connected through the SPI bus.

Interfaces

ISpiDeviceStatics

Represents SPI device statistics common to SPI devices.

Enums

SpiMode

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.

SpiSharingMode

Defines the sharing mode for the SPI bus.

See also