Skip to content
Commit c7cbe917 authored by Francois Ramu's avatar Francois Ramu Committed by Mahesh Mahadevan
Browse files

drivers: i2c: stm32 I2C V2 handles i2c_target processed_cb return code



Check the return code of the i2c_target_read/write callback function
is 0 before continuing the transmit/receive operation on I2C target
When Transmitting: 0 if data has been provided, then continue
When address matches: 0 if the write is accepted or
if more data can be requested depending on the transfer direction.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent fe56ce5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment