WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

setClockPrescaler

Set the prescaler value used to control the bus speed.
Syntax
SpiBus. setClockPrescaler(prescale)
Where SpiBus is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'prescale'
The required prescaler value to be set. See SPI_CLOCK for possible values.
Returns
None
Note
This only has an effect with a hardware SPI bus - for a software SPI bus it will have no effect on the actual timings.

 

 

Valid XHTML 1.0 Transitional