The I2C module can be reset in the following
two ways:
- Through the global peripheral reset. A
device reset causes a global peripheral reset.
- By clearing the IRS
bit in the I2C mode register (ICMDR). When the global peripheral reset is removed, the
IRS bit is cleared to 0, keeping the I2C module in the reset
state.