My question is related to the I2C peripheral. If I assign GPIO32 and GPIO33 as SDA and SCL respectively… Can I still read the digital state of the pin using Gpio Data Register?
Example:
SDA_Pin = GpioDataRegs.GPADAT.bit.GPIO32
SCL_Pin = GpioDataRegs.GPADAT.bit.GPIO33
Basically I want to implement a reset-routine for the I2C. This routine will continuously check if SDA or SCL is stuck-low (more than 50-100ms). If this happens, I will assume that the I2C is stuck for whatever reason and then I will force a reset of the I2C peripheral and also my SW state-machines.
Regards, Bernd