littlekernel / lk

LK embedded kernel
MIT License
3.14k stars 615 forks source link

[stm32f0xx] Fix i2c stop and repeated start handling. #210

Closed konkers closed 6 years ago

konkers commented 6 years ago

We need to look at the TC status bit to know that a transaction has ended. This has the added benefit of cleaning up REG and TX handling.