Intel® IXP400 Software

I2C Driver (IxI2cDrv)

Figure 111. Sequence Flow Diagram for Slave Transmit in Interrupt Mode

hardware

 

I2cDrv

 

 

 

interrupt: slave write

client

No buffer

slaveWriteCallback (request buf)

ixI2cDrvSlaveOrGenBufReplenish (memPtr,size) store buffer info

transmit data from buffer

buffer empty

slaveWriteCallback (send cur buf, request new buf)

ixI2cDrvSlaveOrGenBufReplenish (memPtr,size) store buffer info

transmit data from buffer

transmit complete slaveWriteCallback(send buf)

return

clear interrupt

obtain memory buffer store data into buffer

reuse buffer

store data into buffer

return memory

B4376-01

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

337

Page 337
Image 337
Intel IXP400 manual Sequence Flow Diagram for Slave Transmit in Interrupt Mode