paCmdCopy_t Struct Reference
[PA LLD Data Structures]

Copy Command. More...

#include <pa.h>

Data Fields

uint16_t ctrlBitfield
uint16_t srcOffset
uint16_t destOffset
uint16_t numBytes

Detailed Description

Copy Command.

paCmdCopy_t is used to define how to copy number of bytes from the data packet to the descriptor. The copy command is used to instruct the PASS to copy up to 8 byte from packet to the PS info section in the packet descriptor in the from-network direction. If the desired copy area crosses over the packet boundary, then garbage data will be copied.

Note:
: There are 20-byte packet information stored in the PS Info section. It is recommended to copy packet data after the packet information area. Otherwise, the packet information will be overwritten. There are upto 12 bytes can be copied with the packet information or upto 32 bytes can be copied without the packet information.

Field Documentation

Copy operation control information as defined at PA Copy Command Control Info Bit Definitions

Offset from the top of the PSInfo for the data to be copied to

Number of bytes to be copied

Offset from the start of current protocol header for the data copy to begin


The documentation for this struct was generated from the following file:

Copyright 2012, Texas Instruments Incorporated