www.ti.com
SRIO Functional Description
Figure 24. RX Buffer Descriptor
Descriptor
Buffer
Descriptor
Buffer
Rx
Pointer
Port State
TX Buffer Descriptor
CSL_FMK( | SRIO_TXDESC0_N_POINTER,(int )TX_DESCP0_1 ); | |
| //link to TX_DESCP0_1 | |
| //NDP |
|
CSL_FMK( SRIO_TXDESC1_B_POINTER,(int )&xmtBuff1[0] ); | ||
| //Buffer Pointer | |
CSL_FMK( SRIO_TXDESC2_DESTID, 0xBEEF) | ||
| CSL_FMK( SRIO_TXDESC2_PRI, 1) | |
| CSL_FMK( SRIO_TXDESC2_TT, 1) | |
| CSL_FMK( SRIO_TXDESC2_PORTID, 3) | |
| CSL_FMK( SRIO_TXDESC2_SSIZE, SSIZE_256B) | |
| CSL_FMK( SRIO_TXDESC2_MAILBOX, 0); | |
CSL_FMK( SRIO_TXDESC3_SOP,1 ) | ||
| CSL_FMK( SRIO_TXDESC3_EOP,1 ) | |
| CSL_FMK( SRIO_TXDESC3_OWNERSHIP,1 ) | |
| CSL_FMK( SRIO_TXDESC3_EOQ,1 ) | |
| CSL_FMK( SRIO_TXDESC3_TEARDOWN,0 ) | |
| CSL_FMK( SRIO_TXDESC3_RETRY_COUNT,0 ) | |
| CSL_FMK( SRIO_TXDESC3_CC,0 ) | |
| CSL_FMK( SRIO_TXDESC3_MESSAGE_LENGTH,MLEN_512DW ); | |
CSL_FMK( SRIO_TXDESC0_N_POINTER, 0); | ||
| //end of message | |
| //poll mode, extended address type 2,5,6 | |
CSL_FMK( SRIO_TXDESC1_B_POINTER,(int )&xmtBuff2[0] ); | ||
| //32bit = type 2,5,6. 24bit = type 8 | |
CSL_FMK( SRIO_TXDESC2_DESTID, 0xBEEF) | ||
| CSL_FMK( SRIO_TXDESC2_PRI, 1) | |
| CSL_FMK( SRIO_TXDESC2_TT, 1) | |
| CSL_FMK( SRIO_TXDESC2_PORTID, 3) | |
| CSL_FMK( SRIO_TXDESC2_SSIZE, SSIZE_256B) | |
| CSL_FMK( SRIO_TXDESC2_MAILBOX, 1); | |
CSL_FMK( SRIO_TXDESC3_SOP,1 ) | ||
| CSL_FMK( SRIO_TXDESC3_EOP,1 ) | |
| CSL_FMK( SRIO_TXDESC3_OWNERSHIP,1 ) | |
| CSL_FMK( SRIO_TXDESC3_EOQ,1 ) | |
| CSL_FMK( SRIO_TXDESC3_TEARDOWN,0 ) | |
| CSL_FMK( SRIO_TXDESC3_RETRY_COUNT,0 ) | |
| CSL_FMK( SRIO_TXDESC3_CC,0 ) | |
| CSL_FMK( SRIO_TXDESC3_MESSAGE_LENGTH,MLEN_512DW ); |
SPRU976 | Serial RapidIO (SRIO) | 57 |