beautypg.com

Texas Instruments TMS320TCI648x User Manual

Page 101

background image

www.ti.com

Interrupt Conditions

Interrupt Handler

temp1 = SRIO_REGS->TX_CPPI_ICSR;

if ((temp1 & 0x00000001) == 0x00000001)

{

SRIO_REGS->Queue0_TXDMA_CP = (int )TX_DESCP0_0;

}

temp2 = SRIO_REGS->RX_CPPI_ICSR;

if ((temp2 & 0x00000001) == 0x00000001)

{

SRIO_REGS->Queue0_RXDMA_CP = (int )RX_DESCP0_0;

}

SRIO_REGS->DOORBELL0_ICCR=0xFFFFFFFF;

SRIO_REGS->DOORBELL1_ICCR=0xFFFFFFFF;

SRIO_REGS->DOORBELL2_ICCR=0xFFFFFFFF;

SRIO_REGS->DOORBELL3_ICCR=0xFFFFFFFF;

SRIO_REGS->INTDST0_Rate_CNTL=1;

SPRUE13A – September 2006

Serial RapidIO (SRIO)

101

Submit Documentation Feedback