-api-id | -api-type |
---|---|
T:Windows.Devices.Spi.SpiMode |
winrt enum |
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.
CPOL = 0, CPHA = 0.
CPOL = 0, CPHA = 1.
CPOL = 1, CPHA = 0.
CPOL = 1, CPHA = 1.