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