Solved
What's the difference between I2C SWRST and ABPxRSTR reset
I have a bug in the I2C bus where sometimes a glitch causes the BUSY flag to be set
I found that the only ways to clear it is either by SWRST in I2C->CR1 or by resetting in RCC->ABP1RSTR->I2CxRSTR
My question is, is there any difference I should know about between these 2 types of resets or they're exactly the same?
Thank you