Fixed an increment value.
Fixed the arguments order and Added the functions for SPI4.
Moved the definitions for SPI.