-
Notifications
You must be signed in to change notification settings - Fork 115
fw i2csetspeed
Ken Sharp edited this page Dec 10, 2025
·
2 revisions
Set the clock speed of the specified I2C master channel. This function will use the highest supported clock rate that is less than or equal to the specified clock rate.
I2cSetSpeed(unsigned char channel, unsigned long speed, unsigned long* actualSpeed);channel
The I2C master channel to open.
speed
The desired clock rate in Hz.
actualSpeed
A pointer to an unsigned long that will be set the the actual baud used.
int status