Commit Graph

3 Commits (master)

Author SHA1 Message Date
Adam Gausmann dc49c2b5f5 Add separate flags for I2C slave transfer in progress
Fixes ARMmbed/mbed-os#15498

Adds 2 boolean flags to the STM32 `i2c_s` object
to indicate whether a transfer is in progress,
separate from the existing "transfer pending" flags.

`i2c_slave_write`, `i2c_slave_read` and their associated callbacks
are modified to use these flags in addition to the pending flags.
The original behavior of the pending flags is preserved.
2024-03-28 10:47:59 -05:00
Jamie Smith d59c34b69b Fix compile error on static pinmap targets 2022-12-03 23:19:30 -08:00
Jamie Smith 0751932dd3 Rethink STM32 I2C v2 HAL 2022-11-27 21:14:58 -08:00