Part Number: MSPM0L1116
From TRM, the reset value of this register should be 8.
After I reset I2C peripheral, I read this register value is 4, not 8.
The code I reset the I2C peripheral:
/*! Enable I2C power*/
#define I2C_EnablePower(I2Cx) SET_BIT(I2Cx->GPRCM.PWREN, I2C_PWREN_KEY_UNLOCK_W | I2C_PWREN_ENABLE_ENABLE)
/*! I2C peripheral reset*/
#define I2C_PeripheralReset(I2Cx) I2Cx->GPRCM.RSTCTL =\
(I2C_RSTCTL_KEY_UNLOCK_W | I2C_RSTCTL_RESETSTKYCLR_CLR |\
I2C_RSTCTL_RESETASSERT_ASSERT)
I2C_PeripheralReset(I2C0);
I2C_EnablePower(I2C0);
The register I read after reset:
