embassy icon indicating copy to clipboard operation
embassy copied to clipboard

stm32/i2c: try to unify v1, v2.

Open Dirbaio opened this issue 3 years ago • 0 comments

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.

Dirbaio avatar Feb 13 '22 20:02 Dirbaio