The clock polarity and phase pair an SPI mode number names.
Whether data is sampled on the trailing edge (CPHA = 1), which is modes 1 and 3.
Whether the clock idles high (CPOL = 1), which is modes 2 and 3.
The clock polarity and phase pair an SPI mode number names.