diff options
author | Nick Brassel <nick@tzarc.org> | 2019-06-02 09:04:09 +1000 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-01 16:04:09 -0700 |
commit | 155be34a1d2b782a73318cc507315b33cc86cc49 (patch) | |
tree | 842b3fa9e4881d18932a0e01666dec5a8144d3b2 /users/edvorakjp/edvorakjp.c | |
parent | 4f788c2ae90583f64e0cec6545a3da75a5aff0f8 (diff) |
Parameterise STM32 I2C pin modes and timing parameters. (#5671)
I2C timing parameters were seemingly set up for an STM32F303 target MCU, at a specific clock speed. This commit allows specifying the timing parameters via config.h, allowing other STM32 MCUs to be targeted, potentially at different clock frequencies.
Alternate function modes for the I2C pins are now also configurable, allowing for remapping to other pins.
Diffstat (limited to 'users/edvorakjp/edvorakjp.c')
0 files changed, 0 insertions, 0 deletions