title: Why Different modes are provided in SPI communication?
body: <p>I am reading various documents over the internet, and find some data and communication mechanism about how SPI protocol works.
  but I am unable to find the logic behind separating the modes in SPI communication means why there are four modes are provided in SPI communication?</p>