|
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
|
▷ |