Commit Graph

5 Commits (dc49c2b5f55ac061d0e65a64faab1025307fc5c5)

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
Mathieu Othacehe 3c0c9c2b33
STM32: increase i2c slave rx limit.
Use uint16_t variables for i2c slave_rx_buffer_size and slave_rx_count
variables. This allows to receive more than 255 bytes in slave mode. The
bytes are received one by one in slave mode so there are no hardware
limitations forcing a 1 byte rx count limit.
2022-01-28 11:58:52 +01:00
pennam cd35063694 Add missing changes in objects.h file for others STM32 components 2021-06-03 10:12:04 +02:00
jeromecoutant 898439930a STM32L1 : license header alignment 2021-03-09 12:33:25 +01:00
jeromecoutant 6b57fd48a8 STM32L1 : targets restructuration
- alignment with other STM32 families
2021-03-09 12:32:42 +01:00