-
Notifications
You must be signed in to change notification settings - Fork 115
fw spisetspeed
Ken Sharp edited this page Dec 10, 2025
·
2 revisions
Set the clock speed of the specified SPI master channel. The device will uses the fastest achievable clock speed that is less than or equal to the specified speed.
SpiSetSpeed(unsigned char channel, unsigned long speed, unsigned long* actualSpeed);channel
The SPI master channel to configure.
speed
The desired clock speed in Hz.
actualSpeed
A pointer to an unsigned long which will be populated with the actual clock speed used.
int status