-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu/stm32: allow arbitrary I2C clocks
This adds support for using arbitrary I2C clock speeds for the I2C peripheral implemented in i2c_2.c. The other variant implemented in i2c_1.c already supported this. As a nice side effect the API now is the same on an ABI level and we no longer need to different `i2c_clock_t`.
- Loading branch information
Showing
2 changed files
with
41 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters