Hi Champ,
May I consult how to recognize the received bytes in repeated START when coding in I2C ?
My thought is to determine the AAS bit in I2CSTR Register is cleared to 0 in 7-bit addressing mode every time when receiving a repeated START.
When checking the AAS bit turns 0 to 1, I could tell this is a address byte. May I correct ?
Is there another way to recognize the received bytes is an address byte or a data byte when coding ?
Second question is if the way works, what about 10-bit addressing mode ?
The datasheet doesn't show the AAS bit cleared to 0 when receiving a repeated START. Or is the datasheet missing writing this?
Thanks
BR, Johnny