English
Language : 

UPSD3422_06 Datasheet, PDF (133/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
I2C interface
Does status.TX_MODE = 1?
If Yes, Master wants transmit mode
– Exit ISR, indicate Master wants Slv-Xmit mode
If No, Master wants Slave-Recv mode
– dummy = S1DAT, read to release bus
– Exit ISR, ready to recv data on next interrupt
C: (Interrupt is from Slv receiving data from Mastr)
– recv_buf[buffer_index] = S1DAT, read byte
– Exit ISR, recv next byte on next interrupt
133/293