-
Notifications
You must be signed in to change notification settings - Fork 114
spisetspeed
Ken Sharp edited this page Dec 8, 2023
·
1 revision
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