Intel® IXP400 Software

I2C Driver (IxI2cDrv)

26.4.2Example Sequence Flows for Slave Mode

Figure 110. Sequence Flow Diagram for Slave Receive / General Call in Interrupt Mode

hardwareI2cDrv

interrupt: slave read

Client

No buffer slaveReadCallback(request buffer)

ixI2cDrvSlaveOrGenBufReplenish (memPtr,size) store buffer info

receive data into buffer

buffer full

slaveReadCallback(send cur buf, request new buf)

ixI2cDrvSlaveOrGenBufReplenish (memPtr,size) store buffer info

receive data into buffer

receive complete slaveReadCallback(send buffer)

return

clear interrupt

obtain memory buffer

process data

obtain memory buffer

process data

B4375-01

April 2005

IXP400 Software Version 2.0

Programmer’s Guide

336

Document Number: 252539, Revision: 007

 

Page 336
Image 336
Intel IXP400 manual Example Sequence Flows for Slave Mode