diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-22 14:44:15 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-22 15:07:08 -0400 |
commit | 7645bf2d485a74e11ae55fe1f281ff68fc49290f (patch) | |
tree | 7178381157a4a2a85f2b8b5ea784a7629c02b3ee /examples | |
parent | 929ef7192a497c7b6dc9d72c8bf455dc152dffbc (diff) | |
download | librambutan-7645bf2d485a74e11ae55fe1f281ff68fc49290f.tar.gz librambutan-7645bf2d485a74e11ae55fe1f281ff68fc49290f.zip |
I2C: Move CCR/TRISE config helper back to libmaple/i2c.c.
We can implement it in terms of _i2c_bus_clk() instead of hard-coding
STM32_PCLK1.
This might be overkill, since I2C peripherals are slow and thus likely
to be on APB1 for all STM32 devices (that is the case for F2/F4, for
instance), but if we're going to have _i2c_bus_clk(), we might as well
respect it.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions