spiSetClock function added