Skip to content
Snippets Groups Projects
user avatar
David Sidrane authored
stm32:stm32f40xxx I2C ensure proper isr handling

Injecting data errors that causes a STOP to be perceived by the
   driver, will continually re-enter the isr with SB not set and BTF
   and RxNE set.  This changes allows the interrupts to
   be cleared and  propagates a I2C_SR1_TIMEOUT to the waiting task.

Approved-by: default avatarGregory Nutt <gnutt@nuttx.org>
a3364b5b
History
Name Last commit Last update