Skip to content
Commit 02a46e71 authored by Daniel Wagenknecht's avatar Daniel Wagenknecht Committed by Kumar Gala
Browse files

drivers: i2c_ll_stm32_v2: don't use while loops in interrupt mode



Waiting for transfer complete and stop condition uses while loops
even when interrupt mode is enabled.
Implement use of TC, TCR and STOP interrupt for interrupt mode.
msg_done is not needed in interrupt mode anymore, so move it
to non-interrupt section
Tested with stm32f3_disco board.

Signed-off-by: default avatarDaniel Wagenknecht <wagenknecht@clage.de>
parent 5380bc59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment