embassy
embassy copied to clipboard
stm32/i2c: try to unify v1, v2.
Recently we've unified most basic drivers like usart, spi across different peripheral versions, adding cfg's as needed. It turned out to be a good thing, considerably reducing code duplication.
i2c v1 and v2 look quite different, but perhaps it's still worth it to try to unify them.