TsctlSPIClockSetDesc

From embeddedTS Manuals

This function changes the clock speed of the SPI bus to the given hz frequency. Depending on the hardware present, the actual frequency may be different from what is specified, however it will never be faster than the value specified.

A positive value is returned on success, and a negative value on failure.