stm32-rs / stm32h7xx-hal

Peripheral access API for STM32H7 series microcontrollers
BSD Zero Clause License
215 stars 101 forks source link

Bugfix for I2C transaction stop conditions #402

Closed nkrackow closed 1 year ago

nkrackow commented 1 year ago

Simply wait until the busy flag is released. Now the stop condition occurs (right before the next start condition in the case of successive writereads). Fixes #401