This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: I2C Rx, Tx Status check code

Part Number: MSPM0G3507


Tool/software:

Hello Guru,

I'd like to check I2C status. So, I referred TRM.

  

Declare variables as global variable and access the structure.

gStatus1 = (I2C_INST -> SLAVE.SSR) & (1 << 0); // Rx request check
gStatus2 = (I2C_INST -> SLAVE.SSR) & (1 << 1); // Tx request check

But it doesn't work.

Do you know how to access TREQ, RREQ(in SSR)? or another way to check Rx, Tx request?