2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
2.2 BSP Rel. 1.0 for PPMC-275 Programmer's Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
List of APIs API Call Reference<br />
Table 7:SDMA Driver Structure: TX_COMMAND (cont.)<br />
Macro Field Description<br />
LAST L Indicates last buffer of a<br />
packet.<br />
ERROR_SUM<br />
MARY<br />
ES ES = LC or UR or RL<br />
Set by the device to indicate<br />
an error event that occurred<br />
during packet the packet.<br />
NOTE: Valid only if L (bit<br />
16) is set. These bits have<br />
different meanings <strong>for</strong> each<br />
protocol. See the MV-64360<br />
specifications <strong>for</strong> details.<br />
bites14_0<br />
Table 8:SDMA Driver Structure: RX_DESC<br />
Macro Field Bit Width Description<br />
UINT Bufsize 16 When set to ‘1’ the buffer is<br />
is “owned” by the device.<br />
When set to ‘0’ the buffer is<br />
owned by the CPU.<br />
UINT bytecnt 16 When the descriptor is<br />
closed this field is written<br />
by the device with a value<br />
indicating number of bytes<br />
actually written by the<br />
DMA in to the buffer.<br />
RX_COMMAND cmd_sts 32<br />
UINT next_desc<br />
_ptr<br />
32 32-bit Next Descriptor<br />
Pointer to the Beginning of<br />
Next Descriptor Bits [3:0]<br />
must be set to 0. DMA<br />
operation is stopped when<br />
a NULL value in the Next<br />
Descriptor Pointer field is<br />
encountered.<br />
5 - 50 VxWorks 5.5/Tornado <strong>2.2</strong> <strong>BSP</strong> <strong>Rel</strong>. <strong>1.0</strong> <strong>for</strong> <strong>PPMC</strong>-<strong>275</strong>