mode2 Constant

Top  Previous  Next

Gets the constant used to select SPI mode 2.

Syntax

Cell.SPI.mode2

Value

The constant used to select SPI mode 2.

Remarks

SPI mode 2 signifies that the SCK idles in the high state, and data is sampled on leading (falling) edge.

 

This constant is a bit field that must be combined with values for other configuration parameters before assigning it to the config property.

See Also

config Property